diff mbox series

[2/2] leds: sgm3140: Add richtek,rt5033-led compatible

Message ID 20230602131024.260297-1-raymondhackley@protonmail.com
State New
Headers show
Series [1/2] dt-bindings: leds: sgm3140: Document richtek,rt5033 compatible | expand

Commit Message

Raymond Hackley June 2, 2023, 1:11 p.m. UTC
Richtek's rt5033-led has pin configurations similar to sgm3140.
Add it to the compatible list.

Signed-off-by: Raymond Hackley <raymondhackley@protonmail.com>
---
 drivers/leds/flash/leds-sgm3140.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Lee Jones June 21, 2023, 6:09 p.m. UTC | #1
On Fri, 02 Jun 2023, Raymond Hackley wrote:

> Richtek's rt5033-led has pin configurations similar to sgm3140.
> Add it to the compatible list.
> 
> Signed-off-by: Raymond Hackley <raymondhackley@protonmail.com>
> ---
>  drivers/leds/flash/leds-sgm3140.c | 1 +
>  1 file changed, 1 insertion(+)

Applied, thanks
diff mbox series

Patch

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 */ }
 };