Add MDIO driver model support
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest2 patches 0 repliesNew
- v3 posting 2/22 patches 0 repliesSuperseded
- v3 posting 1/22 patches 0 repliesSuperseded
Earlier versions · 3
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 posting 2/2 | 2 patches | 0 replies | Superseded | |
| v2 posting 1/2 | 2 patches | 0 replies | Superseded | |
| v1 | 2 patches | 0 replies | Superseded |
Changes in v4 from the cover letter
- Minor updates for comments and Maintainer.
- Use wait_for_bit_le32() instead of implementing private busy wait polling function.
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | dm: mdio: add a uclass for MDIOMAINTAINERS doc/ drivers/ +6 more | +257 | 4 replies | |
| 2/2 | mdio: add marvell MDIO driverMAINTAINERS arch/ doc/ +3 more | +231 | 2 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Chris Packham | Stefan Roese | Joe Hershberger |
|---|---|---|---|
| 1/2 | R-b | ||
| 2/2 | R-b | R-b | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [U-Boot] [PATCH v4 0/2] Add MDIO driver model support
From: Ken Ma <[email protected]>
Changes in v4:
- Minor updates for comments and Maintainer.
- Use wait_for_bit_le32() instead of implementing private busy wait polling function.
Changes in v3:
- Move mdio uclass implementation to driver/net folder;
- Replace flat-tree functions with livetree functions and update codes and comments to be consistent with driver-model codes style;
- Put struct mii_dev to uclass platdata to avoid the mdio alloc and let driver model framework to alloc the memroy automatically, meanwhile the mii bus link initialization is added.
- Move marvell mdio driver to driver/net/mdio folder;
- Update codes according to mdio uclass implementation updates.
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.
- 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/net/marvell-mdio.txt | 18 +++ doc/device-tree-bindings/net/mdio-bus.txt | 54 +++++++ drivers/Kconfig | 2 + drivers/net/Makefile | 1 + drivers/net/mdio/Kconfig | 28 ++++ drivers/net/mdio/Makefile | 7 + drivers/net/mdio/mdio-uclass.c | 112 +++++++++++++++ drivers/net/mdio/mvmdio.c | 200 ++++++++++++++++++++++++++ include/dm/uclass-id.h | 1 + include/net/mdio.h | 62 ++++++++ 12 files changed, 488 insertions(+) create mode 100644 doc/device-tree-bindings/net/marvell-mdio.txt create mode 100644 doc/device-tree-bindings/net/mdio-bus.txt create mode 100644 drivers/net/mdio/Kconfig create mode 100644 drivers/net/mdio/Makefile create mode 100644 drivers/net/mdio/mdio-uclass.c create mode 100644 drivers/net/mdio/mvmdio.c create mode 100644 include/net/mdio.h
Signature · 1 line
1.9.1