mbox series

[net-next,v5,0/2] net: dsa: microchip: add drive strength support

Message ID 20230914075107.2239886-1-o.rempel@pengutronix.de (mailing list archive)
Headers show
Series net: dsa: microchip: add drive strength support | expand

Message

Oleksij Rempel Sept. 14, 2023, 7:51 a.m. UTC
changes v5:
- rename milliamp to microamp
- do not expect negative error code on snprintf
- set coma after last struct element
- rename found to have_any_prop

changes v4:
- integrate microchip feedback to the ksz9477_drive_strengths comment.
- add Reviewed-by: Rob Herring <robh@kernel.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(-)

Comments

patchwork-bot+netdevbpf@kernel.org Sept. 16, 2023, 12:50 p.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (main)
by David S. Miller <davem@davemloft.net>:

On Thu, 14 Sep 2023 09:51:05 +0200 you wrote:
> changes v5:
> - rename milliamp to microamp
> - do not expect negative error code on snprintf
> - set coma after last struct element
> - rename found to have_any_prop
> 
> changes v4:
> - integrate microchip feedback to the ksz9477_drive_strengths comment.
> - add Reviewed-by: Rob Herring <robh@kernel.org>
> 
> [...]

Here is the summary with links:
  - [net-next,v5,1/2] dt-bindings: net: dsa: microchip: Update ksz device tree bindings for drive strength
    https://git.kernel.org/netdev/net-next/c/e26f40a60f17
  - [net-next,v5,2/2] net: dsa: microchip: Add drive strength configuration
    https://git.kernel.org/netdev/net-next/c/d67d7247f641

You are awesome, thank you!