/openbmc/linux/Documentation/devicetree/bindings/iio/dac/ |
H A D | lltc,ltc1660.yaml | 29 vref-supply: 35 - vref-supply 49 vref-supply = <&vref_reg>;
|
/openbmc/linux/Documentation/devicetree/bindings/iio/adc/ |
H A D | ti,adc128s052.yaml | 30 vref-supply: true 38 - vref-supply 55 vref-supply = <&vdd_supply>;
|
H A D | fsl,imx7d-adc.yaml | 28 vref-supply: true 39 - vref-supply 58 vref-supply = <®_vcc_3v3_mcu>;
|
H A D | maxim,max11205.yaml | 38 vref-supply: 49 - vref-supply 66 vref-supply = <&max11205_vref>;
|
H A D | aspeed,ast2600-adc.yaml | 51 vref-supply: 55 aspeed,int-vref-microvolt: 83 aspeed,int-vref-microvolt = <2500000>; 91 aspeed,int-vref-microvolt = <2500000>;
|
H A D | maxim,max1241.yaml | 30 vref-supply: 46 - vref-supply 64 vref-supply = <&adc_vref>;
|
H A D | rockchip-saradc.yaml | 51 vref-supply: 64 - vref-supply 81 vref-supply = <&vcc18>;
|
H A D | ti,ads7924.yaml | 25 vref-supply: 71 - vref-supply 86 vref-supply = <&ads7924_reg>;
|
H A D | nxp,lpc3220-adc.yaml | 25 vref-supply: true 47 vref-supply = <&vcc>;
|
H A D | nxp,imx93-adc.yaml | 42 vref-supply: 55 - vref-supply 77 vref-supply = <®_vref_1v8>;
|
/openbmc/linux/drivers/iio/dac/ |
H A D | ti-dac5571.c | 49 struct regulator *vref; member 253 ret = regulator_get_voltage(data->vref); in dac5571_read_raw() 342 data->vref = devm_regulator_get(dev, "vref"); in dac5571_probe() 343 if (IS_ERR(data->vref)) in dac5571_probe() 344 return PTR_ERR(data->vref); in dac5571_probe() 346 ret = regulator_enable(data->vref); in dac5571_probe() 381 regulator_disable(data->vref); in dac5571_probe() 391 regulator_disable(data->vref); in dac5571_remove()
|
H A D | ad3552r.c | 715 s64 vref, tmp, common, offset, gn, gp; in ad3552r_get_custom_range() local 722 vref = 2500; in ad3552r_get_custom_range() 730 *v_max = vref + tmp; in ad3552r_get_custom_range() 735 *v_min = vref - tmp; in ad3552r_get_custom_range() 884 struct regulator *vref; in ad3552r_configure_device() local 894 if (IS_ERR(vref)) { in ad3552r_configure_device() 895 if (PTR_ERR(vref) != -ENODEV) in ad3552r_configure_device() 896 return dev_err_probe(dev, PTR_ERR(vref), in ad3552r_configure_device() 904 err = regulator_enable(vref); in ad3552r_configure_device() 912 regulator_disable(vref); in ad3552r_configure_device() [all …]
|
H A D | ad5764.c | 226 int vref; in ad5764_read_raw() local 253 vref = ad5764_get_channel_vref(st, chan->channel); in ad5764_read_raw() 254 if (vref < 0) in ad5764_read_raw() 255 return vref; in ad5764_read_raw() 257 *val = vref * 4 / 1000; in ad5764_read_raw()
|
/openbmc/linux/Documentation/devicetree/bindings/hwmon/ |
H A D | ti,ads7828.yaml | 34 vref-supply: 54 vref-supply = <&vref>;
|
H A D | adi,max31827.yaml | 30 vref-supply: 38 - vref-supply 51 vref-supply = <®_vdd>;
|
/openbmc/linux/drivers/iio/adc/ |
H A D | imx7d_adc.c | 119 struct regulator *vref; member 321 info->vref_uv = regulator_get_voltage(info->vref); in imx7d_adc_read_raw() 437 ret = regulator_enable(info->vref); in imx7d_adc_enable() 449 regulator_disable(info->vref); in imx7d_adc_enable() 466 regulator_disable(info->vref); in imx7d_adc_disable() 505 info->vref = devm_regulator_get(dev, "vref"); in imx7d_adc_probe() 506 if (IS_ERR(info->vref)) in imx7d_adc_probe() 507 return dev_err_probe(dev, PTR_ERR(info->vref), in imx7d_adc_probe()
|
H A D | lpc32xx_adc.c | 52 struct regulator *vref; member 91 *val = regulator_get_voltage(st->vref) / 1000; in lpc32xx_read_raw() 189 st->vref = devm_regulator_get(&pdev->dev, "vref"); in lpc32xx_adc_probe() 190 if (IS_ERR(st->vref)) { in lpc32xx_adc_probe()
|
H A D | vf610_adc.c | 165 struct regulator *vref; member 857 info->vref = devm_regulator_get(&pdev->dev, "vref"); in vf610_adc_probe() 858 if (IS_ERR(info->vref)) in vf610_adc_probe() 859 return PTR_ERR(info->vref); in vf610_adc_probe() 861 ret = regulator_enable(info->vref); in vf610_adc_probe() 865 info->vref_uv = regulator_get_voltage(info->vref); in vf610_adc_probe() 914 regulator_disable(info->vref); in vf610_adc_probe() 926 regulator_disable(info->vref); in vf610_adc_remove() 944 regulator_disable(info->vref); in vf610_adc_suspend() 955 ret = regulator_enable(info->vref); in vf610_adc_resume() [all …]
|
H A D | ad7124.c | 171 struct regulator *vref[4]; member 366 if (IS_ERR(st->vref[refsel])) { in ad7124_init_config_vref() 370 return PTR_ERR(st->vref[refsel]); in ad7124_init_config_vref() 634 unsigned int res, gain, full_scale, vref; in ad7124_write_raw() local 660 res = DIV_ROUND_CLOSEST(vref, full_scale); in ad7124_write_raw() 972 for (i = 0; i < ARRAY_SIZE(st->vref); i++) { in ad7124_probe() 978 if (PTR_ERR(st->vref[i]) == -ENODEV) in ad7124_probe() 980 else if (IS_ERR(st->vref[i])) in ad7124_probe() 981 return PTR_ERR(st->vref[i]); in ad7124_probe() 983 ret = regulator_enable(st->vref[i]); in ad7124_probe() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/input/touchscreen/ |
H A D | ads7846.txt | 28 ti,vref-delay-usecs vref supply delay in usecs, 0 for 29 external vref (u16). 30 ti,vref-mv The VREF voltage, in millivolts (u16). 33 ti,keep-vref-on set to keep vref on for differential
|
/openbmc/linux/drivers/hwmon/ |
H A D | adc128d818.c | 62 int vref; /* Reference voltage in mV */ member 158 val = DIV_ROUND_CLOSEST(data->in[index][nr] * data->vref, 4095); in adc128_in_show() 436 int err, vref; in adc128_probe() local 449 vref = regulator_get_voltage(regulator); in adc128_probe() 450 if (vref < 0) { in adc128_probe() 451 err = vref; in adc128_probe() 454 data->vref = DIV_ROUND_CLOSEST(vref, 1000); in adc128_probe() 456 data->vref = 2560; /* 2.56V, in mV */ in adc128_probe()
|
/openbmc/linux/arch/arm64/boot/dts/freescale/ |
H A D | imx8mq-nitrogen.dts | 61 reg_vref_0v9: regulator-vref-0v9 { 63 regulator-name = "vref-0v9"; 68 reg_vref_1v8: regulator-vref-1v8 { 70 regulator-name = "vref-1v8"; 75 reg_vref_2v5: regulator-vref-2v5 { 77 regulator-name = "vref-2v5"; 82 reg_vref_3v3: regulator-vref-3v3 { 84 regulator-name = "vref-3v3"; 89 reg_vref_5v: regulator-vref-5v { 91 regulator-name = "vref-5v";
|
/openbmc/linux/drivers/input/touchscreen/ |
H A D | ads7846.c | 188 #define READ_Y(vref) (READ_12BIT_DFR(y, 1, vref)) argument 189 #define READ_Z1(vref) (READ_12BIT_DFR(z1, 1, vref)) argument 190 #define READ_Z2(vref) (READ_12BIT_DFR(z2, 1, vref)) argument 191 #define READ_X(vref) (READ_12BIT_DFR(x, 1, vref)) argument 728 return READ_Y(vref); in ads7846_get_cmd() 730 return READ_X(vref); in ads7846_get_cmd() 734 return READ_Z1(vref); in ads7846_get_cmd() 736 return READ_Z2(vref); in ads7846_get_cmd() 1021 int vref = pdata->keep_vref_on; in ads7846_setup_spi_msg() local 1079 vref = 0; in ads7846_setup_spi_msg() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/input/ |
H A D | allwinner,sun4i-a10-lradc-keys.yaml | 40 vref-supply: 80 - vref-supply 102 vref-supply = <®_vcc3v0>;
|
/openbmc/linux/Documentation/devicetree/bindings/staging/iio/adc/ |
H A D | spear-adc.txt | 10 - vref-external: External voltage reference in milli-volts. If omitted 23 vref-external = <2500>; /* 2.5V VRef */
|