leds: sgm3140: Add richtek,rt5033-led compatible
authorRaymond Hackley <raymondhackley@protonmail.com>
Fri, 2 Jun 2023 13:11:14 +0000 (13:11 +0000)
committerLee Jones <lee@kernel.org>
Wed, 21 Jun 2023 18:09:28 +0000 (19:09 +0100)
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>
drivers/leds/flash/leds-sgm3140.c

index d3a30ad94ac463e4f472e675c1918f0d67d8d399..d3f50dca51366097b4e2d57b26759d92122c0855 100644 (file)
@@ -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 */ }
 };