[PATCH net-next v10 0/4] net: dsa: motorcomm: Add LED support

David Yang <[email protected]>
Newsgroups gmane.linux.kernel,gmane.linux.network,gmane.linux.drivers.devicetree
Message-ID <[email protected]>
LEDs can be described in the device tree using the standard LED node
notation. Currently, only parallel mode and strict 1:1 mapping (i.e. the
HW default) are supported.

v9: https://lore.kernel.org/r/[email protected]
  - LED initialization sequence adjusted
  - add DT description
v8: https://lore.kernel.org/r/[email protected]
  - limit the led port number
v7: https://lore.kernel.org/r/[email protected]
  - rebase
v6: https://lore.kernel.org/r/[email protected]
  - per-port initialization support
v5: https://lore.kernel.org/r/[email protected]
  - improve trigger selection
v4: https://lore.kernel.org/r/[email protected]
  - fix some reg op typos
v3: https://lore.kernel.org/r/[email protected]
  - fix null pointer dereference
  - support polarity auto-configuration
v2: https://lore.kernel.org/r/[email protected]
  - allocate LED structures only
  - eliminate double locking
v1: https://lore.kernel.org/r/[email protected]
  - set up polarity correctly
  - do not set up .brightness_get() to prevent dead lo

David Yang (4):
  net: dsa: motorcomm: Move to subdirectory
  net: dsa: motorcomm: Split SMI module
  net: dsa: motorcomm: Add LED support
  dt-bindings: net: dsa: yt921x: Add LEDs definition example

 .../bindings/net/dsa/motorcomm,yt921x.yaml    |  23 +
 MAINTAINERS                                   |   2 +-
 drivers/net/dsa/Kconfig                       |  10 +-
 drivers/net/dsa/Makefile                      |   2 +-
 drivers/net/dsa/motorcomm/Kconfig             |  17 +
 drivers/net/dsa/motorcomm/Makefile            |   5 +
 .../net/dsa/{yt921x.c => motorcomm/chip.c}    | 222 +-----
 .../net/dsa/{yt921x.h => motorcomm/chip.h}    |  12 +
 drivers/net/dsa/motorcomm/leds.c              | 654 ++++++++++++++++++
 drivers/net/dsa/motorcomm/leds.h              | 121 ++++
 drivers/net/dsa/motorcomm/smi.c               | 157 +++++
 drivers/net/dsa/motorcomm/smi.h               |  92 +++
 12 files changed, 1098 insertions(+), 219 deletions(-)
 create mode 100644 drivers/net/dsa/motorcomm/Kconfig
 create mode 100644 drivers/net/dsa/motorcomm/Makefile
 rename drivers/net/dsa/{yt921x.c => motorcomm/chip.c} (96%)
 rename drivers/net/dsa/{yt921x.h => motorcomm/chip.h} (99%)
 create mode 100644 drivers/net/dsa/motorcomm/leds.c
 create mode 100644 drivers/net/dsa/motorcomm/leds.h
 create mode 100644 drivers/net/dsa/motorcomm/smi.c
 create mode 100644 drivers/net/dsa/motorcomm/smi.h

-- 
2.53.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.