[lkml]   [2021]   [Jan]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[PATCH 0/2] auxdisplay: HD44780 connected to I2C via PCF8574
Character LCD driver for the Hitachi HD44780 with I2C connection:
There already is a driver for displays with parallel gpio connections.
Re-uses the high-level API.

Concerning the compatible-string: I'm currently using


- "hit,hd44780" is used for the parallel-connected version of the display
- nxp,pcf8575 already exists in drivers/gpio/gpio-pcf857x.c which uses
the same chip for gpio expansion.

Let me know if this choice of names is fine or should be changed.
For the other device-tree names I'm reusing (some of) the names from the
parallel connected display.

.../auxdisplay/hit,hd44780+nxp,pcf8575.yaml (new) | 65 +++++++
drivers/auxdisplay/Kconfig | 14 +-
drivers/auxdisplay/Makefile | 1 +
drivers/auxdisplay/hd44780-pcf8574.c (new) | 207 +++++++++++++++++++++
4 files changed, 286 insertions(+), 1 deletion(-)

Ralf Schlatterbeck Tel: +43/2243/26465-16
Open Source Consulting www:
Reichergasse 131, A-3411 Weidling email:

 \ /
  Last update: 2021-01-05 16:12    [W:0.062 / U:0.432 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site