Re: [PATCH v6 4/4] backlight: rt4831: Adds support for Richtek RT4831 backlight
From: ChiYuan Huang <hidden>
Date: 2021-03-29 13:47:43
Also in:
dri-devel, lkml
Hi, Daniel: Daniel Thompson [off-list ref] 於 2021年3月29日 週一 下午6:26寫道:
On Sun, Mar 28, 2021 at 11:24:19PM +0800, cy_huang wrote:quoted
From: ChiYuan Huang <redacted> Adds support for Richtek RT4831 backlight. Signed-off-by: ChiYuan Huang <redacted> --- since v6 - Fix Kconfig typo. - Remove internal mutex lock. - Add the prefix for max brightness. - rename init_device_properties to parse_backlight_properties. - Remove some warning message if default value is adopted. - Add backlight property scale to LINEAR mapping. - Fix regmap get to check NULL not IS_ERR. --- drivers/video/backlight/Kconfig | 8 ++ drivers/video/backlight/Makefile | 1 + drivers/video/backlight/rt4831-backlight.c | 203 +++++++++++++++++++++++++++++ 3 files changed, 212 insertions(+) create mode 100644 drivers/video/backlight/rt4831-backlight.cdiff --git a/drivers/video/backlight/Kconfig b/drivers/video/backlight/Kconfig index d83c87b..de96441 100644 --- a/drivers/video/backlight/Kconfig +++ b/drivers/video/backlight/Kconfig@@ -289,6 +289,14 @@ config BACKLIGHT_QCOM_WLED If you have the Qualcomm PMIC, say Y to enable a driver for the WLED block. Currently it supports PM8941 and PMI8998. +config BACKLIGHT_RT4831 + tristate "Richtek RT4831 Backlight Driver" + depends on MFD_RT4831 + help + This enables support for Richtek RT4831 Backlight driver. + It's common used to drive the display WLED. There're four channelsNitpicking but I was expecting the original typo be converted to "commonly".
OK, I'll correct this typo in v7 next. And will merge the reviewed-by line. Thx.
With that addressed: Reviewed-by: Daniel Thompson <redacted> Daniel.