[PATCH v2 1/2] ARM: dts: add dtsi for palmas

From: J Keerthy
Date: Mon Jun 10 2013 - 05:07:42 EST


Adds palmas mfd and palmas regulator nodes.

Signed-off-by: Graeme Gregory <gg@xxxxxxxxxxxxxxx>
Signed-off-by: J Keerthy <j-keerthy@xxxxxx>
---
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

--
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/