forked from OnePlus-5-T/4.14-kernel-oneplus-msm8998
-
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/as3711', 'regulator/t…
…opic/axp20x', 'regulator/topic/bcm590xx' and 'regulator/topic/da9211' into regulator-next
- Loading branch information
Showing
8 changed files
with
260 additions
and
71 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,63 @@ | ||
* Dialog Semiconductor DA9211/DA9213 Voltage Regulator | ||
|
||
Required properties: | ||
- compatible: "dlg,da9211" or "dlg,da9213". | ||
- reg: I2C slave address, usually 0x68. | ||
- 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. | ||
BUCKA and BUCKB. | ||
|
||
Optional properties: | ||
- Any optional property defined in regulator.txt | ||
|
||
Example 1) DA9211 | ||
|
||
pmic: da9211@68 { | ||
compatible = "dlg,da9211"; | ||
reg = <0x68>; | ||
interrupts = <3 27>; | ||
|
||
regulators { | ||
BUCKA { | ||
regulator-name = "VBUCKA"; | ||
regulator-min-microvolt = < 300000>; | ||
regulator-max-microvolt = <1570000>; | ||
regulator-min-microamp = <2000000>; | ||
regulator-max-microamp = <5000000>; | ||
}; | ||
BUCKB { | ||
regulator-name = "VBUCKB"; | ||
regulator-min-microvolt = < 300000>; | ||
regulator-max-microvolt = <1570000>; | ||
regulator-min-microamp = <2000000>; | ||
regulator-max-microamp = <5000000>; | ||
}; | ||
}; | ||
}; | ||
|
||
Example 2) DA92113 | ||
pmic: da9213@68 { | ||
compatible = "dlg,da9213"; | ||
reg = <0x68>; | ||
interrupts = <3 27>; | ||
|
||
regulators { | ||
BUCKA { | ||
regulator-name = "VBUCKA"; | ||
regulator-min-microvolt = < 300000>; | ||
regulator-max-microvolt = <1570000>; | ||
regulator-min-microamp = <3000000>; | ||
regulator-max-microamp = <6000000>; | ||
}; | ||
BUCKB { | ||
regulator-name = "VBUCKB"; | ||
regulator-min-microvolt = < 300000>; | ||
regulator-max-microvolt = <1570000>; | ||
regulator-min-microamp = <3000000>; | ||
regulator-max-microamp = <6000000>; | ||
}; | ||
}; | ||
}; |
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
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.