linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/3] Add reset deassertion for Aspeed MDIO
@ 2022-04-12  6:56 Dylan Hung
  2022-04-12  6:56 ` [PATCH v4 1/3] dt-bindings: net: add reset property for aspeed, ast2600-mdio binding Dylan Hung
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Dylan Hung @ 2022-04-12  6:56 UTC (permalink / raw)
  To: robh+dt, joel, andrew, andrew, hkallweit1, linux, davem, kuba,
	pabeni, p.zabel, devicetree, linux-arm-kernel, linux-aspeed,
	linux-kernel, netdev, krzk+dt
  Cc: BMC-SW

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
kernel.

V4:
- use ASPEED_RESET_MII instead of hardcoding in dt-binding example

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

V2:
- 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         |  5 +++++
 arch/arm/boot/dts/aspeed-g6.dtsi                  |  4 ++++
 drivers/net/mdio/mdio-aspeed.c                    | 15 ++++++++++++++-
 3 files changed, 23 insertions(+), 1 deletion(-)

-- 
2.25.1


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-04-13  2:59 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-12  6:56 [PATCH v4 0/3] Add reset deassertion for Aspeed MDIO Dylan Hung
2022-04-12  6:56 ` [PATCH v4 1/3] dt-bindings: net: add reset property for aspeed, ast2600-mdio binding Dylan Hung
2022-04-12 13:14   ` Rob Herring
2022-04-13  2:34   ` Joel Stanley
2022-04-13  2:59     ` Dylan Hung
2022-04-12  6:56 ` [PATCH v4 2/3] net: mdio: add reset control for Aspeed MDIO Dylan Hung
2022-04-12 14:24   ` Andrew Lunn
2022-04-12  6:56 ` [PATCH v4 3/3] ARM: dts: aspeed: add reset properties into MDIO nodes Dylan Hung

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).