| /OK3568_Linux_fs/kernel/drivers/regulator/ |
| H A D | qcom-rpmh-regulator.c | 762 RPMH_VREG("smps1", "smp%s1", &pmic4_ftsmps426, "vdd-s1"), 763 RPMH_VREG("smps2", "smp%s2", &pmic4_ftsmps426, "vdd-s2"), 764 RPMH_VREG("smps3", "smp%s3", &pmic4_hfsmps3, "vdd-s3"), 765 RPMH_VREG("smps4", "smp%s4", &pmic4_hfsmps3, "vdd-s4"), 766 RPMH_VREG("smps5", "smp%s5", &pmic4_hfsmps3, "vdd-s5"), 767 RPMH_VREG("smps6", "smp%s6", &pmic4_ftsmps426, "vdd-s6"), 768 RPMH_VREG("smps7", "smp%s7", &pmic4_ftsmps426, "vdd-s7"), 769 RPMH_VREG("smps8", "smp%s8", &pmic4_ftsmps426, "vdd-s8"), 770 RPMH_VREG("smps9", "smp%s9", &pmic4_ftsmps426, "vdd-s9"), 771 RPMH_VREG("smps10", "smp%s10", &pmic4_ftsmps426, "vdd-s10"), [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/regulator/ |
| H A D | qcom,rpmh-regulator.txt | 57 - vdd-s1-supply 58 - vdd-s2-supply 59 - vdd-s3-supply 60 - vdd-s4-supply 66 - vdd-s5-supply 67 - vdd-s6-supply 68 - vdd-s7-supply 69 - vdd-s8-supply 70 - vdd-s9-supply 71 - vdd-s10-supply [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm64/boot/dts/qcom/ |
| H A D | sm8150-mtp.dts | 58 vdd-s1-supply = <&vph_pwr>; 59 vdd-s2-supply = <&vph_pwr>; 60 vdd-s3-supply = <&vph_pwr>; 61 vdd-s4-supply = <&vph_pwr>; 62 vdd-s5-supply = <&vph_pwr>; 63 vdd-s6-supply = <&vph_pwr>; 64 vdd-s7-supply = <&vph_pwr>; 65 vdd-s8-supply = <&vph_pwr>; 66 vdd-s9-supply = <&vph_pwr>; 67 vdd-s10-supply = <&vph_pwr>; [all …]
|
| H A D | sm8250-mtp.dts | 68 vdd-s1-supply = <&vph_pwr>; 69 vdd-s2-supply = <&vph_pwr>; 70 vdd-s3-supply = <&vph_pwr>; 71 vdd-s4-supply = <&vph_pwr>; 72 vdd-s5-supply = <&vph_pwr>; 73 vdd-s6-supply = <&vph_pwr>; 74 vdd-s7-supply = <&vph_pwr>; 75 vdd-s8-supply = <&vph_pwr>; 76 vdd-s9-supply = <&vph_pwr>; 77 vdd-s10-supply = <&vph_pwr>; [all …]
|
| H A D | sdm845-mtp.dts | 61 vdd-s1-supply = <&vph_pwr>; 62 vdd-s2-supply = <&vph_pwr>; 63 vdd-s3-supply = <&vph_pwr>; 64 vdd-s4-supply = <&vph_pwr>; 65 vdd-s5-supply = <&vph_pwr>; 66 vdd-s6-supply = <&vph_pwr>; 67 vdd-s7-supply = <&vph_pwr>; 68 vdd-s8-supply = <&vph_pwr>; 69 vdd-s9-supply = <&vph_pwr>; 70 vdd-s10-supply = <&vph_pwr>; [all …]
|
| H A D | qrb5165-rb5.dts | 120 vdd-s1-supply = <&vph_pwr>; 121 vdd-s2-supply = <&vph_pwr>; 122 vdd-l2-supply = <&vreg_s8c_1p3>; 123 vdd-l5-l6-supply = <&vreg_bob>; 124 vdd-l7-supply = <&vreg_s4a_1p8>; 166 vdd-s1-supply = <&vph_pwr>; 167 vdd-s2-supply = <&vph_pwr>; 168 vdd-s3-supply = <&vph_pwr>; 169 vdd-s4-supply = <&vph_pwr>; 170 vdd-s5-supply = <&vph_pwr>; [all …]
|
| H A D | sdm845-db845c.dts | 254 vdd-s1-supply = <&vph_pwr>; 255 vdd-s2-supply = <&vph_pwr>; 256 vdd-s3-supply = <&vph_pwr>; 257 vdd-s4-supply = <&vph_pwr>; 258 vdd-s5-supply = <&vph_pwr>; 259 vdd-s6-supply = <&vph_pwr>; 260 vdd-s7-supply = <&vph_pwr>; 261 vdd-s8-supply = <&vph_pwr>; 262 vdd-s9-supply = <&vph_pwr>; 263 vdd-s10-supply = <&vph_pwr>; [all …]
|
| H A D | sdm845-cheza.dtsi | 215 vdd-s1-supply = <&src_vph_pwr>; 216 vdd-s2-supply = <&src_vph_pwr>; 217 vdd-s3-supply = <&src_vph_pwr>; 218 vdd-s4-supply = <&src_vph_pwr>; 219 vdd-s5-supply = <&src_vph_pwr>; 220 vdd-s6-supply = <&src_vph_pwr>; 221 vdd-s7-supply = <&src_vph_pwr>; 222 vdd-s8-supply = <&src_vph_pwr>; 223 vdd-s9-supply = <&src_vph_pwr>; 224 vdd-s10-supply = <&src_vph_pwr>; [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm/vfp/ |
| H A D | vfpdouble.c | 207 vfp_propagate_nan(struct vfp_double *vdd, struct vfp_double *vdn, in vfp_propagate_nan() argument 239 *vdd = *nan; in vfp_propagate_nan() 270 struct vfp_double vdm, vdd; in vfp_double_fsqrt() local 276 struct vfp_double *vdp = &vdd; in vfp_double_fsqrt() 316 vdd.sign = 0; in vfp_double_fsqrt() 317 vdd.exponent = ((vdm.exponent - 1023) >> 1) + 1023; in vfp_double_fsqrt() 318 vdd.significand = (u64)vfp_estimate_sqrt_significand(vdm.exponent, vdm.significand >> 32) << 31; in vfp_double_fsqrt() 320 vfp_double_dump("sqrt estimate1", &vdd); in vfp_double_fsqrt() 323 vdd.significand += 2 + vfp_estimate_div128to64(vdm.significand, 0, vdd.significand); in vfp_double_fsqrt() 325 vfp_double_dump("sqrt estimate2", &vdd); in vfp_double_fsqrt() [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/sound/ |
| H A D | qcom,wcd9335.txt | 58 - vdd-buck-supply: 63 - vdd-buck-sido-supply: 68 - vdd-rx-supply: 73 - vdd-tx-supply: 78 - vdd-vbat-supply: 83 - vdd-micbias-supply: 88 - vdd-io-supply: 117 vdd-buck-supply = <&pm8994_s4>; 118 vdd-rx-supply = <&pm8994_s4>; 119 vdd-buck-sido-supply = <&pm8994_s4>; [all …]
|
| H A D | qcom,wcd934x.yaml | 39 vdd-buck-supply: 42 vdd-buck-sido-supply: 45 vdd-rx-supply: 48 vdd-tx-supply: 51 vdd-vbat-supply: 54 vdd-io-supply: 57 vdd-micbias-supply:
|
| /OK3568_Linux_fs/u-boot/doc/device-tree-bindings/adc/ |
| H A D | adc.txt | 10 - vdd-polarity-negative: positive reference Voltage has a negative polarity 13 Chose one option, for each supply (Vdd/Vss): 16 - vdd-supply: phandle to Vdd regulator's node 20 - vdd-microvolts: positive reference Voltage value [uV] 23 Example with constant 'Vdd' value: 28 vdd-microvolts = <1800000>; 31 Example of supply phandle usage, for the ADC's VDD/VSS references as below: 36 | | (Vdd) | AIN0|--> 57 vdd-supply = <&buck2>;
|
| /OK3568_Linux_fs/u-boot/arch/arm/cpu/armv8/fsl-layerscape/ |
| H A D | soc.c | 351 /* Get VDD in the unit mV from voltage ID */ 355 int vdd; in get_core_volt_from_fuse() local 370 vdd = -EINVAL; in get_core_volt_from_fuse() 374 vdd = 900; in get_core_volt_from_fuse() 377 vdd = 1000; in get_core_volt_from_fuse() 380 vdd = -EINVAL; in get_core_volt_from_fuse() 384 debug("%s: The required minimum volt of CORE is %dmV\n", __func__, vdd); in get_core_volt_from_fuse() 386 return vdd; in get_core_volt_from_fuse() 389 __weak int board_switch_core_volt(u32 vdd) in board_switch_core_volt() argument 394 static int setup_core_volt(u32 vdd) in setup_core_volt() argument [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/power/ |
| H A D | Kconfig | 126 On A10(s) / A13 / A20 boards dcdc2 is VDD-CPU and should be 1.4V. 127 On A31 boards dcdc2 is used for VDD-GPU and should be 1.2V. 128 On A23/A33 boards dcdc2 is used for VDD-SYS and should be 1.1V. 130 On A83T boards dcdc2 is used for VDD-CPUA(cluster 0) and should be 0.9V. 131 On R40 boards dcdc2 is VDD-CPU and should be 1.1V 144 On A10(s) / A13 / A20 boards with an axp209 dcdc3 is VDD-INT-DLL and 147 On A23 / A31 / A33 boards dcdc3 is VDD-CPU and should be 1.2V. 148 On A80 boards dcdc3 is used for VDD-CPUA(cluster 0) and should be 0.9V. 149 On A83T boards dcdc3 is used for VDD-CPUB(cluster 1) and should be 0.9V. 150 On R40 boards dcdc3 is VDD-SYS and VDD-GPU and should be 1.1V. [all …]
|
| /OK3568_Linux_fs/kernel/drivers/iio/light/ |
| H A D | cm3605.c | 37 * @vdd: regulator controlling VDD 46 struct regulator *vdd; member 213 cm3605->vdd = devm_regulator_get(dev, "vdd"); in cm3605_probe() 214 if (IS_ERR(cm3605->vdd)) { in cm3605_probe() 215 dev_err(dev, "failed to get VDD regulator\n"); in cm3605_probe() 216 return PTR_ERR(cm3605->vdd); in cm3605_probe() 218 ret = regulator_enable(cm3605->vdd); in cm3605_probe() 220 dev_err(dev, "failed to enable VDD regulator\n"); in cm3605_probe() 262 regulator_disable(cm3605->vdd); in cm3605_probe() 275 regulator_disable(cm3605->vdd); in cm3605_remove() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/iio/adc/ |
| H A D | stm32-adc-core.c | 86 * @vdd: vdd supply reference 89 * @vdd_uv: vdd supply voltage (microvolts) 103 struct regulator *vdd; member 427 * - Vdd can be used to supply them, if above 2.7V (STM32MP1 only). in stm32_adc_core_switches_supply_en() 430 * - vdda < 2.7V but vdd > 2.7V: ANASWVDD = 1, EN_BOOSTER = 0 (stm32mp1) in stm32_adc_core_switches_supply_en() 431 * - vdda < 2.7V and vdd < 2.7V: ANASWVDD = 0, EN_BOOSTER = 1 in stm32_adc_core_switches_supply_en() 436 ret = regulator_enable(priv->vdd); in stm32_adc_core_switches_supply_en() 438 dev_err(dev, "vdd enable failed %d\n", ret); in stm32_adc_core_switches_supply_en() 446 regulator_disable(priv->vdd); in stm32_adc_core_switches_supply_en() 447 dev_err(dev, "vdd select failed, %d\n", ret); in stm32_adc_core_switches_supply_en() [all …]
|
| H A D | max1241.c | 25 struct regulator *vdd; member 119 err = regulator_disable(adc->vdd); in max1241_disable_vdd_action() 121 dev_err(dev, "could not disable vdd regulator.\n"); in max1241_disable_vdd_action() 152 adc->vdd = devm_regulator_get(dev, "vdd"); in max1241_probe() 153 if (IS_ERR(adc->vdd)) { in max1241_probe() 154 dev_err(dev, "failed to get vdd regulator\n"); in max1241_probe() 155 return PTR_ERR(adc->vdd); in max1241_probe() 158 ret = regulator_enable(adc->vdd); in max1241_probe() 164 dev_err(dev, "could not set up vdd regulator cleanup action\n"); in max1241_probe()
|
| /OK3568_Linux_fs/kernel/drivers/hwmon/ |
| H A D | mcp3021.c | 25 /* Vdd / reference voltage in millivolt */ 49 u32 vdd; /* supply and reference voltage in millivolt */ member 82 return DIV_ROUND_CLOSEST(data->vdd * val, 1 << data->output_res); in volts_from_reg() 123 &data->vdd)) in mcp3021_probe() 124 data->vdd /= 1000; in mcp3021_probe() 126 data->vdd = MCP3021_VDD_REF_DEFAULT; in mcp3021_probe() 131 data->vdd = *pdata; in mcp3021_probe() 133 data->vdd = MCP3021_VDD_REF_DEFAULT; in mcp3021_probe() 150 if (data->vdd > MCP3021_VDD_REF_MAX || data->vdd < MCP3021_VDD_REF_MIN) in mcp3021_probe()
|
| /OK3568_Linux_fs/u-boot/board/freescale/common/ |
| H A D | vid.c | 184 static int wait_for_new_voltage(int vdd, int i2caddress) in wait_for_new_voltage() argument 199 abs(vdd - vdd_current) > (IR_VDD_STEP_UP + IR_VDD_STEP_DOWN) && in wait_for_new_voltage() 216 int timeout, vdd_current, vdd; in wait_for_voltage_stable() local 218 vdd = read_voltage(i2caddress); in wait_for_voltage_stable() 227 abs(vdd - vdd_current) > ADC_MIN_ACCURACY && in wait_for_voltage_stable() 229 vdd = vdd_current; in wait_for_voltage_stable() 240 static int set_voltage_to_IR(int i2caddress, int vdd) in set_voltage_to_IR() argument 249 vdd += board_vdd_drop_compensation(); in set_voltage_to_IR() 251 vid = DIV_ROUND_UP(vdd - 265, 5); in set_voltage_to_IR() 253 vid = DIV_ROUND_UP(vdd - 245, 5); in set_voltage_to_IR() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/mfd/ |
| H A D | stmfx.c | 330 stmfx->vdd = devm_regulator_get_optional(&client->dev, "vdd"); in stmfx_chip_init() 331 ret = PTR_ERR_OR_ZERO(stmfx->vdd); in stmfx_chip_init() 334 stmfx->vdd = NULL; in stmfx_chip_init() 336 return dev_err_probe(&client->dev, ret, "Failed to get VDD regulator\n"); in stmfx_chip_init() 339 if (stmfx->vdd) { in stmfx_chip_init() 340 ret = regulator_enable(stmfx->vdd); in stmfx_chip_init() 342 dev_err(&client->dev, "VDD enable failed: %d\n", ret); in stmfx_chip_init() 389 if (stmfx->vdd) in stmfx_chip_init() 390 return regulator_disable(stmfx->vdd); in stmfx_chip_init() 402 if (stmfx->vdd) in stmfx_chip_exit() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/bridge/ |
| H A D | simple-bridge.c | 33 struct regulator *vdd; member 142 if (sbridge->vdd) { in simple_bridge_enable() 143 ret = regulator_enable(sbridge->vdd); in simple_bridge_enable() 145 DRM_ERROR("Failed to enable vdd regulator: %d\n", ret); in simple_bridge_enable() 157 if (sbridge->vdd) in simple_bridge_disable() 158 regulator_disable(sbridge->vdd); in simple_bridge_disable() 193 sbridge->vdd = devm_regulator_get_optional(&pdev->dev, "vdd"); in simple_bridge_probe() 194 if (IS_ERR(sbridge->vdd)) { in simple_bridge_probe() 195 int ret = PTR_ERR(sbridge->vdd); in simple_bridge_probe() 198 sbridge->vdd = NULL; in simple_bridge_probe() [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/opp/ |
| H A D | ti-omap5-opp-supply.txt | 11 to the vdd-supply and clk when making an OPP transition. By supplying two 19 - vdd-supply: phandle to regulator controlling VDD supply 25 "ti,omap-opp-supply" - basic OPP supply controlling VDD and VBB 26 "ti,omap5-opp-supply" - OMAP5+ optimized voltages in efuse(class0)VDD 28 "ti,omap5-core-opp-supply" - OMAP5+ optimized voltages in efuse(class0) VDD 47 vdd-supply = <&vcc>;
|
| /OK3568_Linux_fs/kernel/arch/arm/mach-omap2/ |
| H A D | voltage.c | 55 pr_warn("%s: VDD specified does not exist!\n", __func__); in voltdm_get_voltage() 77 pr_warn("%s: VDD specified does not exist!\n", __func__); in voltdm_scale() 128 pr_warn("%s: VDD specified does not exist!\n", __func__); in voltdm_reset() 145 * @voltdm: pointer to the VDD for which the voltage table is required 146 * @volt_data: the voltage table for the particular vdd which is to be 149 * This API populates the voltage table associated with a VDD into the 151 * supported by this vdd. 158 pr_warn("%s: VDD specified does not exist!\n", __func__); in omap_voltage_get_volttable() 168 * @voltdm: pointer to the VDD whose voltage table has to be searched 186 pr_warn("%s: VDD specified does not exist!\n", __func__); in omap_voltage_get_voltdata() [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/net/wireless/ |
| H A D | qcom,ath10k.txt | 67 optional "supply-name" are "vdd-0.8-cx-mx", 68 "vdd-1.8-xo", "vdd-1.3-rfa", "vdd-3.3-ch0", 69 and "vdd-3.3-ch1". 204 vdd-0.8-cx-mx-supply = <&pm8998_l5>; 205 vdd-1.8-xo-supply = <&vreg_l7a_1p8>; 206 vdd-1.3-rfa-supply = <&vreg_l17a_1p3>; 207 vdd-3.3-ch0-supply = <&vreg_l25a_3p3>; 208 vdd-3.3-ch1-supply = <&vreg_l26a_3p3>;
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/msm/disp/mdp5/ |
| H A D | mdp5_mdss.c | 19 struct regulator *vdd; member 193 regulator_disable(mdp5_mdss->vdd); in mdp5_mdss_destroy() 243 mdp5_mdss->vdd = devm_regulator_get(dev->dev, "vdd"); in mdp5_mdss_init() 244 if (IS_ERR(mdp5_mdss->vdd)) { in mdp5_mdss_init() 245 ret = PTR_ERR(mdp5_mdss->vdd); in mdp5_mdss_init() 249 ret = regulator_enable(mdp5_mdss->vdd); in mdp5_mdss_init() 251 DRM_DEV_ERROR(dev->dev, "failed to enable regulator vdd: %d\n", in mdp5_mdss_init() 276 regulator_disable(mdp5_mdss->vdd); in mdp5_mdss_init()
|