mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Xu YiPing <xuyiping@hisilicon.com>
To: <mturquette@baylibre.com>, <sboyd@codeaurora.org>,
	<robh+dt@kernel.org>, <mark.rutland@arm.com>,
	<xuwei5@hisilicon.com>, <catalin.marinas@arm.com>,
	<will.deacon@arm.com>, <xuejiancheng@hisilicon.com>,
	<wenpan@hisilicon.com>, <leo.yan@linaro.org>,
	<zhangfei.gao@linaro.org>, <guodong.xu@linaro.org>,
	<zhongkaihua@huawei.com>, <chenjun14@huawei.com>
Cc: <linux-clk@vger.kernel.org>, <devicetree@vger.kernel.org>,
	<linux-kernel@vger.kernel.org>,
	<linux-arm-kernel@lists.infradead.org>,
	<suzhuangluan@hisilicon.com>, <xuezhiliang@hisilicon.com>,
	<kevin.wangtao@hisilicon.com>
Subject: [PATCH v3 1/3] dt-bindings: clk: Hi3660: Document stub clock
Date: Fri, 17 Nov 2017 17:27:30 +0800	[thread overview]
Message-ID: <1510910852-2175-2-git-send-email-xuyiping@hisilicon.com> (raw)
In-Reply-To: <1510910852-2175-1-git-send-email-xuyiping@hisilicon.com>

From: Leo Yan <leo.yan@linaro.org>

Document the DT binding for stub clock which is used for CPU,
GPU and DDR frequency scaling.

Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Leo Yan <leo.yan@linaro.org>
---
 Documentation/devicetree/bindings/clock/hi3660-clock.txt | 6 ++++++
 include/dt-bindings/clock/hi3660-clock.h                 | 7 +++++++
 2 files changed, 13 insertions(+)

diff --git a/Documentation/devicetree/bindings/clock/hi3660-clock.txt b/Documentation/devicetree/bindings/clock/hi3660-clock.txt
index 0035a7e..946da7c 100644
--- a/Documentation/devicetree/bindings/clock/hi3660-clock.txt
+++ b/Documentation/devicetree/bindings/clock/hi3660-clock.txt
@@ -13,12 +13,18 @@ Required Properties:
 	- "hisilicon,hi3660-pmuctrl"
 	- "hisilicon,hi3660-sctrl"
 	- "hisilicon,hi3660-iomcu"
+	- "hisilicon,hi3660-stub-clk"
 
 - reg: physical base address of the controller and length of memory mapped
   region.
 
 - #clock-cells: should be 1.
 
+Optional Properties:
+
+- mboxes: Phandle to the mailbox for sending message to MCU.
+            (See: ../mailbox/hisilicon,hi3660-mailbox.txt for more info)
+
 Each clock is assigned an identifier and client nodes use this identifier
 to specify the clock which they consume.
 
diff --git a/include/dt-bindings/clock/hi3660-clock.h b/include/dt-bindings/clock/hi3660-clock.h
index adb768d..75d583e 100644
--- a/include/dt-bindings/clock/hi3660-clock.h
+++ b/include/dt-bindings/clock/hi3660-clock.h
@@ -208,4 +208,11 @@
 #define HI3660_CLK_I2C6_IOMCU		3
 #define HI3660_CLK_IOMCU_PERI0		4
 
+/* clk in stub clock */
+#define HI3660_CLK_STUB_CLUSTER0	0
+#define HI3660_CLK_STUB_CLUSTER1	1
+#define HI3660_CLK_STUB_GPU		2
+#define HI3660_CLK_STUB_DDR		3
+#define HI3660_CLK_STUB_NUM		4
+
 #endif	/* __DTS_HI3660_CLOCK_H */
-- 
1.9.1

  reply	other threads:[~2017-11-17  9:28 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-17  9:27 [PATCH v3 0/3] Add support for Hi3660 " Xu YiPing
2017-11-17  9:27 ` Xu YiPing [this message]
2017-12-07  7:00   ` [PATCH v3 1/3] dt-bindings: clk: Hi3660: Document " Stephen Boyd
2017-11-17  9:27 ` [PATCH v3 2/3] clk: hisilicon: Add support for Hi3660 stub clocks Xu YiPing
2017-12-05  2:33   ` Leo Yan
2017-12-07  7:05   ` Stephen Boyd
2017-12-07  8:04     ` Leo Yan
2017-11-17  9:27 ` [PATCH v3 3/3] arm64: dts: Hi3660: Add binding for stub clock Xu YiPing
2018-02-28  5:06   ` Leo Yan
2018-03-02 15:54     ` Wei Xu

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=1510910852-2175-2-git-send-email-xuyiping@hisilicon.com \
    --to=xuyiping@hisilicon.com \
    --cc=catalin.marinas@arm.com \
    --cc=chenjun14@huawei.com \
    --cc=devicetree@vger.kernel.org \
    --cc=guodong.xu@linaro.org \
    --cc=kevin.wangtao@hisilicon.com \
    --cc=leo.yan@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=mturquette@baylibre.com \
    --cc=robh+dt@kernel.org \
    --cc=sboyd@codeaurora.org \
    --cc=suzhuangluan@hisilicon.com \
    --cc=wenpan@hisilicon.com \
    --cc=will.deacon@arm.com \
    --cc=xuejiancheng@hisilicon.com \
    --cc=xuezhiliang@hisilicon.com \
    --cc=xuwei5@hisilicon.com \
    --cc=zhangfei.gao@linaro.org \
    --cc=zhongkaihua@huawei.com \
    /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

all inboxes | Powered by JetHome®