Skip to content

auxdisplay: linedisp: Clean up and add new driver

Andy Shevchenko linux-devicetree lkml 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest9 patches 21 repliesIn review
  2. v215 patches 43 repliesSuperseded
  3. v1 posting 2/215 patches 7 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v1 posting 1/215 patches7 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9auxdisplay: linedisp: Group display drivers togetherdrivers/auxdisplay/Kconfig drivers/auxdisplay/Makefile+163 -1484 replies
2/9auxdisplay: linedisp: Allocate buffer for the stringdrivers/auxdisplay/ht16k33.c drivers/auxdisplay/img-ascii-lcd.c drivers/auxdisplay/line-display.c +1 more+18 -211 reply
3/9auxdisplay: ht16k33: Add default to switch-casesdrivers/auxdisplay/ht16k33.c+9 -51 reply
4/9auxdisplay: ht16k33: Move ht16k33_linedisp_ops downdrivers/auxdisplay/ht16k33.c+12 -120 replies
5/9auxdisplay: ht16k33: Define a few helper macrosdrivers/auxdisplay/ht16k33.c+16 -122 replies
6/9auxdisplay: ht16k33: Switch to use line display character mappingdrivers/auxdisplay/ht16k33.c+30 -730 replies
7/9auxdisplay: ht16k33: Drop struct ht16k33_segdrivers/auxdisplay/ht16k33.c+9 -151 reply
8/9dt-bindings: auxdisplay: Add Maxim MAX6958/6959Documentation/devicetree/bindings/auxdisplay/maxim,max6959.yaml+44 -02 replies
9/9auxdisplay: Add driver for MAX695x 7-segment LED controllersdrivers/auxdisplay/Kconfig drivers/auxdisplay/Makefile drivers/auxdisplay/max6959.c+209 -04 replies

Reviews trailers per patch

8 of 9 patches have a Reviewed-by or Acked-by.

PatchGeert UytterhoevenRobin van der GrachtKrzysztof Kozlowski
SeriesT-b
1/9T-b
2/9R-b
3/9R-b
4/9R-b T-b A-b
5/9R-b
6/9R-b T-b A-b
7/9R-b
8/9R-b R-b
9/9R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v3 thread

Cover letter [PATCH v3 0/9] auxdisplay: linedisp: Clean up and add new driver

Add a new initial driver for Maxim MAX6958/6959 chips. While developing that driver I realised that there is a lot of duplication between ht16k33 and a new one. Hence set of cleanups and refactorings.

Note, the new driver has minimum support of the hardware and I have plans to cover more features in the future.

In v3:
- dropped applied patches
- fixed compilation error (Geert)
- dragging back and force added memory allocation for the character buffer
- dropped 'with keyscan' in new driver (Geert)
- rephrased a bit description in DT bindings for new driver (Geert)
- added tags to the (almost) unchanged patches (Geert, Krzysztof, Robin)

In v2:
- updated DT bindings to follow specifications and requirements (Krzysztof)
- unified return code variable (err everywhere)
- left patches 10 and 13 untouched, we may amend later on (Robin)

Andy Shevchenko (9):
auxdisplay: linedisp: Group display drivers together
auxdisplay: linedisp: Allocate buffer for the string
auxdisplay: ht16k33: Add default to switch-cases
auxdisplay: ht16k33: Move ht16k33_linedisp_ops down
auxdisplay: ht16k33: Define a few helper macros
auxdisplay: ht16k33: Switch to use line display character mapping
auxdisplay: ht16k33: Drop struct ht16k33_seg
dt-bindings: auxdisplay: Add Maxim MAX6958/6959
auxdisplay: Add driver for MAX695x 7-segment LED controllers

 .../bindings/auxdisplay/maxim,max6959.yaml    |  44 +++
 drivers/auxdisplay/Kconfig                    | 306 ++++++++++--------
 drivers/auxdisplay/Makefile                   |  16 +-
 drivers/auxdisplay/ht16k33.c                  | 177 ++++------
 drivers/auxdisplay/img-ascii-lcd.c            |  17 +-
 drivers/auxdisplay/line-display.c             |  11 +-
 drivers/auxdisplay/line-display.h             |   3 +-
 drivers/auxdisplay/max6959.c                  | 194 +++++++++++
 8 files changed, 496 insertions(+), 272 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/auxdisplay/maxim,max6959.yaml
 create mode 100644 drivers/auxdisplay/max6959.c
Signature · 1 line
2.43.0.rc1.1.gbec44491f096