Home
last modified time | relevance | path

Searched full:vadc (Results 1 – 25 of 42) sorted by relevance

12

/OK3568_Linux_fs/kernel/drivers/iio/adc/
H A Dqcom-spmi-vadc.c21 #include <dt-bindings/iio/qcom,spmi-vadc.h>
23 #include "qcom-vadc-common.h"
25 /* VADC register and bit definitions */
76 * struct vadc_channel_prop - VADC channel property.
99 * struct vadc_priv - VADC private structure.
103 * @nchannels: number of VADC channels.
104 * @chan_props: array of VADC channel properties.
108 * @complete: VADC result notification after interrupt is received.
137 static int vadc_read(struct vadc_priv *vadc, u16 offset, u8 *data) in vadc_read() argument
139 return regmap_bulk_read(vadc->regmap, vadc->base + offset, data, 1); in vadc_read()
[all …]
H A DMakefile78 obj-$(CONFIG_QCOM_VADC_COMMON) += qcom-vadc-common.o
79 obj-$(CONFIG_QCOM_SPMI_VADC) += qcom-spmi-vadc.o
H A Dqcom-spmi-adc5.c21 #include <dt-bindings/iio/qcom,spmi-vadc.h>
22 #include "qcom-vadc-common.h"
74 * samples and measurements queued across different VADC peripherals.
H A DKconfig814 This is the IIO Voltage ADC driver for Qualcomm QPNP VADC Chip.
816 The driver supports multiple channels read. The VADC is a 15-bit
821 be called qcom-spmi-vadc.
H A Dqcom-vadc-common.c11 #include "qcom-vadc-common.h"
H A Dqcom-pm8xxx-xoadc.c24 #include "qcom-vadc-common.h"
H A Dab8500-gpadc.c12 * VinVADC, and VADC relative to GND to do its job. It monitors main and backup
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/iio/adc/
H A Dqcom,spmi-vadc.yaml4 $id: http://devicetree.org/schemas/iio/adc/qcom,spmi-vadc.yaml#
14 SPMI PMIC voltage ADC (VADC) provides interface to clients to read
15 voltage. The VADC is a 15-bit sigma-delta ADC.
17 voltage. The VADC is a 16-bit sigma-delta ADC.
28 - qcom,spmi-vadc
34 description: VADC base address in the SPMI PMIC register map
65 For compatible property "qcom,spmi-vadc" following channels, also known as
75 See include/dt-bindings/iio/qcom,spmi-vadc.h
96 fed to VADC. The configuration for this node is to know the
114 - For compatible property "qcom,spmi-vadc", if this property is
[all …]
H A Dqcom,pm8xxx-xoadc.txt85 VADC will use a special voltage references for channel
/OK3568_Linux_fs/kernel/arch/arm/boot/dts/
H A Dqcom-pma8084.dtsi2 #include <dt-bindings/iio/qcom,spmi-vadc.h>
64 pma8084_vadc: vadc@3100 {
65 compatible = "qcom,spmi-vadc";
H A Dqcom-pm8941.dtsi2 #include <dt-bindings/iio/qcom,spmi-vadc.h>
101 pm8941_vadc: vadc@3100 {
102 compatible = "qcom,spmi-vadc";
H A Dimx6sx.dtsi1293 vadc: vadc@2228000 { label
1295 reg-names = "vadc-vafe", "vadc-vdec";
1298 clock-names = "vadc", "csi";
/OK3568_Linux_fs/kernel/arch/arm64/boot/dts/qcom/
H A Dpm8916.dtsi2 #include <dt-bindings/iio/qcom,spmi-vadc.h>
54 compatible = "qcom,spmi-vadc";
H A Dpm6150.dtsi4 #include <dt-bindings/iio/qcom,spmi-vadc.h>
H A Dpm8150l.dtsi7 #include <dt-bindings/iio/qcom,spmi-vadc.h>
H A Dpm8150b.dtsi7 #include <dt-bindings/iio/qcom,spmi-vadc.h>
H A Dpm8998.dtsi4 #include <dt-bindings/iio/qcom,spmi-vadc.h>
H A Dpm8150.dtsi10 #include <dt-bindings/iio/qcom,spmi-vadc.h>
H A Dpms405.dtsi6 #include <dt-bindings/iio/qcom,spmi-vadc.h>
/OK3568_Linux_fs/u-boot/arch/arm/dts/
H A Dimx6sx.dtsi1165 vadc: vadc@02228000 { label
1167 reg-names = "vadc-vafe", "vadc-vdec";
1170 clock-names = "vadc", "csi";
/OK3568_Linux_fs/kernel/drivers/clk/imx/
H A Dclk-imx6sx.c60 "vadc", "ocram", "qspi2", "m4", "enet_ahb", "lcdif2_pix",
475 …hws[IMX6SX_CLK_VADC] = imx_clk_hw_gate2("vadc", "vid_podf", base + 0x80,… in imx6sx_clocks_init()
538 /* Set parent clock for vadc */ in imx6sx_clocks_init()
H A Dclk-vf610.c421 clk[VF610_CLK_VADC] = imx_clk_gate2("vadc", "vadc_div", CCM_CCGR8, CCM_CCGRx_CGn(7)); in vf610_clocks_init()
/OK3568_Linux_fs/kernel/drivers/regulator/
H A Dab8500.c15 * VAUX1/2/3/4/5/6, VINTCORE, VADC, VUSB, VAUDIO, VAMIC1/2, VDMIC, VANA
/OK3568_Linux_fs/u-boot/drivers/power/fuel_gauge/
H A Dfg_rk818.c1603 DBG("<%s>. Iavg=%d, Vdelta=%d, Vadc=%d\n", in rk818_bat_get_ntc_res()
/OK3568_Linux_fs/kernel/drivers/power/supply/
H A Drk818_battery.c2771 DBG("<%s>. Iavg=%d, Vdelta=%d, Vadc=%d\n", in rk818_bat_get_ntc_res()

12