From: Kishon Vijay Abraham I <kishon@ti.com>
To: <gregkh@linuxfoundation.org>
Cc: <kishon@ti.com>, <linux-kernel@vger.kernel.org>
Subject: [PATCH 06/11] Documentation: Document Exynos5 USB 3.0 DRD PHY
Date: Fri, 16 May 2014 18:33:01 +0530 [thread overview]
Message-ID: <1400245387-14445-7-git-send-email-kishon@ti.com> (raw)
In-Reply-To: <1400245387-14445-1-git-send-email-kishon@ti.com>
From: Vivek Gautam <gautam.vivek@samsung.com>
Add necessary binding documentation for USB 3.0 DRD PHY present on
Exynos5 SoC series.
Signed-off-by: Vivek Gautam <gautam.vivek@samsung.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
---
.../devicetree/bindings/phy/samsung-phy.txt | 47 ++++++++++++++++++++
1 file changed, 47 insertions(+)
diff --git a/Documentation/devicetree/bindings/phy/samsung-phy.txt b/Documentation/devicetree/bindings/phy/samsung-phy.txt
index b422e38..2049261 100644
--- a/Documentation/devicetree/bindings/phy/samsung-phy.txt
+++ b/Documentation/devicetree/bindings/phy/samsung-phy.txt
@@ -114,3 +114,50 @@ Example:
compatible = "samsung,exynos-sataphy-i2c";
reg = <0x38>;
};
+
+Samsung Exynos5 SoC series USB DRD PHY controller
+--------------------------------------------------
+
+Required properties:
+- compatible : Should be set to one of the following supported values:
+ - "samsung,exynos5250-usbdrd-phy" - for exynos5250 SoC,
+ - "samsung,exynos5420-usbdrd-phy" - for exynos5420 SoC.
+- reg : Register offset and length of USB DRD PHY register set;
+- clocks: Clock IDs array as required by the controller
+- clock-names: names of clocks correseponding to IDs in the clock property;
+ Required clocks:
+ - phy: main PHY clock (same as USB DRD controller i.e. DWC3 IP clock),
+ used for register access.
+ - ref: PHY's reference clock (usually crystal clock), used for
+ PHY operations, associated by phy name. It is used to
+ determine bit values for clock settings register.
+ For Exynos5420 this is given as 'sclk_usbphy30' in CMU.
+- samsung,pmu-syscon: phandle for PMU system controller interface, used to
+ control pmu registers for power isolation.
+- #phy-cells : from the generic PHY bindings, must be 1;
+
+For "samsung,exynos5250-usbdrd-phy" and "samsung,exynos5420-usbdrd-phy"
+compatible PHYs, the second cell in the PHY specifier identifies the
+PHY id, which is interpreted as follows:
+ 0 - UTMI+ type phy,
+ 1 - PIPE3 type phy,
+
+Example:
+ usbdrd_phy: usbphy@12100000 {
+ compatible = "samsung,exynos5250-usbdrd-phy";
+ reg = <0x12100000 0x100>;
+ clocks = <&clock 286>, <&clock 1>;
+ clock-names = "phy", "ref";
+ samsung,pmu-syscon = <&pmu_system_controller>;
+ #phy-cells = <1>;
+ };
+
+- aliases: For SoCs like Exynos5420 having multiple USB 3.0 DRD PHY controllers,
+ 'usbdrd_phy' nodes should have numbered alias in the aliases node,
+ in the form of usbdrdphyN, N = 0, 1... (depending on number of
+ controllers).
+Example:
+ aliases {
+ usbdrdphy0 = &usb3_phy0;
+ usbdrdphy1 = &usb3_phy1;
+ };
--
1.7.9.5
next prev parent reply other threads:[~2014-05-16 13:03 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-16 13:02 [GIT PULL 00/11] PHY: for 3.16 Kishon Vijay Abraham I
2014-05-16 13:02 ` [PATCH 01/11] phy: omap-usb2: Use generic clock names "wkupclk" and "refclk" Kishon Vijay Abraham I
2014-05-16 13:02 ` [PATCH 02/11] phy: omap-usb2: Add clock names to Documentation binding Kishon Vijay Abraham I
2014-05-16 13:02 ` [PATCH 03/11] PHY: Exynos: fix SATA phy license typo Kishon Vijay Abraham I
2014-05-16 13:02 ` [PATCH 04/11] phy: exynos-mipi-video: fix check on array index Kishon Vijay Abraham I
2014-05-16 13:03 ` [PATCH 05/11] phy: kona2: use 'select GENERIC_PHY' in Kconfig Kishon Vijay Abraham I
2014-05-16 13:03 ` Kishon Vijay Abraham I [this message]
2014-05-16 13:03 ` [PATCH 07/11] phy: Add new Exynos5 USB 3.0 PHY driver Kishon Vijay Abraham I
2014-05-16 13:03 ` [PATCH 08/11] phy: exynos5-usbdrd: Add facility for VBUS supply Kishon Vijay Abraham I
2014-05-16 13:03 ` [PATCH 09/11] phy: sunxi: Rework phy initialization Kishon Vijay Abraham I
2014-05-16 13:03 ` [PATCH 10/11] Documentation: dt: Add new compatible for the A31 USB Phy Kishon Vijay Abraham I
2014-05-16 13:03 ` [PATCH 11/11] phy: usb: sunxi: Introduce Allwinner A31 USB PHY support Kishon Vijay Abraham I
2014-05-20 0:57 ` [GIT PULL 00/11] PHY: for 3.16 Greg KH
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=1400245387-14445-7-git-send-email-kishon@ti.com \
--to=kishon@ti.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
/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®