forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag 'regulator-v3.10' of git://git.kernel.org/pub/scm/linux/ker…
…nel/git/broonie/regulator Pull regulator updates from Mark Brown: "The diffstat and changelog here is dominated by Lee Jones' heroic efforts to sync the ab8500 driver that's been maintained out of tree with mainline (plus Axel's cleanup work on the results) but there's a few other things here: - Axel Lin added regulator_map_voltage_ascend() optimising a common pattern for drivers using the core code. - Milo Kim tought the regulator core to handle regulators sharing an enable GPIO, avoiding the need to do hacks to support such systems. - Andrew Bresticker added code to handle missing supplies for regulators more sensibly for device tree systems, reducing the need for stubbing there. plus the usual batch of driver specific updates and fixes" * tag 'regulator-v3.10' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator: (152 commits) regulator: mc13892: Fix MC13892_SWITCHERS0_SWxHI bit in set_voltage_sel regulator: Remove NULL test before calling regulator_unregister() regulator: mc13783: Add device tree probe support regulator: mc13xxx: Add warning of incorrect names of regulators regulator: max77686: Don't update max77686->opmode if update register fails regulator: max8952: Add missing config.of_node setting for regulator register regulator: ab3100: Fix regulator register error handling regulator: tps6524x: Use regulator_map_voltage_ascend regulator: lp8788-buck: Use regulator_map_voltage_ascend regulator: lp872x: Use regulator_map_voltage_ascend regulator: mc13892: Use regulator_map_voltage_ascend for mc13892_sw_regulator_ops regulator: tps65023: Use regulator_map_voltage_ascend regulator: tps65023: Merge tps65020 ldo1 and ldo2 vsel table regulator: tps6507x: Use regulator_map_voltage_ascend regulator: mc13892: Fix MC13892_SWITCHERS0_SWxHI bit in set_voltage_sel regulator: ab3100: device tree support regulator: ab3100: refactor probe to use IDs regulator: max8973: Don't override control1 variable when set ramp delay bits regulator: tps80031: Convert tps80031_dcdc_ops to [get|set]_voltage_sel_regmap regulator: tps80031: Fix LDO2 track mode for TPS80031 or TPS80032-ES1.0 ...
- Loading branch information
Showing
54 changed files
with
5,109 additions
and
892 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
Maxim MAX8952 voltage regulator | ||
|
||
Required properties: | ||
- compatible: must be equal to "maxim,max8952" | ||
- reg: I2C slave address, usually 0x60 | ||
- max8952,dvs-mode-microvolt: array of 4 integer values defining DVS voltages | ||
in microvolts. All values must be from range <770000, 1400000> | ||
- any required generic properties defined in regulator.txt | ||
|
||
Optional properties: | ||
- max8952,vid-gpios: array of two GPIO pins used for DVS voltage selection | ||
- max8952,en-gpio: GPIO used to control enable status of regulator | ||
- max8952,default-mode: index of default DVS voltage, from <0, 3> range | ||
- max8952,sync-freq: sync frequency, must be one of following values: | ||
- 0: 26 MHz | ||
- 1: 13 MHz | ||
- 2: 19.2 MHz | ||
Defaults to 26 MHz if not specified. | ||
- max8952,ramp-speed: voltage ramp speed, must be one of following values: | ||
- 0: 32mV/us | ||
- 1: 16mV/us | ||
- 2: 8mV/us | ||
- 3: 4mV/us | ||
- 4: 2mV/us | ||
- 5: 1mV/us | ||
- 6: 0.5mV/us | ||
- 7: 0.25mV/us | ||
Defaults to 32mV/us if not specified. | ||
- any available generic properties defined in regulator.txt | ||
|
||
Example: | ||
|
||
vdd_arm_reg: pmic@60 { | ||
compatible = "maxim,max8952"; | ||
reg = <0x60>; | ||
|
||
/* max8952-specific properties */ | ||
max8952,vid-gpios = <&gpx0 3 0>, <&gpx0 4 0>; | ||
max8952,en-gpio = <&gpx0 1 0>; | ||
max8952,default-mode = <0>; | ||
max8952,dvs-mode-microvolt = <1250000>, <1200000>, | ||
<1050000>, <950000>; | ||
max8952,sync-freq = <0>; | ||
max8952,ramp-speed = <0>; | ||
|
||
/* generic regulator properties */ | ||
regulator-name = "vdd_arm"; | ||
regulator-min-microvolt = <770000>; | ||
regulator-max-microvolt = <1400000>; | ||
regulator-always-on; | ||
regulator-boot-on; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.