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

Raymond Hackley posted 2 patches 2 years, 8 months ago
There is a newer version of this series
[PATCH 2/2] leds: sgm3140: Add richtek,rt5033-led compatible
Posted by Raymond Hackley 2 years, 8 months ago
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(+)

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 */ }
 };
-- 
2.30.2
Re: [PATCH 2/2] leds: sgm3140: Add richtek,rt5033-led compatible
Posted by Lee Jones 2 years, 7 months ago
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

-- 
Lee Jones [李琼斯]