[PATCH 0/2] auxdisplay: HD44780 connected to I2C via PCF8574
From: Ralf Schlatterbeck
Date: Tue Jan 05 2021 - 10:11:26 EST
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+nxp,pcf8575"
- "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: www.runtux.com
Reichergasse 131, A-3411 Weidling email: office@xxxxxxxxxx