summaryrefslogtreecommitdiffstats
path: root/drivers/leds
diff options
context:
space:
mode:
authorRaymond Hackley <raymondhackley@protonmail.com>2023-06-02 15:11:14 +0200
committerLee Jones <lee@kernel.org>2023-06-21 20:09:28 +0200
commit7bd932d9adbcc5c5370d968bdb0b00385606bf3a (patch)
treee8b9ea6e9eff4c5619aec40037b11cf45a5337ad /drivers/leds
parentdt-bindings: leds: sgm3140: Document richtek,rt5033 compatible (diff)
downloadlinux-7bd932d9adbcc5c5370d968bdb0b00385606bf3a.tar.xz
linux-7bd932d9adbcc5c5370d968bdb0b00385606bf3a.zip
leds: sgm3140: Add richtek,rt5033-led compatible
Richtek's rt5033-led has pin configurations similar to sgm3140. Add it to the compatible list. Signed-off-by: Raymond Hackley <raymondhackley@protonmail.com> Link: https://lore.kernel.org/r/20230602131024.260297-1-raymondhackley@protonmail.com Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'drivers/leds')
-rw-r--r--drivers/leds/flash/leds-sgm3140.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/leds/flash/leds-sgm3140.c b/drivers/leds/flash/leds-sgm3140.c
index d3a30ad94ac4..d3f50dca5136 100644
--- a/drivers/leds/flash/leds-sgm3140.c
+++ b/drivers/leds/flash/leds-sgm3140.c
@@ -291,6 +291,7 @@ static int sgm3140_remove(struct platform_device *pdev)
static const struct of_device_id sgm3140_dt_match[] = {
{ .compatible = "ocs,ocp8110" },
+ { .compatible = "richtek,rt5033-led" },
{ .compatible = "sgmicro,sgm3140" },
{ /* sentinel */ }
};