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


Groups > linux.kernel > #1624766

[PATCH V3 2/2] ARM64: dts: hi6220-hikey: Add clock binding for the pmic mfd

From Daniel Lezcano <daniel.lezcano@linaro.org>
Newsgroups linux.kernel
Subject [PATCH V3 2/2] ARM64: dts: hi6220-hikey: Add clock binding for the pmic mfd
Date 2017-04-17 19:30 +0200
Message-ID <txiDo-3sK-19@gated-at.bofh.it> (permalink)
References <txiDn-3sK-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
---
 Documentation/devicetree/bindings/mfd/hisilicon,hi655x.txt | 6 ++++++
 arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts             | 1 +
 2 files changed, 7 insertions(+)

diff --git a/Documentation/devicetree/bindings/mfd/hisilicon,hi655x.txt b/Documentation/devicetree/bindings/mfd/hisilicon,hi655x.txt
index 0548569..9630ac0 100644
--- a/Documentation/devicetree/bindings/mfd/hisilicon,hi655x.txt
+++ b/Documentation/devicetree/bindings/mfd/hisilicon,hi655x.txt
@@ -16,6 +16,11 @@ Required properties:
 - reg:                  Base address of PMIC on Hi6220 SoC.
 - interrupt-controller: Hi655x has internal IRQs (has own IRQ domain).
 - pmic-gpios:           The GPIO used by PMIC IRQ.
+- #clock-cells:		From common clock binding; shall be set to 0
+
+Optional properties:
+- clock-output-names: From common clock binding to override the
+  default output clock name
 
 Example:
 	pmic: pmic@f8000000 {
@@ -24,4 +29,5 @@ Example:
 		interrupt-controller;
 		#interrupt-cells = <2>;
 		pmic-gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>;
+		#clock-cells = <0>;
 	}
diff --git a/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts b/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts
index dba3c13..e0496f7 100644
--- a/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts
+++ b/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts
@@ -325,6 +325,7 @@
 	pmic: pmic@f8000000 {
 		compatible = "hisilicon,hi655x-pmic";
 		reg = <0x0 0xf8000000 0x0 0x1000>;
+		#clock-cells = <0>;
 		interrupt-controller;
 		#interrupt-cells = <2>;
 		pmic-gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>;
-- 
1.9.1

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


Thread

[PATCH V3 1/2] clk: hi6220: Add the hi655x's pmic clock Daniel Lezcano <daniel.lezcano@linaro.org> - 2017-04-17 19:30 +0200
  [PATCH V3 2/2] ARM64: dts: hi6220-hikey: Add clock binding for the pmic mfd Daniel Lezcano <daniel.lezcano@linaro.org> - 2017-04-17 19:30 +0200
    Re: [PATCH V3 2/2] ARM64: dts: hi6220-hikey: Add clock binding for  the pmic mfd Rob Herring <robh@kernel.org> - 2017-04-20 16:30 +0200
    Re: [PATCH V3 2/2] ARM64: dts: hi6220-hikey: Add clock binding for  the pmic mfd Stephen Boyd <sboyd@codeaurora.org> - 2017-04-22 04:10 +0200
      Re: [PATCH V3 2/2] ARM64: dts: hi6220-hikey: Add clock binding for  the pmic mfd Lee Jones <lee.jones@linaro.org> - 2017-04-24 11:10 +0200
        Re: [PATCH V3 2/2] ARM64: dts: hi6220-hikey: Add clock binding for  the pmic mfd Daniel Lezcano <daniel.lezcano@linaro.org> - 2017-04-24 11:20 +0200
          Re: [PATCH V3 2/2] ARM64: dts: hi6220-hikey: Add clock binding for  the pmic mfd Lee Jones <lee.jones@linaro.org> - 2017-04-24 15:10 +0200
        Re: [PATCH V3 2/2] ARM64: dts: hi6220-hikey: Add clock binding for  the pmic mfd Daniel Lezcano <daniel.lezcano@linaro.org> - 2017-04-24 22:20 +0200
          Re: [PATCH V3 2/2] ARM64: dts: hi6220-hikey: Add clock binding for  the pmic mfd Arnd Bergmann <arnd@arndb.de> - 2017-04-24 22:30 +0200
  Re: [PATCH V3 1/2] clk: hi6220: Add the hi655x's pmic clock Stephen Boyd <sboyd@codeaurora.org> - 2017-04-22 04:10 +0200

csiph-web