-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branches 'regulator/topic/drivers', 'regulator/…
…topic/enable', 'regulator/topic/fan53555', 'regulator/topic/hi6421' and 'regulator/topic/isl9305' into regulator-next
- Loading branch information
Showing
20 changed files
with
2,487 additions
and
278 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
Binding for Fairchild FAN53555 regulators | ||
|
||
Required properties: | ||
- compatible: one of "fcs,fan53555", "silergy,syr827", "silergy,syr828" | ||
- reg: I2C address | ||
|
||
Optional properties: | ||
- fcs,suspend-voltage-selector: declare which of the two available | ||
voltage selector registers should be used for the suspend | ||
voltage. The other one is used for the runtime voltage setting | ||
Possible values are either <0> or <1> | ||
- vin-supply: regulator supplying the vin pin | ||
|
||
Example: | ||
|
||
regulator@40 { | ||
compatible = "fcs,fan53555"; | ||
regulator-name = "fan53555"; | ||
regulator-min-microvolt = <1000000>; | ||
regulator-max-microvolt = <1800000>; | ||
vin-supply = <&parent_reg>; | ||
fcs,suspend-voltage-selector = <1>; | ||
}; |
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,36 @@ | ||
Intersil ISL9305/ISL9305H voltage regulator | ||
|
||
Required properties: | ||
|
||
- compatible: "isl,isl9305" or "isl,isl9305h" | ||
- reg: I2C slave address, usually 0x68. | ||
- regulators: A node that houses a sub-node for each regulator within the | ||
device. Each sub-node is identified using the node's name, with valid | ||
values being "dcd1", "dcd2", "ldo1" and "ldo2". The content of each sub-node | ||
is defined by the standard binding for regulators; see regulator.txt. | ||
- VINDCD1-supply: A phandle to a regulator node supplying VINDCD1. | ||
VINDCD2-supply: A phandle to a regulator node supplying VINDCD2. | ||
VINLDO1-supply: A phandle to a regulator node supplying VINLDO1. | ||
VINLDO2-supply: A phandle to a regulator node supplying VINLDO2. | ||
|
||
Optional properties: | ||
- Per-regulator optional properties are defined in regulator.txt | ||
|
||
Example | ||
|
||
pmic: isl9305@68 { | ||
compatible = "isl,isl9305"; | ||
reg = <0x68>; | ||
|
||
VINDCD1-supply = <&system_power>; | ||
VINDCD2-supply = <&system_power>; | ||
VINLDO1-supply = <&system_power>; | ||
VINLDO2-supply = <&system_power>; | ||
|
||
regulators { | ||
dcd1 { | ||
regulator-name = "VDD_DSP"; | ||
regulator-always-on; | ||
}; | ||
}; | ||
}; |
27 changes: 27 additions & 0 deletions
27
Documentation/devicetree/bindings/regulator/pwm-regulator.txt
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,27 @@ | ||
pwm regulator bindings | ||
|
||
Required properties: | ||
- compatible: Should be "pwm-regulator" | ||
- pwms: OF device-tree PWM specification (see PWM binding pwm.txt) | ||
- voltage-table: voltage and duty table, include 2 members in each set of | ||
brackets, first one is voltage(unit: uv), the next is duty(unit: percent) | ||
|
||
Any property defined as part of the core regulator binding defined in | ||
regulator.txt can also be used. | ||
|
||
Example: | ||
pwm_regulator { | ||
compatible = "pwm-regulator; | ||
pwms = <&pwm1 0 8448 0>; | ||
|
||
voltage-table = <1114000 0>, | ||
<1095000 10>, | ||
<1076000 20>, | ||
<1056000 30>, | ||
<1036000 40>, | ||
<1016000 50>; | ||
|
||
regulator-min-microvolt = <1016000>; | ||
regulator-max-microvolt = <1114000>; | ||
regulator-name = "vdd_logic"; | ||
}; |
16 changes: 16 additions & 0 deletions
16
Documentation/devicetree/bindings/regulator/sky81452-regulator.txt
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,16 @@ | ||
SKY81452 voltage regulator | ||
|
||
Required properties: | ||
- any required generic properties defined in regulator.txt | ||
|
||
Optional properties: | ||
- any available generic properties defined in regulator.txt | ||
|
||
Example: | ||
|
||
regulator { | ||
/* generic regulator properties */ | ||
regulator-name = "touch_en"; | ||
regulator-min-microvolt = <4500000>; | ||
regulator-max-microvolt = <8000000>; | ||
}; |
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
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.