Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/regulator/
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 …]
DMakefile77 obj-$(CONFIG_REGULATOR_MAX8952) += max8952.o
DKconfig604 tristate "Maxim MAX8952 Power Management IC"
/Linux-v5.15/Documentation/devicetree/bindings/regulator/
Dmax8952.txt1 Maxim MAX8952 voltage regulator
4 - compatible: must be equal to "maxim,max8952"
6 - max8952,dvs-mode-microvolt: array of 4 integer values defining DVS voltages
11 - max8952,vid-gpios: array of two GPIO pins used for DVS voltage selection
12 - max8952,en-gpio: GPIO used to control enable status of regulator
13 - max8952,default-mode: index of default DVS voltage, from <0, 3> range
14 - max8952,sync-freq: sync frequency, must be one of following values:
19 - max8952,ramp-speed: voltage ramp speed, must be one of following values:
34 compatible = "maxim,max8952";
37 /* max8952-specific properties */
[all …]
/Linux-v5.15/arch/arm/mach-omap2/
Dpmic-cpcap.c85 * omap_max8952_vsel_to_vdc - 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-v5.15/arch/arm/boot/dts/
Dexynos4210-universal_c210.dts321 compatible = "maxim,max8952";
324 max8952,vid-gpios = <&gpx0 3 GPIO_ACTIVE_HIGH>,
326 max8952,default-mode = <0>;
327 max8952,dvs-mode-microvolt = <1250000>, <1200000>,
329 max8952,sync-freq = <0>;
330 max8952,ramp-speed = <0>;
/Linux-v5.15/include/linux/regulator/
Dmax8952.h3 * max8952.h - Voltage regulation for the Maxim 8952
/Linux-v5.15/Documentation/devicetree/bindings/
Dvendor-prefixes.yaml20 "^(keypad|m25p|max8952|max8997|max8998|mpmc),.*": true