Skip to content

net: dsa: mv88e6xxx: add Amethyst specific SMI GPIO function

Robert Marko lkml netdev 2 versions – Applied

Status from this message: This series was applied to netdev/net-next.git (main)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 1 replyApplied 2/2
  2. v11 patch 3 repliesSuperseded

Changes in v2 from the cover letter

* Add rename of mv88e6xxx_g2_scratch_gpio_set_smi to mv88e6390_g2_scratch_gpio_set_smi

Patches in v2 All 2 applied

#Subject and filesSizeRepliesApplied
1/2net: dsa: mv88e6xxx: rename mv88e6xxx_g2_scratch_gpio_set_smidrivers/net/dsa/mv88e6xxx/chip.c drivers/net/dsa/mv88e6xxx/global2.h drivers/net/dsa/mv88e6xxx/global2_scratch.c+4 -41 replyApplied
2/2net: dsa: mv88e6xxx: add Amethyst specific SMI GPIO functiondrivers/net/dsa/mv88e6xxx/chip.c drivers/net/dsa/mv88e6xxx/global2.h drivers/net/dsa/mv88e6xxx/global2_scratch.c+37 -10 repliesApplied

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchAndrew Lunn
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

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

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(-)
Signature · 1 line
2.43.2