Searched refs:max8952 (Results 1 – 4 of 4) sorted by relevance
| /linux-4.4.14/drivers/regulator/ |
| D | max8952.c | 57 static int max8952_read_reg(struct max8952_data *max8952, u8 reg) in max8952_read_reg() argument 59 int ret = i2c_smbus_read_byte_data(max8952->client, reg); in max8952_read_reg() 67 static int max8952_write_reg(struct max8952_data *max8952, in max8952_write_reg() argument 70 return i2c_smbus_write_byte_data(max8952->client, reg, value); in max8952_write_reg() 76 struct max8952_data *max8952 = rdev_get_drvdata(rdev); in max8952_list_voltage() local 81 return (max8952->pdata->dvs_mode[selector] * 10 + 770) * 1000; in max8952_list_voltage() 86 struct max8952_data *max8952 = rdev_get_drvdata(rdev); in max8952_get_voltage_sel() local 89 if (max8952->vid0) in max8952_get_voltage_sel() 91 if (max8952->vid1) in max8952_get_voltage_sel() 100 struct max8952_data *max8952 = rdev_get_drvdata(rdev); in max8952_set_voltage_sel() local [all …]
|
| D | Makefile | 52 obj-$(CONFIG_REGULATOR_MAX8952) += max8952.o
|
| /linux-4.4.14/Documentation/devicetree/bindings/regulator/ |
| D | max8952.txt | 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 */ 38 max8952,vid-gpios = <&gpx0 3 0>, <&gpx0 4 0>; [all …]
|
| /linux-4.4.14/arch/arm/boot/dts/ |
| D | exynos4210-universal_c210.dts | 313 compatible = "maxim,max8952"; 316 max8952,vid-gpios = <&gpx0 3 GPIO_ACTIVE_HIGH>, 318 max8952,default-mode = <0>; 319 max8952,dvs-mode-microvolt = <1250000>, <1200000>, 321 max8952,sync-freq = <0>; 322 max8952,ramp-speed = <0>;
|