Home
last modified time | relevance | path

Searched refs:max8952 (Results 1 – 4 of 4) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/regulator/
H A Dmax8952.c44 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()
78 if (max8952->vid1) in max8952_get_voltage_sel()
87 struct max8952_data *max8952 = rdev_get_drvdata(rdev); in max8952_set_voltage_sel() local
[all …]
H A DMakefile75 obj-$(CONFIG_REGULATOR_MAX8952) += max8952.o
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/regulator/
H A Dmax8952.txt4 - 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 */
38 max8952,vid-gpios = <&gpx0 3 0>, <&gpx0 4 0>;
[all …]
/OK3568_Linux_fs/kernel/arch/arm/boot/dts/
H A 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>;