-
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 tag 'regulator-v4.5' of git://git.kernel.org/pub/scm/linux/kern…
…el/git/broonie/regulator Pull regulator updates from Mark Brown: "Aside from a fix for a spurious warning (which caused more problems than it fixed in the fixing really) this is all driver updates, including new drivers for Dialog PV88060/90 and TI LM363x and TPS65086 devices. The qcom_smd driver has had PM8916 and PMA8084 support added" * tag 'regulator-v4.5' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator: (36 commits) regulator: core: remove some dead code regulator: core: use dev_to_rdev regulator: lp872x: Get rid of duplicate reference to DVS GPIO regulator: lp872x: Add missing of_match in regulators descriptions regulator: axp20x: Fix GPIO LDO enable value for AXP22x regulator: lp8788: constify regulator_ops structures regulator: wm8*: constify regulator_ops structures regulator: da9*: constify regulator_ops structures regulator: mt6311: Use REGCACHE_RBTREE regulator: tps65917/palmas: Add bypass ops for LDOs with bypass capability regulator: qcom-smd: Add support for PMA8084 regulator: qcom-smd: Add PM8916 support soc: qcom: documentation: Update SMD/RPM Docs regulator: pv88090: logical vs bitwise AND typo regulator: pv88090: Fix irq leak regulator: pv88090: new regulator driver regulator: wm831x-ldo: Use platform_register/unregister_drivers() regulator: wm831x-dcdc: Use platform_register/unregister_drivers() regulator: lp8788-ldo: Use platform_register/unregister_drivers() regulator: core: Fix nested locking of supplies ...
- Loading branch information
Showing
40 changed files
with
2,414 additions
and
248 deletions.
There are no files selected for viewing
34 changes: 34 additions & 0 deletions
34
Documentation/devicetree/bindings/regulator/lm363x-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,34 @@ | ||
TI LMU LM363x regulator device tree bindings | ||
|
||
LM363x regulator driver supports LM3631 and LM3632. | ||
LM3631 has five regulators and LM3632 supports three regulators. | ||
|
||
Required property: | ||
- compatible: "ti,lm363x-regulator" | ||
|
||
Optional properties: | ||
LM3632 has external enable pins for two LDOs. | ||
- ti,lcm-en1-gpio: A GPIO specifier for Vpos control pin. | ||
- ti,lcm-en2-gpio: A GPIO specifier for Vneg control pin. | ||
|
||
Child nodes: | ||
LM3631 | ||
- vboost | ||
- vcont | ||
- voref | ||
- vpos | ||
- vneg | ||
|
||
LM3632 | ||
- vboost | ||
- vpos | ||
- vneg | ||
|
||
Optional properties of a child node: | ||
Each sub-node should contain the constraints and initialization. | ||
Please refer to [1]. | ||
|
||
Examples: Please refer to ti-lmu dt-bindings [2]. | ||
|
||
[1] ../regulator/regulator.txt | ||
[2] ../mfd/ti-lmu.txt |
124 changes: 124 additions & 0 deletions
124
Documentation/devicetree/bindings/regulator/pv88060.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,124 @@ | ||
* Powerventure Semiconductor PV88060 Voltage Regulator | ||
|
||
Required properties: | ||
- compatible: "pvs,pv88060". | ||
- reg: I2C slave address, usually 0x49. | ||
- interrupts: the interrupt outputs of the controller | ||
- 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 listed below. The content of each sub-node is defined by the | ||
standard binding for regulators; see regulator.txt. | ||
BUCK1, LDO1, LDO2, LDO3, LDO4, LDO5, LDO6, LDO7, SW1, SW2, SW3, SW4, | ||
SW5, and SW6. | ||
|
||
Optional properties: | ||
- Any optional property defined in regulator.txt | ||
|
||
Example | ||
|
||
pmic: pv88060@49 { | ||
compatible = "pvs,pv88060"; | ||
reg = <0x49>; | ||
interrupt-parent = <&gpio>; | ||
interrupts = <24 24>; | ||
|
||
regulators { | ||
BUCK1 { | ||
regulator-name = "buck1"; | ||
regulator-min-microvolt = <2800000>; | ||
regulator-max-microvolt = <4387500>; | ||
regulator-min-microamp = <1496000>; | ||
regulator-max-microamp = <4189000>; | ||
regulator-boot-on; | ||
}; | ||
|
||
LDO1 { | ||
regulator-name = "ldo1"; | ||
regulator-min-microvolt = <1200000>; | ||
regulator-max-microvolt = <3350000>; | ||
regulator-boot-on; | ||
}; | ||
|
||
LDO2 { | ||
regulator-name = "ldo2"; | ||
regulator-min-microvolt = <1200000>; | ||
regulator-max-microvolt = <3350000>; | ||
regulator-boot-on; | ||
}; | ||
|
||
LDO3 { | ||
regulator-name = "ldo3"; | ||
regulator-min-microvolt = <1200000>; | ||
regulator-max-microvolt = <3350000>; | ||
regulator-boot-on; | ||
}; | ||
|
||
LDO4 { | ||
regulator-name = "ldo4"; | ||
regulator-min-microvolt = <1200000>; | ||
regulator-max-microvolt = <3350000>; | ||
regulator-boot-on; | ||
}; | ||
|
||
LDO5 { | ||
regulator-name = "ldo5"; | ||
regulator-min-microvolt = <1200000>; | ||
regulator-max-microvolt = <3350000>; | ||
regulator-boot-on; | ||
}; | ||
|
||
LDO6 { | ||
regulator-name = "ldo6"; | ||
regulator-min-microvolt = <1200000>; | ||
regulator-max-microvolt = <3350000>; | ||
regulator-boot-on; | ||
}; | ||
|
||
LDO7 { | ||
regulator-name = "ldo7"; | ||
regulator-min-microvolt = <1200000>; | ||
regulator-max-microvolt = <3350000>; | ||
regulator-boot-on; | ||
}; | ||
|
||
SW1 { | ||
regulator-name = "sw1"; | ||
regulator-min-microvolt = <5000000>; | ||
regulator-max-microvolt = <5000000>; | ||
}; | ||
|
||
SW2 { | ||
regulator-name = "sw2"; | ||
regulator-min-microvolt = <5000000>; | ||
regulator-max-microvolt = <5000000>; | ||
regulator-boot-on; | ||
}; | ||
|
||
SW3 { | ||
regulator-name = "sw3"; | ||
regulator-min-microvolt = <5000000>; | ||
regulator-max-microvolt = <5000000>; | ||
regulator-boot-on; | ||
}; | ||
|
||
SW4 { | ||
regulator-name = "sw4"; | ||
regulator-min-microvolt = <5000000>; | ||
regulator-max-microvolt = <5000000>; | ||
regulator-boot-on; | ||
}; | ||
|
||
SW5 { | ||
regulator-name = "sw5"; | ||
regulator-min-microvolt = <5000000>; | ||
regulator-max-microvolt = <5000000>; | ||
regulator-boot-on; | ||
}; | ||
|
||
SW6 { | ||
regulator-name = "sw6"; | ||
regulator-min-microvolt = <5000000>; | ||
regulator-max-microvolt = <5000000>; | ||
}; | ||
}; | ||
}; |
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,65 @@ | ||
* Powerventure Semiconductor PV88090 Voltage Regulator | ||
|
||
Required properties: | ||
- compatible: "pvs,pv88090". | ||
- reg: I2C slave address, usually 0x48. | ||
- interrupts: the interrupt outputs of the controller | ||
- 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 listed below. The content of each sub-node is defined by the | ||
standard binding for regulators; see regulator.txt. | ||
BUCK1, BUCK2, BUCK3, LDO1, and LDO2. | ||
|
||
Optional properties: | ||
- Any optional property defined in regulator.txt | ||
|
||
Example | ||
|
||
pmic: pv88090@48 { | ||
compatible = "pvs,pv88090"; | ||
reg = <0x48>; | ||
interrupt-parent = <&gpio>; | ||
interrupts = <24 24>; | ||
|
||
regulators { | ||
BUCK1 { | ||
regulator-name = "buck1"; | ||
regulator-min-microvolt = < 600000>; | ||
regulator-max-microvolt = <1393750>; | ||
regulator-min-microamp = < 220000>; | ||
regulator-max-microamp = <7040000>; | ||
regulator-boot-on; | ||
}; | ||
|
||
BUCK2 { | ||
regulator-name = "buck2"; | ||
regulator-min-microvolt = < 600000>; | ||
regulator-max-microvolt = <1393750>; | ||
regulator-min-microamp = <1496000>; | ||
regulator-max-microamp = <4189000>; | ||
}; | ||
|
||
BUCK3 { | ||
regulator-name = "buck3"; | ||
regulator-min-microvolt = <600000>; | ||
regulator-max-microvolt = <1393750>; | ||
regulator-min-microamp = <1496000>; | ||
regulator-max-microamp = <4189000>; | ||
regulator-boot-on; | ||
}; | ||
|
||
LDO1 { | ||
regulator-name = "ldo1"; | ||
regulator-min-microvolt = <1200000>; | ||
regulator-max-microvolt = <4350000>; | ||
regulator-boot-on; | ||
}; | ||
|
||
LDO2 { | ||
regulator-name = "ldo2"; | ||
regulator-min-microvolt = < 650000>; | ||
regulator-max-microvolt = <2225000>; | ||
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
Oops, something went wrong.