auxdisplay: hd44780: Fix DT properties to include units of measurement
authorGeert Uytterhoeven <geert@linux-m68k.org>
Thu, 23 Mar 2017 13:25:37 +0000 (14:25 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 8 Apr 2017 15:48:19 +0000 (17:48 +0200)
commitc7c3f096eb5e721d8522ba060fa621ea906ef738
tree3aa2dcdf4771aee2af27523fdf94332646bbf00a
parentdeb0b9b21d374f09de0745e0ed29a67503b44384
auxdisplay: hd44780: Fix DT properties to include units of measurement

DT properties specifying physical properties should contain appropriate
suffices indicating the units of measurement.

Hence amend the HD44780 DT bindings to add "chars" suffixes to the
"display-height" and "display-width" properties, and update the driver
to parse them.

Fixes: dd9502a9e9156dd8 ("dt-bindings: auxdisplay: Add bindings for Hitachi HD44780")
Fixes: d47d88361feea2ce ("auxdisplay: Add HD44780 Character LCD support")
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/devicetree/bindings/auxdisplay/hit,hd44780.txt
drivers/auxdisplay/hd44780.c