summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorhuangdaode <huangdaode@hisilicon.com>2015-11-18 05:08:00 +0300
committerDavid S. Miller <davem@davemloft.net>2015-11-18 23:08:22 +0300
commit6fbaa57076ba46a1f2ebffdb47e1b64d5b4b5b9d (patch)
tree709523ed29a6f579e9eaecd8e52e006af5eab67d /Documentation
parent09605cc12c07830659a19b266503795c511a2060 (diff)
downloadlinux-6fbaa57076ba46a1f2ebffdb47e1b64d5b4b5b9d.tar.xz
net: hisilicon: fix binding document of mdio
This patch explains the occasion of "hisilcon,mdio" and "hisilicon,hns-mdio" according to Arnd's comments. and reformat it according to comments from Rob<robh@kernel.org>. Signed-off-by: huangdaode <huangdaode@hisilicon.com> Reviewed-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/net/hisilicon-hns-mdio.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/net/hisilicon-hns-mdio.txt b/Documentation/devicetree/bindings/net/hisilicon-hns-mdio.txt
index 9c23fdf25018..4a7ede9657b0 100644
--- a/Documentation/devicetree/bindings/net/hisilicon-hns-mdio.txt
+++ b/Documentation/devicetree/bindings/net/hisilicon-hns-mdio.txt
@@ -1,7 +1,12 @@
Hisilicon MDIO bus controller
Properties:
-- compatible: "hisilicon,mdio","hisilicon,hns-mdio".
+- compatible: can be one of:
+ "hisilicon,hns-mdio"
+ "hisilicon,mdio"
+ "hisilicon,hns-mdio" is recommended to be used for hip05 and later SOCs,
+ while "hisilicon,mdio" is optional for backwards compatibility only on
+ hip04 Soc.
- reg: The base address of the MDIO bus controller register bank.
- #address-cells: Must be <1>.
- #size-cells: Must be <0>. MDIO addresses have no size component.