[PATCH net-next RESEND v5 0/3] Add reset deassertion for Aspeed MDIO

Dylan Hung dylan_hung at aspeedtech.com
Mon Apr 18 11:40:56 AEST 2022

Add missing reset deassertion for Aspeed MDIO bus controller. The reset
is asserted by the hardware when power-on so the driver only needs to
deassert it. To be able to work with the old DT blobs, the reset is
optional since it may be deasserted by the bootloader or the previous

- fix error of dt_binding_check

- use ASPEED_RESET_MII instead of hardcoding in dt-binding example

- remove reset property from the required list of the device tree
- remove "Cc: stable at vger.kernel.org" from the commit messages
- add more description in the commit message of the dt-binding

- add reset property in the device tree bindings
- add reset assertion in the error path and driver remove

Dylan Hung (3):
  dt-bindings: net: add reset property for aspeed, ast2600-mdio binding
  net: mdio: add reset control for Aspeed MDIO
  ARM: dts: aspeed: add reset properties into MDIO nodes

 .../bindings/net/aspeed,ast2600-mdio.yaml         |  6 ++++++
 arch/arm/boot/dts/aspeed-g6.dtsi                  |  4 ++++
 drivers/net/mdio/mdio-aspeed.c                    | 15 ++++++++++++++-
 3 files changed, 24 insertions(+), 1 deletion(-)


More information about the Linux-aspeed mailing list