[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230912045459.1864085-1-o.rempel@pengutronix.de>
Date: Tue, 12 Sep 2023 06:54:57 +0200
From: Oleksij Rempel <o.rempel@...gutronix.de>
To: "David S. Miller" <davem@...emloft.net>,
Andrew Lunn <andrew@...n.ch>,
Eric Dumazet <edumazet@...gle.com>,
Florian Fainelli <f.fainelli@...il.com>,
Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>,
Vladimir Oltean <olteanv@...il.com>,
Woojung Huh <woojung.huh@...rochip.com>,
Arun Ramadoss <arun.ramadoss@...rochip.com>,
Conor Dooley <conor+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Rob Herring <robh+dt@...nel.org>
Cc: Oleksij Rempel <o.rempel@...gutronix.de>,
kernel@...gutronix.de,
linux-kernel@...r.kernel.org,
netdev@...r.kernel.org,
UNGLinuxDriver@...rochip.com,
"Russell King (Oracle)" <linux@...linux.org.uk>,
devicetree@...r.kernel.org
Subject: [PATCH net-next v4 0/2] net: dsa: microchip: add drive strength support
changes v4:
- integrate microchip feedback to the ksz9477_drive_strengths comment.
- add Reviewed-by: Rob Herring <robh@...nel.org>
changes v3:
- yaml: use enum instead of min/max
- do not use snprintf() on overlapping buffer.
- unify ksz_drive_strength_to_reg() and ksz_drive_strength_error(). Make
it usable for KSZ9477 and KSZ8830 variants.
- use ksz_rmw8() in ksz9477_drive_strength_write()
changes v2:
- make it work on all know KSZ* variants except of undocumented LAN*
switches
- add io-drive-strength compatible for ksz88xx chips
- test exact drive strength instead of nearest closest.
- add comment and refactor the code
Oleksij Rempel (2):
dt-bindings: net: dsa: microchip: Update ksz device tree bindings for
drive strength
net: dsa: microchip: Add drive strength configuration
.../bindings/net/dsa/microchip,ksz.yaml | 20 ++
drivers/net/dsa/microchip/ksz8795_reg.h | 14 -
drivers/net/dsa/microchip/ksz9477_reg.h | 13 -
drivers/net/dsa/microchip/ksz_common.c | 309 ++++++++++++++++++
drivers/net/dsa/microchip/ksz_common.h | 20 ++
5 files changed, 349 insertions(+), 27 deletions(-)
--
2.39.2
Powered by blists - more mailing lists