[U-Boot] [PATCH v2 0/2] Add MDIO driver model support

make at marvell.com
2018-06-07T02:08:23Z

Changes in v2:
- Fix error printing:
- Change some debug to pr_err;
- mii bus has no parent member and it is not a udevice, so dev_err
is changed to pr_err for mii bus error printings.

Ken Ma (2):
dm: mdio: add a uclass for MDIO
mdio: add marvell MDIO driver

MAINTAINERS | 2 +
arch/arm/Kconfig | 1 +
doc/device-tree-bindings/mdio/marvell-mdio.txt | 18 ++
doc/device-tree-bindings/mdio/mdio-bus.txt | 54 ++++++
drivers/Kconfig | 2 +
drivers/Makefile | 1 +
drivers/mdio/Kconfig | 28 +++
drivers/mdio/Makefile | 7 +
drivers/mdio/mdio-uclass.c | 119 +++++++++++++
drivers/mdio/mvmdio.c | 237 +++++++++++++++++++++++++
include/dm/uclass-id.h | 1 +
include/mdio.h | 62 +++++++
12 files changed, 532 insertions(+)
create mode 100644 doc/device-tree-bindings/mdio/marvell-mdio.txt
create mode 100644 doc/device-tree-bindings/mdio/mdio-bus.txt
create mode 100644 drivers/mdio/Kconfig
create mode 100644 drivers/mdio/Makefile
create mode 100644 drivers/mdio/mdio-uclass.c
create mode 100644 drivers/mdio/mvmdio.c