Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752571Ab3CGGZI (ORCPT ); Thu, 7 Mar 2013 01:25:08 -0500 Received: from comal.ext.ti.com ([198.47.26.152]:55526 "EHLO comal.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750811Ab3CGGZD (ORCPT ); Thu, 7 Mar 2013 01:25:03 -0500 From: "Vishwanathrao Badarkhe, Manish" To: , , , , CC: , , , , , Subject: [RESEND 0/2] davinci: Add device tree data for tps6507x. Date: Thu, 7 Mar 2013 11:56:19 +0530 Message-ID: <1362637581-12673-1-git-send-email-manishv.b@ti.com> X-Mailer: git-send-email 1.7.9.5 MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1684 Lines: 44 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/