[PATCH V9 2/7] phy: Add drivers for PCIe and SATA phy on SPEAr13xx
From: viresh.kumar@linaro.org (Viresh Kumar)
Date: 2014-07-14 05:31:47
Also in:
linux-pci
On 10 July 2014 18:47, Kishon Vijay Abraham I [off-list ref] wrote:
quoted
diff --git a/Documentation/devicetree/bindings/phy/st-spear1310-miphy.txt b/Documentation/devicetree/bindings/phy/st-spear1310-miphy.txt new file mode 100644 index 0000000..b9b281a --- /dev/null +++ b/Documentation/devicetree/bindings/phy/st-spear1310-miphy.txtWe generally create a single document for a SoC vendor. So just use st-phy.txt.
st-phy may not be appropriate as this is specifically for SPEAr. New binding doc looks like this:
diff --git a/Documentation/devicetree/bindings/phy/st-spear-miphy.txtb/Documentation/devicetree/bindings/phy/st-spear-miphy.txt new file mode 100644 index 0000000..2a6bfdc
--- /dev/null
+++ b/Documentation/devicetree/bindings/phy/st-spear-miphy.txt@@ -0,0 +1,15 @@ +ST SPEAr miphy DT details +========================= + +ST Microelectronics SPEAr miphy is a phy controller supporting PCIe and SATA. + +Required properties: +- compatible : should be "st,spear1310-miphy" or "st,spear1340-miphy" +- reg : offset and length of the PHY register set. +- misc: phandle for the syscon node to access misc registers +- #phy-cells : from the generic PHY bindings, must be 1. + - cell[1]: 0 if phy used for SATA, 1 for PCIe. + +Optional properties: +- phy-id: Instance id of the phy. Only required when there are multiple phys + present on a implementation.