[PATCH 0/6] davinci: support for i2c0 and tps6507x
From: Vishwanathrao Badarkhe, Manish
Date: Thu Jan 24 2013 - 05:55:51 EST
This patch series enables device tree support for I2C0 and
for regulator via tps6507x mfd device on da850-evm.
Applies on top of v3.8-rc4 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
Vishwanathrao Badarkhe, Manish (6):
ARM: davinci: da850: add OF_DEV_AUXDATA entry for I2C0
ARM: davinci: da850: add DT node for I2C0
davinci: mfd: tps6507x: add device-tree support.
davinci: regulator: tps6507x: add device tree support.
ARM: regulator: add tps6507x device tree data
ARM: davinci: da850: add tps6507x regulator DT data
Documentation/devicetree/bindings/mfd/tps6507x.txt | 91 +++++++++++++++++++
arch/arm/boot/dts/da850-evm.dts | 79 +++++++++++++++++
arch/arm/boot/dts/da850.dtsi | 10 ++
arch/arm/boot/dts/tps6507x.dtsi | 47 ++++++++++
arch/arm/mach-davinci/da8xx-dt.c | 8 ++-
drivers/mfd/tps6507x.c | 9 ++
drivers/regulator/tps6507x-regulator.c | 92 ++++++++++++++++++++
7 files changed, 335 insertions(+), 1 deletions(-)
create mode 100755 Documentation/devicetree/bindings/mfd/tps6507x.txt
create mode 100644 arch/arm/boot/dts/tps6507x.dtsi
--
1.7.4.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/