[PATCH net-next v2 0/2] net: dsa: mv88e6xxx: add Amethyst specific SMI GPIO function

From: Robert Marko
Date: Tue Feb 27 2024 - 12:55:19 EST


Amethyst family (MV88E6191X/6193X/6393X) has a simplified SMI GPIO setting
via the Scratch and Misc register so it requires family specific function.

In the v1 review, Andrew pointed out that it would make sense to rename the
existing mv88e6xxx_g2_scratch_gpio_set_smi as it only works on the MV6390
family.

Changes in v2:
* Add rename of mv88e6xxx_g2_scratch_gpio_set_smi to
mv88e6390_g2_scratch_gpio_set_smi

Robert Marko (2):
net: dsa: mv88e6xxx: rename mv88e6xxx_g2_scratch_gpio_set_smi
net: dsa: mv88e6xxx: add Amethyst specific SMI GPIO function

drivers/net/dsa/mv88e6xxx/chip.c | 5 ++-
drivers/net/dsa/mv88e6xxx/global2.h | 4 ++-
drivers/net/dsa/mv88e6xxx/global2_scratch.c | 35 +++++++++++++++++++--
3 files changed, 40 insertions(+), 4 deletions(-)

--
2.43.2