Home
last modified time | relevance | path

Searched full:pmic (Results 1 – 25 of 1545) sorted by relevance

12345678910>>...62

/linux/drivers/regulator/
H A Dmax77620-regulator.c99 static int max77620_regulator_get_fps_src(struct max77620_regulator *pmic, in max77620_regulator_get_fps_src() argument
102 struct max77620_regulator_info *rinfo = pmic->rinfo[id]; in max77620_regulator_get_fps_src()
106 ret = regmap_read(pmic->rmap, rinfo->fps_addr, &val); in max77620_regulator_get_fps_src()
108 dev_err(pmic->dev, "Reg 0x%02x read failed %d\n", in max77620_regulator_get_fps_src()
116 static int max77620_regulator_set_fps_src(struct max77620_regulator *pmic, in max77620_regulator_set_fps_src() argument
119 struct max77620_regulator_info *rinfo = pmic->rinfo[id]; in max77620_regulator_set_fps_src()
134 ret = regmap_read(pmic->rmap, rinfo->fps_addr, &val); in max77620_regulator_set_fps_src()
136 dev_err(pmic->dev, "Reg 0x%02x read failed %d\n", in max77620_regulator_set_fps_src()
141 pmic->active_fps_src[id] = ret; in max77620_regulator_set_fps_src()
145 dev_err(pmic in max77620_regulator_set_fps_src()
163 max77620_regulator_set_fps_slots(struct max77620_regulator * pmic,int id,bool is_suspend) max77620_regulator_set_fps_slots() argument
207 max77620_regulator_set_power_mode(struct max77620_regulator * pmic,int power_mode,int id) max77620_regulator_set_power_mode() argument
236 max77620_regulator_get_power_mode(struct max77620_regulator * pmic,int id) max77620_regulator_get_power_mode() argument
264 max77620_read_slew_rate(struct max77620_regulator * pmic,int id) max77620_read_slew_rate() argument
314 max77620_set_slew_rate(struct max77620_regulator * pmic,int id,int slew_rate) max77620_set_slew_rate() argument
351 max77620_config_power_ok(struct max77620_regulator * pmic,int id) max77620_config_power_ok() argument
386 max77620_init_pmic(struct max77620_regulator * pmic,int id) max77620_init_pmic() argument
444 struct max77620_regulator *pmic = rdev_get_drvdata(rdev); max77620_regulator_enable() local
456 struct max77620_regulator *pmic = rdev_get_drvdata(rdev); max77620_regulator_disable() local
468 struct max77620_regulator *pmic = rdev_get_drvdata(rdev); max77620_regulator_is_enabled() local
488 struct max77620_regulator *pmic = rdev_get_drvdata(rdev); max77620_regulator_set_mode() local
542 struct max77620_regulator *pmic = rdev_get_drvdata(rdev); max77620_regulator_get_mode() local
588 struct max77620_regulator *pmic = rdev_get_drvdata(rdev); max77620_regulator_set_ramp_delay() local
606 struct max77620_regulator *pmic = config->driver_data; max77620_of_parse_cb() local
785 struct max77620_regulator *pmic; max77620_regulator_probe() local
861 struct max77620_regulator *pmic = dev_get_drvdata(dev); max77620_regulator_suspend() local
881 struct max77620_regulator *pmic = dev_get_drvdata(dev); max77620_regulator_resume() local
[all...]
H A DKconfig157 signal AB8500 PMIC
186 tristate "AS3711 PMIC"
190 AS3711 PMIC
193 tristate "AMS AS3722 PMIC Regulators"
197 AS3722 PMIC. This will enable support for all the software
201 tristate "Actions Semi ATC260x PMIC Regulators"
217 tristate "X-POWERS AXP20X PMIC Regulators"
221 AXP20X PMIC.
236 This driver supports voltage regulators on ROHM BD71815 PMIC.
248 This driver supports voltage regulators on ROHM BD71828 PMIC
[all...]
H A Dtps65910-regulator.c391 struct tps65910_reg *pmic = rdev_get_drvdata(dev); in tps65910_set_mode() local
395 reg = pmic->get_ctrl_reg(id); in tps65910_set_mode()
416 struct tps65910_reg *pmic = rdev_get_drvdata(dev); in tps65910_get_mode() local
420 reg = pmic->get_ctrl_reg(id); in tps65910_get_mode()
514 struct tps65910_reg *pmic = rdev_get_drvdata(dev); in tps65910_get_voltage_sel() local
518 reg = pmic->get_ctrl_reg(id); in tps65910_get_voltage_sel()
557 struct tps65910_reg *pmic = rdev_get_drvdata(dev); in tps65911_get_voltage_sel() local
562 reg = pmic->get_ctrl_reg(id); in tps65911_get_voltage_sel()
634 struct tps65910_reg *pmic = rdev_get_drvdata(dev); in tps65910_set_voltage_sel() local
638 reg = pmic in tps65910_set_voltage_sel()
665 struct tps65910_reg *pmic = rdev_get_drvdata(dev); tps65911_set_voltage_sel() local
723 struct tps65910_reg *pmic = rdev_get_drvdata(dev); tps65911_list_voltage() local
821 tps65910_set_ext_sleep_config(struct tps65910_reg * pmic,int id,int ext_sleep_config) tps65910_set_ext_sleep_config() argument
1077 struct tps65910_reg *pmic; tps65910_probe() local
1226 struct tps65910_reg *pmic = platform_get_drvdata(pdev); tps65910_shutdown() local
[all...]
H A Disl6271a-regulator.c23 /* PMIC details */
31 struct isl_pmic *pmic = rdev_get_drvdata(dev); in isl6271a_get_voltage_sel() local
34 mutex_lock(&pmic->mtx); in isl6271a_get_voltage_sel()
36 idx = i2c_smbus_read_byte(pmic->client); in isl6271a_get_voltage_sel()
38 dev_err(&pmic->client->dev, "Error getting voltage\n"); in isl6271a_get_voltage_sel()
40 mutex_unlock(&pmic->mtx); in isl6271a_get_voltage_sel()
47 struct isl_pmic *pmic = rdev_get_drvdata(dev); in isl6271a_set_voltage_sel() local
50 mutex_lock(&pmic->mtx); in isl6271a_set_voltage_sel()
52 err = i2c_smbus_write_byte(pmic->client, selector); in isl6271a_set_voltage_sel()
54 dev_err(&pmic in isl6271a_set_voltage_sel()
106 struct isl_pmic *pmic; isl6271a_probe() local
[all...]
H A Dpalmas-regulator.c3 * Driver for Regulator part of Palmas PMIC Chips
441 struct palmas_pmic *pmic = rdev_get_drvdata(dev); in palmas_set_mode_smps() local
442 struct palmas_pmic_driver_data *ddata = pmic->palmas->pmic_ddata; in palmas_set_mode_smps()
447 ret = palmas_smps_read(pmic->palmas, rinfo->ctrl_addr, &reg); in palmas_set_mode_smps()
470 pmic->current_reg_mode[id] = reg & PALMAS_SMPS12_CTRL_MODE_ACTIVE_MASK; in palmas_set_mode_smps()
472 palmas_smps_write(pmic->palmas, rinfo->ctrl_addr, reg); in palmas_set_mode_smps()
475 pmic->desc[id].enable_val = pmic->current_reg_mode[id]; in palmas_set_mode_smps()
482 struct palmas_pmic *pmic = rdev_get_drvdata(dev); in palmas_get_mode_smps() local
486 reg = pmic in palmas_get_mode_smps()
504 struct palmas_pmic *pmic = rdev_get_drvdata(rdev); palmas_smps_set_ramp_delay() local
598 struct palmas_pmic *pmic = rdev_get_drvdata(dev); palmas_is_enabled_ldo() local
889 palmas_ldo_registration(struct palmas_pmic * pmic,struct palmas_pmic_driver_data * ddata,struct palmas_pmic_platform_data * pdata,const char * pdev_name,struct regulator_config config) palmas_ldo_registration() argument
1007 tps65917_ldo_registration(struct palmas_pmic * pmic,struct palmas_pmic_driver_data * ddata,struct palmas_pmic_platform_data * pdata,const char * pdev_name,struct regulator_config config) tps65917_ldo_registration() argument
1114 palmas_smps_registration(struct palmas_pmic * pmic,struct palmas_pmic_driver_data * ddata,struct palmas_pmic_platform_data * pdata,const char * pdev_name,struct regulator_config config) palmas_smps_registration() argument
1284 tps65917_smps_registration(struct palmas_pmic * pmic,struct palmas_pmic_driver_data * ddata,struct palmas_pmic_platform_data * pdata,const char * pdev_name,struct regulator_config config) tps65917_smps_registration() argument
1601 struct palmas_pmic *pmic; palmas_regulators_probe() local
[all...]
H A Dmax8907-regulator.c279 struct max8907_regulator *pmic; in max8907_regulator_probe() local
290 pmic = devm_kzalloc(&pdev->dev, sizeof(*pmic), GFP_KERNEL); in max8907_regulator_probe()
291 if (!pmic) in max8907_regulator_probe()
294 platform_set_drvdata(pdev, pmic); in max8907_regulator_probe()
296 memcpy(pmic->desc, max8907_regulators, sizeof(pmic->desc)); in max8907_regulator_probe()
305 pmic->desc[MAX8907_SD1].min_uV = 637500; in max8907_regulator_probe()
306 pmic->desc[MAX8907_SD1].uV_step = 12500; in max8907_regulator_probe()
307 pmic in max8907_regulator_probe()
[all...]
/linux/drivers/mfd/
H A Dhi655x-pmic.c3 * Device driver for MFD hi655x PMIC
16 #include <linux/mfd/hi655x-pmic.h>
35 .name = "hi655x-pmic",
94 struct hi655x_pmic *pmic; in hi655x_pmic_probe() local
98 pmic = devm_kzalloc(dev, sizeof(*pmic), GFP_KERNEL); in hi655x_pmic_probe()
99 if (!pmic) in hi655x_pmic_probe()
101 pmic->dev = dev; in hi655x_pmic_probe()
107 pmic->regmap = devm_regmap_init_mmio_clk(dev, NULL, base, in hi655x_pmic_probe()
109 if (IS_ERR(pmic in hi655x_pmic_probe()
149 struct hi655x_pmic *pmic = platform_get_drvdata(pdev); hi655x_pmic_remove() local
[all...]
H A Dintel_soc_pmic_bxtwc.c3 * MFD core driver for Intel Broxton Whiskey Cove PMIC
31 /* PMIC device registers */
69 /* Whiskey Cove PMIC share same ACPI ID between different platforms */
309 struct intel_soc_pmic *pmic = context; in regmap_ipc_byte_reg_read() local
311 if (!pmic) in regmap_ipc_byte_reg_read()
323 ret = intel_scu_ipc_dev_command(pmic->scu, PMC_PMIC_ACCESS, in regmap_ipc_byte_reg_read()
339 struct intel_soc_pmic *pmic = context; in regmap_ipc_byte_reg_write() local
341 if (!pmic) in regmap_ipc_byte_reg_write()
354 return intel_scu_ipc_dev_command(pmic->scu, PMC_PMIC_ACCESS, in regmap_ipc_byte_reg_write()
359 /* sysfs interfaces to r/w PMIC register
385 struct intel_soc_pmic *pmic = dev_get_drvdata(dev); val_show() local
401 struct intel_soc_pmic *pmic = dev_get_drvdata(dev); val_store() local
431 bxtwc_add_chained_irq_chip(struct intel_soc_pmic * pmic,struct regmap_irq_chip_data * pdata,int pirq,int irq_flags,const struct regmap_irq_chip * chip,struct regmap_irq_chip_data ** data) bxtwc_add_chained_irq_chip() argument
452 bxtwc_add_chained_devices(struct intel_soc_pmic * pmic,const struct mfd_cell * cells,int n_devs,struct regmap_irq_chip_data * pdata,int pirq,int irq_flags,const struct regmap_irq_chip * chip,struct regmap_irq_chip_data ** data) bxtwc_add_chained_devices() argument
478 struct intel_soc_pmic *pmic; bxtwc_probe() local
585 struct intel_soc_pmic *pmic = platform_get_drvdata(pdev); bxtwc_shutdown() local
592 struct intel_soc_pmic *pmic = dev_get_drvdata(dev); bxtwc_suspend() local
601 struct intel_soc_pmic *pmic = dev_get_drvdata(dev); bxtwc_resume() local
[all...]
H A Dintel_soc_pmic_chtdc_ti.c3 * Device access for Dollar Cove TI PMIC
109 struct intel_soc_pmic *pmic; in chtdc_ti_probe() local
112 pmic = devm_kzalloc(dev, sizeof(*pmic), GFP_KERNEL); in chtdc_ti_probe()
113 if (!pmic) in chtdc_ti_probe()
116 i2c_set_clientdata(i2c, pmic); in chtdc_ti_probe()
118 pmic->regmap = devm_regmap_init_i2c(i2c, &chtdc_ti_regmap_config); in chtdc_ti_probe()
119 if (IS_ERR(pmic->regmap)) in chtdc_ti_probe()
120 return PTR_ERR(pmic->regmap); in chtdc_ti_probe()
121 pmic in chtdc_ti_probe()
137 struct intel_soc_pmic *pmic = i2c_get_clientdata(i2c); chtdc_ti_shutdown() local
144 struct intel_soc_pmic *pmic = dev_get_drvdata(dev); chtdc_ti_suspend() local
153 struct intel_soc_pmic *pmic = dev_get_drvdata(dev); chtdc_ti_resume() local
[all...]
H A Dintel_soc_pmic_chtwc.c3 * MFD core driver for Intel Cherrytrail Whiskey Cove PMIC
7 * Based on various non upstream patches to support the CHT Whiskey Cove PMIC:
22 /* PMIC device registers */
30 /* Whiskey Cove PMIC share same ACPI ID between different platforms */
191 struct intel_soc_pmic *pmic; in cht_wc_probe() local
198 return dev_err_probe(dev, -ENODEV, "Failed to get PMIC hardware revision\n"); in cht_wc_probe()
200 return dev_err_probe(dev, -ENODEV, "Invalid PMIC hardware revision: %llu\n", hrv); in cht_wc_probe()
205 pmic = devm_kzalloc(dev, sizeof(*pmic), GFP_KERNEL); in cht_wc_probe()
206 if (!pmic) in cht_wc_probe()
235 struct intel_soc_pmic *pmic = i2c_get_clientdata(client); cht_wc_shutdown() local
242 struct intel_soc_pmic *pmic = dev_get_drvdata(dev); cht_wc_suspend() local
251 struct intel_soc_pmic *pmic = dev_get_drvdata(dev); cht_wc_resume() local
[all...]
H A Dintel_soc_pmic_mrfld.c3 * Device access for Basin Cove PMIC
22 * Firmware on the systems with Basin Cove PMIC services Level 1 IRQs
76 struct intel_soc_pmic *pmic = context; in bcove_ipc_byte_reg_read() local
80 ret = intel_scu_ipc_dev_ioread8(pmic->scu, reg, &ipc_out); in bcove_ipc_byte_reg_read()
91 struct intel_soc_pmic *pmic = context; in bcove_ipc_byte_reg_write() local
94 return intel_scu_ipc_dev_iowrite8(pmic->scu, reg, ipc_in); in bcove_ipc_byte_reg_write()
108 struct intel_soc_pmic *pmic; in bcove_probe() local
112 pmic = devm_kzalloc(dev, sizeof(*pmic), GFP_KERNEL); in bcove_probe()
113 if (!pmic) in bcove_probe()
[all...]
H A Dintel_soc_pmic_crc.c3 * Device access for Crystal Cove PMIC
172 struct intel_soc_pmic *pmic; in crystal_cove_i2c_probe() local
180 pmic = devm_kzalloc(dev, sizeof(*pmic), GFP_KERNEL); in crystal_cove_i2c_probe()
181 if (!pmic) in crystal_cove_i2c_probe()
184 i2c_set_clientdata(i2c, pmic); in crystal_cove_i2c_probe()
186 pmic->regmap = devm_regmap_init_i2c(i2c, config->regmap_config); in crystal_cove_i2c_probe()
187 if (IS_ERR(pmic->regmap)) in crystal_cove_i2c_probe()
188 return PTR_ERR(pmic->regmap); in crystal_cove_i2c_probe()
190 pmic in crystal_cove_i2c_probe()
228 struct intel_soc_pmic *pmic = i2c_get_clientdata(i2c); crystal_cove_shutdown() local
237 struct intel_soc_pmic *pmic = dev_get_drvdata(dev); crystal_cove_suspend() local
246 struct intel_soc_pmic *pmic = dev_get_drvdata(dev); crystal_cove_resume() local
[all...]
H A Dhi6421-pmic-core.c3 * Device driver for Hi6421 PMIC
16 #include <linux/mfd/hi6421-pmic.h>
40 .compatible = "hisilicon,hi6421-pmic",
44 .compatible = "hisilicon,hi6421v530-pmic",
53 struct hi6421_pmic *pmic; in hi6421_pmic_probe() local
61 pmic = devm_kzalloc(&pdev->dev, sizeof(*pmic), GFP_KERNEL); in hi6421_pmic_probe()
62 if (!pmic) in hi6421_pmic_probe()
69 pmic->regmap = devm_regmap_init_mmio_clk(&pdev->dev, NULL, base, in hi6421_pmic_probe()
71 if (IS_ERR(pmic in hi6421_pmic_probe()
[all...]
/linux/Documentation/devicetree/bindings/mfd/
H A Dsamsung,s5m8767.yaml14 Management IC (PMIC).
21 const: samsung,s5m8767-pmic
39 s5m8767,pmic-buck2-dvs-voltage:
47 s5m8767,pmic-buck3-dvs-voltage:
55 s5m8767,pmic-buck4-dvs-voltage:
63 s5m8767,pmic-buck-ds-gpios:
70 s5m8767,pmic-buck2-uses-gpio-dvs:
74 s5m8767,pmic-buck3-uses-gpio-dvs:
78 s5m8767,pmic-buck4-uses-gpio-dvs:
82 s5m8767,pmic
[all...]
H A Dsamsung,s2mps11.yaml14 Management IC (PMIC).
23 - samsung,s2mpg10-pmic
24 - samsung,s2mps11-pmic
25 - samsung,s2mps13-pmic
26 - samsung,s2mps14-pmic
27 - samsung,s2mps15-pmic
28 - samsung,s2mpu02-pmic
29 - samsung,s2mpu05-pmic
49 Indicates that ACOKB pin of S2MPS11 PMIC is connected to the ground so
50 the PMIC mus
[all...]
H A Dhisilicon,hi655x.txt1 Hisilicon Hi655x Power Management Integrated Circuit (PMIC)
3 The hardware layout for access PMIC Hi655x from AP SoC Hi6220.
4 Between PMIC Hi655x and Hi6220, the physical signal channel is SSI.
15 - compatible: Should be "hisilicon,hi655x-pmic".
16 - reg: Base address of PMIC on Hi6220 SoC.
18 - pmic-gpios: The GPIO used by PMIC IRQ.
26 pmic: pmic@f8000000 {
27 compatible = "hisilicon,hi655x-pmic";
[all...]
H A Dmaxim,max8998.yaml34 max8998,pmic-buck1-dvs-gpios:
39 max8998,pmic-buck2-dvs-gpio:
44 max8998,pmic-buck1-default-dvs-idx:
52 max8998,pmic-buck2-default-dvs-idx:
60 max8998,pmic-buck-voltage-lock:
65 max8998,pmic-buck1-dvs-voltage:
72 max8998,pmic-buck2-dvs-voltage:
133 max8998,pmic-buck1-dvs-gpios: [ "max8998,pmic-buck1-dvs-voltage" ]
134 max8998,pmic
[all...]
/linux/Documentation/devicetree/bindings/soc/qcom/
H A Dqcom,pmic-glink.yaml4 $id: http://devicetree.org/schemas/soc/qcom/qcom,pmic-glink.yaml#
7 title: Qualcomm PMIC GLINK firmware interface for battery management, USB
14 The PMIC GLINK service, running on a coprocessor on some modern Qualcomm
26 - qcom,qcm6490-pmic-glink
27 - qcom,sc8180x-pmic-glink
28 - qcom,sc8280xp-pmic-glink
29 - qcom,sm8350-pmic-glink
30 - qcom,sm8450-pmic-glink
31 - qcom,sm8550-pmic-glink
32 - const: qcom,pmic
[all...]
/linux/Documentation/devicetree/bindings/regulator/
H A Dmaxim,max8997.yaml22 const: maxim,max8997-pmic
33 max8997,pmic-buck1-dvs-voltage:
40 If none of max8997,pmic-buck[1/2/5]-uses-gpio-dvs optional property is
41 specified, the max8997,pmic-buck[1/2/5]-dvs-voltage property should
45 max8997,pmic-buck2-dvs-voltage:
52 If none of max8997,pmic-buck[1/2/5]-uses-gpio-dvs optional property is
53 specified, the max8997,pmic-buck[1/2/5]-dvs-voltage property should
57 max8997,pmic-buck5-dvs-voltage:
64 If none of max8997,pmic-buck[1/2/5]-uses-gpio-dvs optional property is
65 specified, the max8997,pmic
[all...]
H A Dpalmas-pmic.txt12 ti,twl6035-pmic
13 ti,twl6036-pmic
14 ti,twl6037-pmic
15 ti,tps65913-pmic
16 ti,tps65914-pmic
17 ti,tps65917-pmic
18 ti,tps659038-pmic
20 ti,palmas-pmic
35 For ti,palmas-pmic - smps12, smps123, smps3 depending on OTP,
48 ti,mode-sleep - mode to adopt in pmic slee
[all...]
/linux/drivers/acpi/pmic/
H A DKconfig4 bool "PMIC (Power Management Integrated Circuit) operation region support"
7 region of the PMIC chip. The operation region can be used
9 PMIC chip.
14 bool "ACPI operation region support for Bay Trail Crystal Cove PMIC"
18 version of the Crystal Cove PMIC.
21 bool "ACPI operation region support for Cherry Trail Crystal Cove PMIC"
25 version of the Crystal Cove PMIC.
28 bool "ACPI operation region support for XPower AXP288 PMIC"
31 This config adds ACPI operation region support for XPower AXP288 PMIC.
34 bool "ACPI operation region support for BXT WhiskeyCove PMIC"
[all...]
/linux/drivers/watchdog/
H A Dstpmic1_wdt.c31 struct stpmic1 *pmic; member
39 return regmap_update_bits(wdt->pmic->regmap, in pmic_wdt_start()
47 return regmap_update_bits(wdt->pmic->regmap, in pmic_wdt_stop()
55 return regmap_update_bits(wdt->pmic->regmap, in pmic_wdt_ping()
66 return regmap_write(wdt->pmic->regmap, WCHDG_TIMER_CR, timeout - 1); in pmic_wdt_set_timeout()
71 .identity = "STPMIC1 PMIC Watchdog",
86 struct stpmic1 *pmic; in pmic_wdt_probe() local
92 pmic = dev_get_drvdata(dev->parent); in pmic_wdt_probe()
93 if (!pmic) in pmic_wdt_probe()
100 wdt->pmic in pmic_wdt_probe()
[all...]
/linux/arch/arm64/boot/dts/qcom/
H A Dx1e80100-pmics.dtsi197 pmk8550: pmic@0 {
198 compatible = "qcom,pm8550", "qcom,spmi-pmic";
263 pm8550: pmic@1 {
264 compatible = "qcom,pm8550", "qcom,spmi-pmic";
301 pm8550ve_2: pmic@2 {
302 compatible = "qcom,pm8550", "qcom,spmi-pmic";
326 pmc8380_3: pmic@3 {
327 compatible = "qcom,pmc8380", "qcom,spmi-pmic";
350 pmc8380_4: pmic@4 {
351 compatible = "qcom,pmc8380", "qcom,spmi-pmic";
[all...]
/linux/arch/x86/include/asm/
H A Diosf_mbi.h102 * One some systems the P-Unit accesses the PMIC to change various voltages
106 * the PMIC bus while another driver is also accessing the PMIC bus various bad
110 * access the PMIC, be it through iosf_mbi* functions or through other means.
111 * This function will block all kernel access to the PMIC I2C bus, so that the
112 * P-Unit can safely access the PMIC over the shared I2C bus.
115 * P-Unit for exclusive access to the PMIC bus when i2c drivers are accessing
129 * iosf_mbi_block_punit_i2c_access() - Block P-Unit accesses to the PMIC bus
131 * Call this function to block P-Unit access to the PMIC I2C bus, so that the
132 * kernel can safely access the PMIC ove
[all...]
/linux/arch/arm/mach-omap2/
H A Dvc.c101 * omap_vc_config_channel - configure VC channel to PMIC mappings
104 * Configures the VC channel to PMIC mappings for the following
105 * PMIC settings
142 /* Check if sufficient pmic info is available for this vdd */ in omap_vc_pre_scale()
143 if (!voltdm->pmic) { in omap_vc_pre_scale()
144 pr_err("%s: Insufficient pmic info to scale the vdd_%s\n", in omap_vc_pre_scale()
149 if (!voltdm->pmic->uv_to_vsel) { in omap_vc_pre_scale()
150 pr_err("%s: PMIC function to convert voltage in uV to vsel not registered. Hence unable to scale voltage for vdd_%s\n", in omap_vc_pre_scale()
161 *target_vsel = voltdm->pmic->uv_to_vsel(target_volt); in omap_vc_pre_scale()
162 *current_vsel = voltdm->pmic in omap_vc_pre_scale()
[all...]

12345678910>>...62