On Mon, Dec 09, 2024 at 03:58:34PM +0800, Nick Chan wrote:
> Add driver for backlight controllers attached via Apple DWI 2-wire
> interface, which is found on some Apple iPhones, iPads and iPod touches
> with a LCD display.
> 

Nothing improved here.

> Signed-off-by: Nick Chan <towinche...@gmail.com>
> ---
>  drivers/video/backlight/Kconfig  |  12 +++
>  drivers/video/backlight/Makefile |   1 +
>  drivers/video/backlight/dwi_bl.c | 126 +++++++++++++++++++++++++++++++
>  3 files changed, 139 insertions(+)
>  create mode 100644 drivers/video/backlight/dwi_bl.c
> 
> diff --git a/drivers/video/backlight/Kconfig b/drivers/video/backlight/Kconfig
> index 3614a5d29c71..e64cc3d51ac5 100644
> --- a/drivers/video/backlight/Kconfig
> +++ b/drivers/video/backlight/Kconfig
> @@ -166,6 +166,18 @@ config BACKLIGHT_EP93XX
>         To compile this driver as a module, choose M here: the module will
>         be called ep93xx_bl.
>  
> +config BACKLIGHT_APPLE_DWI
> +     tristate "Apple DWI 2-Wire Interface Backlight Driver"
> +     depends on ARCH_APPLE || COMPILE_TEST
> +     default y
> +     help
> +          Say Y to enable the backlight driver for backlight controllers
> +          attached via the Apple DWI 2-wire interface which is found in some
> +          Apple iPhones, iPads and iPod touches.
> +
> +       To compile this driver as a module, choose M here: the module will
> +       be called dwi_bl.
> +
>  config BACKLIGHT_IPAQ_MICRO
>       tristate "iPAQ microcontroller backlight driver"
>       depends on MFD_IPAQ_MICRO
> diff --git a/drivers/video/backlight/Makefile 
> b/drivers/video/backlight/Makefile
> index 8fc98f760a8a..0a569d7f0210 100644
> --- a/drivers/video/backlight/Makefile
> +++ b/drivers/video/backlight/Makefile
> @@ -28,6 +28,7 @@ obj-$(CONFIG_BACKLIGHT_BD6107)              += bd6107.o
>  obj-$(CONFIG_BACKLIGHT_CLASS_DEVICE) += backlight.o
>  obj-$(CONFIG_BACKLIGHT_DA903X)               += da903x_bl.o
>  obj-$(CONFIG_BACKLIGHT_DA9052)               += da9052_bl.o
> +obj-$(CONFIG_BACKLIGHT_APPLE_DWI)    += dwi_bl.o

Nothing improved here.

Best regards,
Krzysztof

Reply via email to