public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [RESEND 0/2] davinci: Add device tree data for tps6507x.
@ 2013-03-07  6:26 Vishwanathrao Badarkhe, Manish
  2013-03-07  6:26 ` [RESEND 1/2] ARM: regulator: add tps6507x device tree data Vishwanathrao Badarkhe, Manish
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Vishwanathrao Badarkhe, Manish @ 2013-03-07  6:26 UTC (permalink / raw)
  To: devicetree-discuss, linux-doc, linux-kernel, linux-arm-kernel,
	davinci-linux-open-source
  Cc: broonie, nsekhar, linux, rob.herring, grant.likely, manishv.b

Add device tree data for regulator via tps6507x mfd device 
in da850-evm.
Applies on top of v3.9-rc1 of linus tree.

Tested on da850-evm device.

Test procedure followed as below:
Once device boots up, issue command as:

$for reg in /sys/class/regulator/*; do echo $reg `cat $reg/name`
 `cat $reg/state` `cat $reg/microvolts`; done

This command will print all available regulators with its name,
status (enabled/disabled) and voltages(in microvolts) like as below:
/sys/class/regulator/regulator.1 VDCDC1_3.3V enabled 3300000
/sys/class/regulator/regulator.2 VDCDC2_3.3V enabled 3300000
/sys/class/regulator/regulator.3 VDCDC3_1.2V enabled 1200000
/sys/class/regulator/regulator.4 LDO1_1.8V enabled 1800000
/sys/class/regulator/regulator.5 LDO2_1.2V enabled 1200000

Note: Some of patches in this series are already accepted and 
residing in v3.9-rc1 kernel. These patches are as follows:

1. mfd: tps6507x: add device-tree support.
2. regulator: tps6507x: add device tree support. 
3. ARM: davinci: da850: add DT node for I2C0. 

Vishwanathrao Badarkhe, Manish (2):
  ARM: regulator: add tps6507x device tree data
  ARM: davinci: da850: add tps6507x regulator DT data

 arch/arm/boot/dts/da850-evm.dts |   63 +++++++++++++++++++++++++++++++++++++++
 arch/arm/boot/dts/tps6507x.dtsi |   47 +++++++++++++++++++++++++++++
 2 files changed, 110 insertions(+), 0 deletions(-)
 create mode 100644 arch/arm/boot/dts/tps6507x.dtsi

-- 
1.7.4.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-03-15 10:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-07  6:26 [RESEND 0/2] davinci: Add device tree data for tps6507x Vishwanathrao Badarkhe, Manish
2013-03-07  6:26 ` [RESEND 1/2] ARM: regulator: add tps6507x device tree data Vishwanathrao Badarkhe, Manish
2013-03-07  6:26 ` [RESEND 2/2] ARM: davinci: da850: add tps6507x regulator DT data Vishwanathrao Badarkhe, Manish
2013-03-15 10:36 ` [RESEND 0/2] davinci: Add device tree data for tps6507x Sekhar Nori

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox