Skip to content

Commit

Permalink
mfd: dt-bindings: Add Device Tree bindings for HI6421
Browse files Browse the repository at this point in the history
Add documentation for HiSilicon Hi6421 PMIC DT binding.

Signed-off-by: Guodong Xu <guodong.xu@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
  • Loading branch information
Guodong Xu authored and Lee Jones committed Sep 26, 2014
1 parent 85de80e commit 0709b04
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions Documentation/devicetree/bindings/mfd/hi6421.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
* HI6421 Multi-Functional Device (MFD), by HiSilicon Ltd.

Required parent device properties:
- compatible : contains "hisilicon,hi6421-pmic";
- reg : register range space of hi6421;

Supported Hi6421 sub-devices include:

Device IRQ Names Supply Names Description
------ --------- ------------ -----------
regulators : None : None : Regulators

Required child device properties:
None.

Example:
hi6421 {
compatible = "hisilicon,hi6421-pmic";
reg = <0xfcc00000 0x0180>; /* 0x60 << 2 */

regulators {
// supply for MLC NAND/ eMMC
hi6421_vout0_reg: hi6421_vout0 {
regulator-name = "VOUT0";
regulator-min-microvolt = <2850000>;
regulator-max-microvolt = <2850000>;
};

// supply for 26M Oscillator
hi6421_vout1_reg: hi6421_vout1 {
regulator-name = "VOUT1";
regulator-min-microvolt = <1700000>;
regulator-max-microvolt = <2000000>;
regulator-boot-on;
regulator-always-on;
};
};
};

0 comments on commit 0709b04

Please sign in to comment.