Thread (1 message) 1 message, 1 author, 2014-02-18

Re: [PATCH V6 03/12] phy: st-miphy40lp: Add binding information

From: Mark Rutland <hidden>
Date: 2014-02-18 12:23:25

On Thu, Feb 13, 2014 at 05:19:11AM +0000, Mohit KUMAR DCG wrote:
Hello Mark,
quoted
-----Original Message-----
From: Mark Rutland [mailto:mark.rutland-5wv7dgnIgG8@public.gmane.org]
Sent: Wednesday, February 12, 2014 11:50 PM
To: Mohit KUMAR DCG
Cc: arnd-r2nGTMty4D4@public.gmane.org; Pratyush ANAND; Viresh Kumar; Kishon Vijay Abraham I;
spear-devel; devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH V6 03/12] phy: st-miphy40lp: Add binding information

On Tue, Feb 11, 2014 at 09:29:59AM +0000, Mohit Kumar wrote:
quoted
From: Pratyush Anand <redacted>

ST miphy40lp can be used with PCIe, SATA and Super Speed USB
controllers. SPEAr13XX SoCs use this phy for PCIe and SATA.

Signed-off-by: Pratyush Anand <redacted>
Cc: Mohit Kumar <redacted>
Cc: Arnd Bergmann <redacted>
Cc: Viresh Kumar <redacted>
Cc: Kishon Vijay Abraham I <redacted>
Cc: spear-devel-nkJGhpqTU55BDgjK7y7TUQ@public.gmane.org
Cc: devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
---
 .../devicetree/bindings/phy/st-miphy40lp.txt       |   18
++++++++++++++++++
quoted
 1 files changed, 18 insertions(+), 0 deletions(-)  create mode 100644
Documentation/devicetree/bindings/phy/st-miphy40lp.txt
diff --git a/Documentation/devicetree/bindings/phy/st-miphy40lp.txt
b/Documentation/devicetree/bindings/phy/st-miphy40lp.txt
new file mode 100644
index 0000000..1c8d04c
--- /dev/null
+++ b/Documentation/devicetree/bindings/phy/st-miphy40lp.txt
@@ -0,0 +1,18 @@
+ST miphy40lp DT detail
+===================================
+
+miphy40lp is a phy controller from ST Microelectronics which supports
+PCIe, SATA and Super Speed USB host and devices. It has been used in
SPEAr13xx SOCs.
quoted
+
+Required properties:
+- compatible : should be "st,miphy40lp-phy"
+	Other supported soc specific compatible:
+		"st,spear1310-miphy"
+		"st,spear1340-miphy"
+- reg : offset and length of the PHY register set.
+- misc: phandle for the syscon node to access misc registers
This is very vague. What is this used for?
- These are Spear SoC specific miscellaneous registers. Here these are used for
to configure sata/pcie  aux clock.
quoted
quoted
+- phy-id: Instance id of the phy.
+- #phy-cells : from the generic PHY bindings, must be 1.
+	- 1st cell: phandle to the phy node.
+	- 2nd cell: 0 if phy (in 1st cell) is to be used for SATA, 1 for PCIe
+	  and 2 for Super Speed USB.
One cell or two?
- No of cells are two, is this the question?
The description of #phy-cells says it must be 1. Presumably it must be
2.

Thanks,
Mark
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help