mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jiancheng Xue <xuejiancheng@hisilicon.com>
To: <robh+dt@kernel.org>, <kishon@ti.com>, <xuwei5@hisilicon.com>,
	<catalin.marinas@arm.com>
Cc: <devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
	<linux-arm-kernel@lists.infradead.org>,
	<hermit.wangheming@hisilicon.com>, <project-aspen-dev@linaro.org>,
	Jiancheng Xue <xuejiancheng@hisilicon.com>
Subject: [PATCH v2 1/4] dt-bindings: phy-hisi-inno-usb2: add support for hisi-inno-usb2 phy
Date: Wed, 26 Jul 2017 14:06:00 +0800	[thread overview]
Message-ID: <1501049163-18892-2-git-send-email-xuejiancheng@hisilicon.com> (raw)
In-Reply-To: <1501049163-18892-1-git-send-email-xuejiancheng@hisilicon.com>

Add support for hisi-inno-usb2 phy.

Signed-off-by: Jiancheng Xue <xuejiancheng@hisilicon.com>
---
 .../devicetree/bindings/phy/phy-hisi-inno-usb2.txt | 31 ++++++++++++++++++++++
 1 file changed, 31 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/phy/phy-hisi-inno-usb2.txt

diff --git a/Documentation/devicetree/bindings/phy/phy-hisi-inno-usb2.txt b/Documentation/devicetree/bindings/phy/phy-hisi-inno-usb2.txt
new file mode 100644
index 0000000..417eeaa
--- /dev/null
+++ b/Documentation/devicetree/bindings/phy/phy-hisi-inno-usb2.txt
@@ -0,0 +1,31 @@
+HiSilicon INNO USB2 PHY
+-----------------------
+Required properties:
+- compatible: Should be one of the following strings:
+		"hisilicon,inno-usb2-phy",
+		"hisilicon,hi3798cv200-usb2-phy",
+- #phy-cells: Shall be 0.
+- hisilicon,peripheral-syscon: Phandle of syscon used to control phy.
+- hisilicon,phycon-reg: Offset of the phy control register in the syscon.
+- hisilicon,port-num: Number of utmi ports. Range [1,2].
+- clocks: Phandle and clock specifier pair for reference clock utmi_refclk.
+- resets: List of phandle and reset specifier pairs for each reset signal
+in reset-names.
+- reset-names: Shall be "power_on", "utmi0", "utmi1". Thereinto, utmi[n] is
+required only if port[n] exists.
+
+Refer to phy/phy-bindings.txt for the generic PHY binding properties
+
+Example:
+usb2_phy: phy {
+		 compatible = "hisilicon,inno-usb2-phy";
+		 #phy-cells = <0>;
+		 hisilicon,peripheral-syscon = <&peri_ctrl>;
+		 hisilicon,phycon-reg = <0x120>;
+		 hisilicon,port-num = <2>;
+		 clocks = <&crg USB2_PHY_UTMI_REF_CLK>;
+		 resets = <&crg 0xbc 2>,
+			  <&crg 0xbc 8>,
+			  <&crg 0xbc 9>,
+		 reset-names = "power_on", "utmi0", "utmi1";
+	 };
-- 
1.9.1

  reply	other threads:[~2017-07-26  6:34 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-26  6:05 [PATCH v2 0/4] Enable usb2 function on poplar board Jiancheng Xue
2017-07-26  6:06 ` Jiancheng Xue [this message]
2017-08-03 18:54   ` [PATCH v2 1/4] dt-bindings: phy-hisi-inno-usb2: add support for hisi-inno-usb2 phy Rob Herring
2017-07-26  6:06 ` [PATCH v2 2/4] phy: add inno-usb2-phy driver for hi3798cv200 SoC Jiancheng Xue
2017-08-04  5:26   ` Kishon Vijay Abraham I
2017-07-26  6:06 ` [PATCH v2 3/4] arm64: dts: hisilicon: add usb2 controller and phy nodes for poplar board Jiancheng Xue
2017-07-26  6:06 ` [PATCH v2 4/4] arm64: defconfig: enable some drivers for hi3798cv200-poplar board Jiancheng Xue

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=1501049163-18892-2-git-send-email-xuejiancheng@hisilicon.com \
    --to=xuejiancheng@hisilicon.com \
    --cc=catalin.marinas@arm.com \
    --cc=devicetree@vger.kernel.org \
    --cc=hermit.wangheming@hisilicon.com \
    --cc=kishon@ti.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=project-aspen-dev@linaro.org \
    --cc=robh+dt@kernel.org \
    --cc=xuwei5@hisilicon.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®