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


Groups > linux.kernel > #1173888

[PATCH-V5 4/4] mfd: devicetree: bindings: Add new 88pm800 mfd binding

From Vaibhav Hiremath <vaibhav.hiremath@linaro.org>
Newsgroups linux.kernel
Subject [PATCH-V5 4/4] mfd: devicetree: bindings: Add new 88pm800 mfd binding
Date 2015-06-29 17:40 +0200
Message-ID <pGJk7-77K-39@gated-at.bofh.it> (permalink)
References <pGJk6-77K-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | 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>
---
 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 | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH-V5 4/4] mfd: devicetree: bindings: Add new 88pm800 mfd binding Vaibhav Hiremath <vaibhav.hiremath@linaro.org> - 2015-06-29 17:40 +0200
  Re: [PATCH-V5 4/4] mfd: devicetree: bindings: Add new 88pm800 mfd binding Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2015-06-30 02:40 +0200
  Re: [PATCH-V5 4/4] mfd: devicetree: bindings: Add new 88pm800 mfd binding Krzysztof Kozłowski <k.kozlowski.k@gmail.com> - 2015-06-30 02:40 +0200
    Re: [PATCH-V5 4/4] mfd: devicetree: bindings: Add new 88pm800 mfd  binding Lee Jones <lee.jones@linaro.org> - 2015-07-01 09:50 +0200
      Re: [PATCH-V5 4/4] mfd: devicetree: bindings: Add new 88pm800 mfd binding Krzysztof Kozłowski <k.kozlowski.k@gmail.com> - 2015-07-01 10:10 +0200

csiph-web