From: Zhangfei Gao <zhangfei.gao@linaro.org>
To: Kishon Vijay Abraham I <kishon@ti.com>,
arnd@arndb.de, mark.rutland@arm.com, haifeng.yan@linaro.org,
jchxue@gmail.com, zhangfei.gao@linaro.org
Cc: linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org,
Jiancheng Xue <xuejiancheng@huawei.com>
Subject: [PATCH v2 1/2] Documentation: Document Hisilicon hix5hd2 sata PHY
Date: Wed, 25 Jun 2014 17:14:07 +0800 [thread overview]
Message-ID: <1403687648-29082-2-git-send-email-zhangfei.gao@linaro.org> (raw)
In-Reply-To: <1403687648-29082-1-git-send-email-zhangfei.gao@linaro.org>
From: Jiancheng Xue <xuejiancheng@huawei.com>
Add necessary binding documentation SATA PHY on Hisilicon hix5hd2 soc.
Signed-off-by: Jiancheng Xue <xuejiancheng@huawei.com>
Signed-off-by: Zhangfei Gao <zhangfei.gao@linaro.org>
---
.../devicetree/bindings/phy/hix5hd2-sata-phy.txt | 22 ++++++++++++++++++++
1 file changed, 22 insertions(+)
create mode 100644 Documentation/devicetree/bindings/phy/hix5hd2-sata-phy.txt
diff --git a/Documentation/devicetree/bindings/phy/hix5hd2-sata-phy.txt b/Documentation/devicetree/bindings/phy/hix5hd2-sata-phy.txt
new file mode 100644
index 0000000..296168b
--- /dev/null
+++ b/Documentation/devicetree/bindings/phy/hix5hd2-sata-phy.txt
@@ -0,0 +1,22 @@
+Hisilicon hix5hd2 SATA PHY
+-----------------------
+
+Required properties:
+- compatible: should be "hisilicon,hix5hd2-sata-phy"
+- reg: offset and length of the PHY registers
+- #phy-cells: must be 0
+Refer to phy/phy-bindings.txt for the generic PHY binding properties
+
+Optional Properties:
+- hisilicon,peripheral-syscon: phandle of syscon used to control peripheral.
+- hisilicon,power-reg: offset and bit number within peripheral-syscon,
+ register of controlling sata power supply.
+
+Example:
+ sata_phy: phy@f9900000 {
+ compatible = "hisilicon,hix5hd2-sata-phy";
+ reg = <0xf9900000 0x10000>;
+ #phy-cells = <0>;
+ hisilicon,peripheral-syscon = <&peripheral_ctrl>;
+ hisilicon,power-reg = <0x8 10>;
+ };
--
1.7.9.5
next prev parent reply other threads:[~2014-06-25 9:14 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-25 9:14 [PATCH v2 0/2] phy: add hix5hd2-sata-phy driver Zhangfei Gao
2014-06-25 9:14 ` Zhangfei Gao [this message]
2014-06-25 12:16 ` [PATCH v2 1/2] Documentation: Document Hisilicon hix5hd2 sata PHY Arnd Bergmann
[not found] ` <201406251416.49561.arnd-r2nGTMty4D4@public.gmane.org>
2014-06-25 12:41 ` zhangfei
[not found] ` <53AAC376.7050705-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2014-06-25 13:32 ` Arnd Bergmann
2014-06-26 13:48 ` zhangfei
[not found] ` <53AC24C6.8000304-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2014-06-26 20:53 ` Arnd Bergmann
2014-06-27 3:37 ` zhangfei
[not found] ` <53ACE6EE.4050300-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2014-06-27 7:50 ` Arnd Bergmann
[not found] ` <1403687648-29082-2-git-send-email-zhangfei.gao-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2014-07-02 11:20 ` Kishon Vijay Abraham I
2014-06-25 9:14 ` [PATCH v2 2/2] phy: add hix5hd2-sata-phy driver Zhangfei Gao
[not found] ` <1403687648-29082-3-git-send-email-zhangfei.gao-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2014-07-02 11:25 ` Kishon Vijay Abraham I
[not found] ` <53B3EC18.5020509-l0cyMroinI0@public.gmane.org>
2014-07-02 11:26 ` Kishon Vijay Abraham I
[not found] ` <53B3EC62.80202-l0cyMroinI0@public.gmane.org>
2014-07-02 15:19 ` zhangfei
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=1403687648-29082-2-git-send-email-zhangfei.gao@linaro.org \
--to=zhangfei.gao@linaro.org \
--cc=arnd@arndb.de \
--cc=devicetree@vger.kernel.org \
--cc=haifeng.yan@linaro.org \
--cc=jchxue@gmail.com \
--cc=kishon@ti.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=xuejiancheng@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;
as well as URLs for NNTP newsgroup(s).