aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/phy/phy-miphy365x.txt
diff options
context:
space:
mode:
authorPeter Griffin <peter.griffin@linaro.org>2015-03-30 16:17:07 +0100
committerKishon Vijay Abraham I <kishon@ti.com>2015-04-03 18:16:20 +0530
commitfbea230e7884044ee2e84bb28f6879dc30e1db24 (patch)
tree6d16300ddd80313b69a7893af4e7731341a64c1a /Documentation/devicetree/bindings/phy/phy-miphy365x.txt
parentphy: Add driver to support individual USB PHYs on sun9i (diff)
downloadlinux-dev-fbea230e7884044ee2e84bb28f6879dc30e1db24.tar.xz
linux-dev-fbea230e7884044ee2e84bb28f6879dc30e1db24.zip
phy: miphy365x: Use the generic phy type constants in dt-bindings/phy/phy.h
Now there are generic phy type constants declared in phy.h, migrate over to using them rather than defining our own. This change has been done as one atomic commit to be bisectable. Note: The values of the defines are the same, so there is no ABI breakage with this patch. Signed-off-by: Peter Griffin <peter.griffin@linaro.org> Acked-by: Rob Herring <robh@kernel.org> Acked-by: Lee Jones <lee.jones@linaro.org> Acked-by: Maxime Coquelin <maxime.coquelin@st.com> Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Diffstat (limited to 'Documentation/devicetree/bindings/phy/phy-miphy365x.txt')
-rw-r--r--Documentation/devicetree/bindings/phy/phy-miphy365x.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/Documentation/devicetree/bindings/phy/phy-miphy365x.txt b/Documentation/devicetree/bindings/phy/phy-miphy365x.txt
index 9802d5d911aa..8772900e056a 100644
--- a/Documentation/devicetree/bindings/phy/phy-miphy365x.txt
+++ b/Documentation/devicetree/bindings/phy/phy-miphy365x.txt
@@ -20,8 +20,8 @@ Required nodes : A sub-node is required for each channel the controller
Required properties (port (child) node):
- #phy-cells : Should be 1 (See second example)
Cell after port phandle is device type from:
- - MIPHY_TYPE_SATA
- - MIPHY_TYPE_PCI
+ - PHY_TYPE_SATA
+ - PHY_TYPE_PCI
- reg : Address and length of register sets for each device in
"reg-names"
- reg-names : The names of the register addresses corresponding to the
@@ -68,10 +68,10 @@ property, containing a phandle to the phy port node and a device type.
Example:
-#include <dt-bindings/phy/phy-miphy365x.h>
+#include <dt-bindings/phy/phy.h>
sata0: sata@fe380000 {
...
- phys = <&phy_port0 MIPHY_TYPE_SATA>;
+ phys = <&phy_port0 PHY_TYPE_SATA>;
...
};