[PATCH net-next 08/10] net: hns: add attribute cpld_ctrl for dsaf port node

2016-04-27 Thread Yisen Zhuang
This patch add attribute cpld_ctrl for dsaf port node, parse the syscon for mac_cb from dts, and change the method of access the cpld related registers through syscon. Signed-off-by: Daode Huang Signed-off-by: Yisen Zhuang --- .../devicetree/bindings/net/hisilicon-hns-dsaf.txt | 4 +++ drivers

[PATCH net-next 08/10] net: hns: add attribute cpld_ctrl for dsaf port node

2016-04-22 Thread Yisen Zhuang
This patch adds cpld_ctrl for dsaf port node, parses the syscon for mac_cb from dts, and changes the method of access the cpld related registers through syscon. Cpld_ctrl is syscon handle for cpld register. Signed-off-by: Daode Huang Signed-off-by: Yisen Zhuang --- .../devicetree/bindings/net/h