Skip to content

Commit

Permalink
ARM: regulator: add tps6507x device tree data
Browse files Browse the repository at this point in the history
Add device tree data for tps6507x regulator by adding
all tps6507x regulator nodes. Regulators are initialized
based on compatible name provided in tps6507x DT file.

All tps6507x PMIC regulator device tree nodes are placed
in a separate device tree include file (tps6507x.dtsi).
tps6507x.dtsi file is created using datasheet
http://www.ti.com/lit/ds/symlink/tps65070.pdf

Tested on da850-evm.

Signed-off-by: Vishwanathrao Badarkhe, Manish <manishv.b@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
  • Loading branch information
Vishwanathrao Badarkhe, Manish authored and Sekhar Nori committed Apr 3, 2013
1 parent 93bd651 commit 59638c1
Showing 1 changed file with 47 additions and 0 deletions.
47 changes: 47 additions & 0 deletions arch/arm/boot/dts/tps6507x.dtsi
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
/*
* Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/

/*
* Integrated Power Management Chip
* http://www.ti.com/lit/ds/symlink/tps65070.pdf
*/

&tps {
compatible = "ti,tps6507x";

regulators {
#address-cells = <1>;
#size-cells = <0>;

vdcdc1_reg: regulator@0 {
reg = <0>;
regulator-compatible = "VDCDC1";
};

vdcdc2_reg: regulator@1 {
reg = <1>;
regulator-compatible = "VDCDC2";
};

vdcdc3_reg: regulator@2 {
reg = <2>;
regulator-compatible = "VDCDC3";
};

ldo1_reg: regulator@3 {
reg = <3>;
regulator-compatible = "LDO1";
};

ldo2_reg: regulator@4 {
reg = <4>;
regulator-compatible = "LDO2";
};

};
};

0 comments on commit 59638c1

Please sign in to comment.