devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: J Keerthy <j-keerthy@ti.com>
To: b-cousson@ti.com, devicetree-discuss@lists.ozlabs.org
Cc: linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org,
	ldewangan@nvidia.com, grant.likely@secretlab.ca,
	swarren@wwwdotorg.org, swarren@nvidia.com, sameo@linux.intel.com,
	gg@slimlogic.co.uk, lee.jones@linaro.org,
	J Keerthy <j-keerthy@ti.com>
Subject: [PATCH 1/2] ARM: dts: add dtsi for palmas
Date: Mon, 10 Jun 2013 11:52:14 +0530	[thread overview]
Message-ID: <1370845335-14926-2-git-send-email-j-keerthy@ti.com> (raw)
In-Reply-To: <1370845335-14926-1-git-send-email-j-keerthy@ti.com>

Adds palmas mfd and palmas regulator nodes.

Signed-off-by: Graeme Gregory <gg@slimlogic.co.uk>
Signed-off-by: J Keerthy <j-keerthy@ti.com>
---
 arch/arm/boot/dts/palmas.dtsi |   98 +++++++++++++++++++++++++++++++++++++++++
 1 files changed, 98 insertions(+), 0 deletions(-)
 create mode 100644 arch/arm/boot/dts/palmas.dtsi

diff --git a/arch/arm/boot/dts/palmas.dtsi b/arch/arm/boot/dts/palmas.dtsi
new file mode 100644
index 0000000..4c5162f
--- /dev/null
+++ b/arch/arm/boot/dts/palmas.dtsi
@@ -0,0 +1,98 @@
+/*
+ * 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.
+ */
+
+#include <dt-bindings/interrupt-controller/irq.h>
+
+&palmas {
+	compatible = "ti,palmas";
+	interrupt-controller;
+	#interrupt-cells = <2>;
+
+	palmas_pmic {
+		compatible = "ti,palmas-pmic";
+		interrupt-parent = <&palmas>;
+		interrupts = <14 IRQ_TYPE_NONE>;
+		interrupt-name = "short-irq";
+
+		ti,ldo6-vibrator;
+
+		regulators {
+			smps123_reg: smps123 {
+				regulator-name = "smps123";
+			};
+
+			smps45_reg: smps45 {
+				regulator-name = "smps45";
+			};
+
+			smps6_reg: smps6 {
+				regulator-name = "smps6";
+			};
+
+			smps7_reg: smps7 {
+				regulator-name = "smps7";
+			};
+
+			smps8_reg: smps8 {
+				regulator-name = "smps8";
+			};
+
+			smps9_reg: smps9 {
+				regulator-name = "smps9";
+			};
+
+			smps10_reg: smps10 {
+				regulator-name = "smps10";
+			};
+
+			ldo1_reg: ldo1 {
+				regulator-name = "ldo1";
+			};
+
+			ldo2_reg: ldo2 {
+				regulator-name = "ldo2";
+			};
+
+			ldo3_reg: ldo3 {
+				regulator-name = "ldo3";
+			};
+
+			ldo4_reg: ldo4 {
+				regulator-name = "ldo4";
+			};
+
+			ldo5_reg: ldo5 {
+				regulator-name = "ldo5";
+			};
+
+			ldo6_reg: ldo6 {
+				regulator-name = "ldo6";
+			};
+
+			ldo7_reg: ldo7 {
+				regulator-name = "ldo7";
+			};
+
+			ldo8_reg: ldo8 {
+				regulator-name = "ldo8";
+			};
+
+			ldo9_reg: ldo9 {
+				regulator-name = "ldo9";
+			};
+
+			ldoln_reg: ldoln {
+				regulator-name = "ldoln";
+			};
+
+			ldousb_reg: ldousb {
+				regulator-name = "ldousb";
+			};
+		};
+	};
+};
-- 
1.7.5.4

  reply	other threads:[~2013-06-10  6:22 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-10  6:22 [PATCH 0/2] ARM: dts: Add palmas dtsi J Keerthy
2013-06-10  6:22 ` J Keerthy [this message]
2013-06-10  6:22 ` [PATCH 2/2] ARM: dts: OMAP5: add palmas node and omap specific palmas regulator properties J Keerthy
2013-06-10  8:12   ` Lee Jones
2013-06-10  8:19     ` J, KEERTHY

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1370845335-14926-2-git-send-email-j-keerthy@ti.com \
    --to=j-keerthy@ti.com \
    --cc=b-cousson@ti.com \
    --cc=devicetree-discuss@lists.ozlabs.org \
    --cc=gg@slimlogic.co.uk \
    --cc=grant.likely@secretlab.ca \
    --cc=ldewangan@nvidia.com \
    --cc=lee.jones@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=sameo@linux.intel.com \
    --cc=swarren@nvidia.com \
    --cc=swarren@wwwdotorg.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).