Home
last modified time | relevance | path

Searched full:max8952 (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/regulator/
H A Dmax8952.c3 * max8952.c - Voltage and current regulation for the Maxim 8952
15 #include <linux/regulator/max8952.h>
44 static int max8952_read_reg(struct max8952_data *max8952, u8 reg) in max8952_read_reg() argument
46 int ret = i2c_smbus_read_byte_data(max8952->client, reg); in max8952_read_reg()
54 static int max8952_write_reg(struct max8952_data *max8952, in max8952_write_reg() argument
57 return i2c_smbus_write_byte_data(max8952->client, reg, value); in max8952_write_reg()
63 struct max8952_data *max8952 = rdev_get_drvdata(rdev); in max8952_list_voltage() local
68 return (max8952->pdata->dvs_mode[selector] * 10 + 770) * 1000; in max8952_list_voltage()
73 struct max8952_data *max8952 = rdev_get_drvdata(rdev); in max8952_get_voltage_sel() local
76 if (max8952->vid0) in max8952_get_voltage_sel()
[all …]
/linux/Documentation/devicetree/bindings/regulator/
H A Dmaxim,max8952.yaml4 $id: http://devicetree.org/schemas/regulator/maxim,max8952.yaml#
7 title: Maxim MAX8952 voltage regulator
17 const: maxim,max8952
19 max8952,default-mode:
25 max8952,dvs-mode-microvolt:
35 max8952,en-gpio:
40 max8952,ramp-speed:
56 max8952,sync-freq:
67 max8952,vid-gpios:
78 - max8952,dvs-mode-microvolt
[all …]
/linux/arch/arm/mach-omap2/
H A Dpmic-cpcap.c85 * omap_max8952_vsel_to_uv - convert MAX8952 VSEL value to microvolts DC
86 * @vsel: MAX8952 VSEL value to convert
88 * Returns: the microvolts DC that the MAX8952 Regulator should generate when
99 * omap_max8952_uv_to_vsel - convert microvolts DC to MAX8952 VSEL value
102 * Returns: the VSEL value necessary for the MAX8952 Regulator to
168 * Returns: the VSEL value necessary for the MAX8952 Regulator to
187 * Returns: the VSEL value necessary for the MAX8952 Regulator to
/linux/arch/arm/boot/dts/samsung/
H A Dexynos4210-universal_c210.dts325 compatible = "maxim,max8952";
328 max8952,vid-gpios = <&gpx0 3 GPIO_ACTIVE_HIGH>,
330 max8952,default-mode = <0>;
331 max8952,dvs-mode-microvolt = <1250000>, <1200000>,
333 max8952,sync-freq = <0>;
334 max8952,ramp-speed = <0>;
/linux/include/linux/regulator/
H A Dmax8952.h3 * max8952.h - Voltage regulation for the Maxim 8952