Skip to contentSkip to conversation

auxdisplay for v5.11

GIT PULL Merged Miguel Ojeda 2 participants 2 messages Dec 13, 2020 – Dec 14, 2020

lore
Share & tools
lore
#0 lore raw

Hi Linus,

This time there have been quite a few changes in auxdisplay thanks to a refactor by Lars Poeschel to share code in order to introduce a new driver.

I am sending these earlier than usual. Please also note I am using a different email address than usual, too.

Cheers,
Miguel

The following changes since commit 3cea11cd5e3b00d91caf0b4730194039b45c5891:

Linux 5.10-rc2 (2020-11-01 14:43:51 -0800)

are available in the Git repository at:

https://github.com/ojeda/linux.git tags/auxdisplay-for-linus-v5.11

for you to fetch changes up to 351dcacc6d774258be9fec6f51c14f8ff38243f6:

auxdisplay: panel: Remove redundant charlcd_ops structures (2020-11-16 17:13:37 +0100)

----------------------------------------------------------------
A bigger set of changes than usual for auxdisplay:

- Significant refactor work to make charlcd independent

    of device, i.e. hd44780 (Lars Poeschel)

- New driver: lcd2s (Lars Poeschel)

- Fixes on top of the rework while being tested in -next (Lars Poeschel, Dan Carpenter and kernel test robot)

----------------------------------------------------------------
Dan Carpenter (1):
auxdisplay: fix use after free in lcd2s_i2c_remove()

Lars Poeschel (28):
auxdisplay: Use an enum for charlcd backlight on/off ops
auxdisplay: Introduce hd44780_common.[ch]
auxdisplay: Move hwidth and bwidth to struct hd44780_common
auxdisplay: Move ifwidth to struct hd44780_common
auxdisplay: Move write_data pointer to hd44780_common
auxdisplay: Move write_cmd pointers to hd44780 drivers
auxdisplay: Move addr out of charlcd_priv
auxdisplay: hd44780_common_print
auxdisplay: provide hd44780_common_gotoxy
auxdisplay: add home to charlcd_ops
auxdisplay: Move clear_display to hd44780_common
auxdisplay: make charlcd_backlight visible to hd44780_common
auxdisplay: Make use of enum for backlight on / off
auxdisplay: Move init_display to hd44780_common
auxdisplay: implement various hd44780_common_ functions
auxdisplay: cleanup unnecessary hd44780 code in charlcd
auxdisplay: Move char redefine code to hd44780_common
auxdisplay: Call charlcd_backlight in place
auxdisplay: hd44780_common: Reduce clear_display timeout
auxdisplay: hd44780: Remove clear_fast
auxdisplay: charlcd: replace last device specific stuff
auxdisplay: Change gotoxy calling interface
auxdisplay: charlcd: Do not print chars at end of line
auxdisplay: lcd2s DT binding doc
auxdisplay: add a driver for lcd2s character display
auxdisplay: hd44780_common: Fix build error
auxdisplay: panel: Fix missing print function pointer
auxdisplay: panel: Remove redundant charlcd_ops structures

kernel test robot (1):
auxdisplay: fix platform_no_drv_owner.cocci warnings

 .../bindings/auxdisplay/modtronix,lcd2s.yaml       |  58 +++
 .../devicetree/bindings/vendor-prefixes.yaml       |   2 +
 drivers/auxdisplay/Kconfig                         |  33 +-
 drivers/auxdisplay/Makefile                        |   2 +
 drivers/auxdisplay/charlcd.c                       | 412 ++++++---------------
 drivers/auxdisplay/charlcd.h                       |  86 ++++-
 drivers/auxdisplay/hd44780.c                       | 120 ++++--
 drivers/auxdisplay/hd44780_common.c                | 361 ++++++++++++++++++
 drivers/auxdisplay/hd44780_common.h                |  33 ++
 drivers/auxdisplay/lcd2s.c                         | 402 ++++++++++++++++++++
 drivers/auxdisplay/panel.c                         | 173 ++++-----
 11 files changed, 1218 insertions(+), 464 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/auxdisplay/modtronix,lcd2s.yaml
 create mode 100644 drivers/auxdisplay/hd44780_common.c
 create mode 100644 drivers/auxdisplay/hd44780_common.h
 create mode 100644 drivers/auxdisplay/lcd2s.c