Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1179734

[PATCH-v6 6/6] mfd: devicetree: bindings: Add new 88pm800 mfd binding

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Vaibhav Hiremath <vaibhav.hiremath@linaro.org>
Newsgroups linux.kernel
Subject [PATCH-v6 6/6] mfd: devicetree: bindings: Add new 88pm800 mfd binding
Date Wed, 08 Jul 2015 14:40:02 +0200
Message-ID <pJWNQ-2GX-5@gated-at.bofh.it> (permalink)
References <pJWEa-2Dy-21@gated-at.bofh.it>
X-Original-To linux-arm-kernel@lists.infradead.org
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=9iOXkhcXLPwhArTsEOY3Y2vgabdvsnbEtE0DNyty3ng=; b=anrVpnCUrqrNiPGgJF6VPW2oTeqMtGDmufgJpStrS4E/fBGpAj6EVJhZphH3w3XIcC sCJac3w6XvpEaWZApuJ+ni7CVxRbSeciUUKZOwTle16xfpou458illiIbcKg7Hm0W35F YNM+BdDfFprm1u0xXzUaO1si4NGc9xeVsX8pNKJ4hJYf80vul+7ZurDDz5cSE2eZXT5I iRqViXwOkQ8qCNT/5RDzqN0/eDghP/Srb7Ya3/pXzgw+tjn//5Cs/poWj8CIuyN6iY6t zqRh2lU8MFzSAmImAvElsp0R44kOS+t5LaXs3+hemoRDNzTIn24Jhn+drIPc/btnhIQO 8OaA==
X-Gm-Message-State ALoCoQl8AGXEJr/4/M+GesFPW3+jLI0/jTEg7Gk3K2xQ+jB16CTyFpzfXeUjUEx/2RnnoVMMrFiQ
X-Received by 10.66.144.40 with SMTP id sj8mr19759478pab.55.1436358605764; Wed, 08 Jul 2015 05:30:05 -0700 (PDT)
X-Mailer git-send-email 1.9.1
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 79
Organization linux.* mail to news gateway
X-Original-Cc Vaibhav Hiremath <vaibhav.hiremath@linaro.org>, Rob Herring <robh+dt@kernel.org>, Pawel Moll <pawel.moll@arm.com>, Mark Rutland <mark.rutland@arm.com>, Ian Campbell <ijc+devicetree@hellion.org.uk>, Kumar Gala <galak@codeaurora.org>, Krzysztof Kozlowski <k.kozlowski@samsung.com>, Lee Jones <lee.jones@linaro.org>, devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), linux-kernel@vger.kernel.org (open list)
X-Original-Date Wed, 8 Jul 2015 17:56:32 +0530
X-Original-Message-ID <1436358392-15449-7-git-send-email-vaibhav.hiremath@linaro.org>
X-Original-References <1436358392-15449-1-git-send-email-vaibhav.hiremath@linaro.org>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref aioe.org linux.kernel:1179734

Show key headers only | View raw


With addition of DT support to 88pm800 mfd driver, this patch
adds new DT binding documentation along with respective properties.

Signed-off-by: Vaibhav Hiremath <vaibhav.hiremath@linaro.org>
Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Acked-by: Rob Herring <robh@kernel.org>
Acked-by: Lee Jones <lee.jones@linaro.org>
---
 Documentation/devicetree/bindings/mfd/88pm800.txt | 53 +++++++++++++++++++++++
 1 file changed, 53 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/mfd/88pm800.txt

diff --git a/Documentation/devicetree/bindings/mfd/88pm800.txt b/Documentation/devicetree/bindings/mfd/88pm800.txt
new file mode 100644
index 0000000..dec842f
--- /dev/null
+++ b/Documentation/devicetree/bindings/mfd/88pm800.txt
@@ -0,0 +1,53 @@
+* Marvell 88PM80x Power Management IC
+
+Required parent device properties:
+- compatible		: "marvell,88pm800", "marvell,88pm805", "marvell,88pm860"
+- reg			: the I2C slave address for the 88pm80x family chip
+- interrupts		: IRQ line for the 88pm80x family chip
+- interrupt-controller	: describes the 88pm80x family chip as an interrupt
+			  controller
+- #interrupt-cells 	: should be 1.
+			  The cell is the 88pm80x local IRQ number
+
+88pm80x family of devices consists of varied group of sub-devices:
+
+Device		 	Supply Names	 Description
+------		 	------------	 -----------
+88pm80x-onkey		:		: On key
+88pm80x-rtc		:		: RTC
+88pm80x-regulator	:		: Regulators
+
+Example:
+
+	pmic: 88pm800@30 {
+		compatible = "marvell,88pm800";
+		reg = <0x30>;
+		interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;
+		interrupt-parent = <&gic>;
+		interrupt-controller;
+		#interrupt-cells = <1>;
+
+		regulators {
+			compatible = "marvell,88pm80x-regulator";
+
+			buck1a: BUCK1A {
+				regulator-name = "BUCK1A";
+				regulator-min-microvolt = <600000>;
+				regulator-max-microvolt = <1800000>;
+				regulator-boot-on;
+				regulator-always-on;
+			};
+
+			ldo1: LDO1 {
+				regulator-name = "LDO1";
+				regulator-min-microvolt = <1700000>;
+				regulator-max-microvolt = <3300000>;
+				regulator-boot-on;
+				regulator-always-on;
+			};
+		};
+
+		rtc {
+			compatible = "marvell,88pm80x-rtc";
+		};
+	};
-- 
1.9.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/

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH-v6 6/6] mfd: devicetree: bindings: Add new 88pm800 mfd binding Vaibhav Hiremath <vaibhav.hiremath@linaro.org> - 2015-07-08 14:40 +0200

csiph-web