]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
Merge branch 'dsa-microchip-drive-strength-support'
authorDavid S. Miller <davem@davemloft.net>
Sat, 16 Sep 2023 12:40:08 +0000 (13:40 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 16 Sep 2023 12:40:08 +0000 (13:40 +0100)
Oleksij Rempel says:

====================
net: dsa: microchip: add drive strength support

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()
====================

Signed-off-by: David S. Miller <davem@davemloft.net>

Trivial merge