.../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
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 -- 2.43.0.rc1.1.gbec44491f096
On Mon, Feb 19, 2024 at 06:57:59PM +0200, Andy Shevchenko wrote: > 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. Geert, would it be possible to give one more round of reviewing/testing this week? I want to close auxdisplay for next merge window next week. -- With Best Regards, Andy Shevchenko
Hi Andy,
On Thu, Feb 22, 2024 at 2:51 PM Andy Shevchenko
<andriy.shevchenko@linux.intel.com> wrote:
> On Mon, Feb 19, 2024 at 06:57:59PM +0200, Andy Shevchenko wrote:
> > 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.
>
> Geert, would it be possible to give one more round of reviewing/testing
> this week? I want to close auxdisplay for next merge window next week.
For 1-7 (linedisp and ht16k33):
Tested-by: Geert Uytterhoeven <geert@linux-m68k.org>
I hope to get to the actual review later...
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
On Thu, Feb 22, 2024 at 02:56:35PM +0100, Geert Uytterhoeven wrote: > On Thu, Feb 22, 2024 at 2:51 PM Andy Shevchenko > <andriy.shevchenko@linux.intel.com> wrote: > > On Mon, Feb 19, 2024 at 06:57:59PM +0200, Andy Shevchenko wrote: > > > 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. > > > > Geert, would it be possible to give one more round of reviewing/testing > > this week? I want to close auxdisplay for next merge window next week. > > For 1-7 (linedisp and ht16k33): > Tested-by: Geert Uytterhoeven <geert@linux-m68k.org> Thank you for the testing and review, I have pushed patches 2-7, postponed patch 1 and will see what I can do with patches 8-9. -- With Best Regards, Andy Shevchenko
On Mon, Feb 26, 2024 at 06:24:29PM +0200, Andy Shevchenko wrote: > On Thu, Feb 22, 2024 at 02:56:35PM +0100, Geert Uytterhoeven wrote: > > On Thu, Feb 22, 2024 at 2:51 PM Andy Shevchenko > > <andriy.shevchenko@linux.intel.com> wrote: > > > On Mon, Feb 19, 2024 at 06:57:59PM +0200, Andy Shevchenko wrote: > > > > 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. > > > > > > Geert, would it be possible to give one more round of reviewing/testing > > > this week? I want to close auxdisplay for next merge window next week. > > > > For 1-7 (linedisp and ht16k33): > > Tested-by: Geert Uytterhoeven <geert@linux-m68k.org> > > Thank you for the testing and review, I have pushed patches 2-7, postponed > patch 1 and will see what I can do with patches 8-9. After discussion I have applied the patches 8-9 as is in this series with Geert's tags. The other things are considered as new features that can be implemented later on. -- With Best Regards, Andy Shevchenko
Hi Andy,
On Mon, Feb 26, 2024 at 7:00 PM Andy Shevchenko
<andriy.shevchenko@linux.intel.com> wrote:
> On Mon, Feb 26, 2024 at 06:24:29PM +0200, Andy Shevchenko wrote:
> > On Thu, Feb 22, 2024 at 02:56:35PM +0100, Geert Uytterhoeven wrote:
> > > On Thu, Feb 22, 2024 at 2:51 PM Andy Shevchenko
> > > <andriy.shevchenko@linux.intel.com> wrote:
> > > > On Mon, Feb 19, 2024 at 06:57:59PM +0200, Andy Shevchenko wrote:
> > > > > 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.
> > > >
> > > > Geert, would it be possible to give one more round of reviewing/testing
> > > > this week? I want to close auxdisplay for next merge window next week.
> > >
> > > For 1-7 (linedisp and ht16k33):
> > > Tested-by: Geert Uytterhoeven <geert@linux-m68k.org>
> >
> > Thank you for the testing and review, I have pushed patches 2-7, postponed
> > patch 1 and will see what I can do with patches 8-9.
>
> After discussion I have applied the patches 8-9 as is in this series with
> Geert's tags. The other things are considered as new features that can be
> implemented later on.
Thanks!
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
On Thu, Feb 22, 2024 at 02:56:35PM +0100, Geert Uytterhoeven wrote: > On Thu, Feb 22, 2024 at 2:51 PM Andy Shevchenko > <andriy.shevchenko@linux.intel.com> wrote: > > On Mon, Feb 19, 2024 at 06:57:59PM +0200, Andy Shevchenko wrote: > > > 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. > > > > Geert, would it be possible to give one more round of reviewing/testing > > this week? I want to close auxdisplay for next merge window next week. > > For 1-7 (linedisp and ht16k33): > Tested-by: Geert Uytterhoeven <geert@linux-m68k.org> Thank you! > I hope to get to the actual review later... Hope you will find time soon... -- With Best Regards, Andy Shevchenko
© 2016 - 2025 Red Hat, Inc.