net: hisilicon: fix binding document of mdio
authorhuangdaode <huangdaode@hisilicon.com>
Wed, 18 Nov 2015 02:08:00 +0000 (10:08 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Nov 2015 20:08:22 +0000 (15:08 -0500)
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>
Documentation/devicetree/bindings/net/hisilicon-hns-mdio.txt

index 9c23fdf25018ba7b6b8a87fd41653f216c908167..4a7ede9657b08211675a7329ff5cc3b5bd6e90e7 100644 (file)
@@ -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.