OSDN Git Service

pwm: atmel-hlcdc: add sama5d2 SoC support.
authorNicolas Ferre <nicolas.ferre@atmel.com>
Wed, 9 Sep 2015 13:32:30 +0000 (15:32 +0200)
committerThierry Reding <thierry.reding@gmail.com>
Tue, 6 Oct 2015 14:07:28 +0000 (16:07 +0200)
Add sama5d2 hlcdc backlight PWM support. This chip doesn't have to deal with an
errata, so it's a simple addition of the mfd compatible string.

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/pwm/pwm-atmel-hlcdc.c

index be7bb05..f994c7e 100644 (file)
@@ -227,6 +227,9 @@ static const struct of_device_id atmel_hlcdc_dt_ids[] = {
                .data = &atmel_hlcdc_pwm_at91sam9x5_errata,
        },
        {
+               .compatible = "atmel,sama5d2-hlcdc",
+       },
+       {
                .compatible = "atmel,sama5d3-hlcdc",
                .data = &atmel_hlcdc_pwm_sama5d3_errata,
        },