Re: [PATCH 12/13] dt-bindings: auxdisplay: Add bindings for Hitachi HD44780

From: Rob Herring
Date: Wed Feb 08 2017 - 20:20:35 EST


On Mon, Feb 06, 2017 at 03:38:14PM +0100, Geert Uytterhoeven wrote:
> Add DT bindings for an Hitachi HD44780 Character LCD Controller where
> its M6800 bus interface is connected to GPIOs.

Really, you should have a bit-bang M6800 bus driver and binding and then
the binding for the LCD ctrl looks the same whether you are bit-banging
it or not.

That's a bit more work though. Maybe you could split the binding like
this, but keep a monolithic driver for now. The driver can just fetch
the GPIOs from the parent (bus controller) node. And you'd have to work
out probing the driver.

> Memory-mapped configurations are not yet supported.

I guess this would require faulting on some address and then bit-banging
the access. That sounds fun...

Rob