mbox series

[0/1,SRU,Bionic,OEM-B] Dell new AIO requires a new uart backlight driver

Message ID 20180713072906.18184-1-acelan.kao@canonical.com
Headers show
Series Dell new AIO requires a new uart backlight driver | expand

Message

AceLan Kao July 13, 2018, 7:29 a.m. UTC
BugLink: https://bugs.launchpad.net/bugs/1727235

[Impact]
New Dell AIO platforms requires a driver that can communicate with the
scalar IC FW through UART interface to get and set the brightness level.

[Test]
Verified on some new Dell AIO machines and confirmed it works.

[Fix]
Write a new driver to handle this task.

[Regression Potential]
Low, it's a new driver for new interface.

[Misc]
Upstream maintainer ask use to re-implement this driver by the new
interface, serdev, but serdev seems doesn't work with ACPI, so submit
this driver as Ubuntu sauce patch for now. I'll try re-write it when I'm
available.

AceLan Kao (1):
  UBUNTU: SAUCE: platform/x86: dell-uart-backlight: new backlight driver
    for DELL AIO

 drivers/platform/x86/Kconfig               |  14 +
 drivers/platform/x86/Makefile              |   1 +
 drivers/platform/x86/dell-uart-backlight.c | 394 +++++++++++++++++++++
 drivers/platform/x86/dell-uart-backlight.h |  88 +++++
 4 files changed, 497 insertions(+)
 create mode 100644 drivers/platform/x86/dell-uart-backlight.c
 create mode 100644 drivers/platform/x86/dell-uart-backlight.h