mfd: atmel-hlcdc: Add support for new SoCs
authorBoris Brezillon <boris.brezillon@free-electrons.com>
Fri, 31 Jul 2015 16:45:54 +0000 (18:45 +0200)
committerLee Jones <lee.jones@linaro.org>
Tue, 11 Aug 2015 14:09:11 +0000 (15:09 +0100)
Add the compatible strings for the at91sam9x5, at91sam9n12, sama5d4 and
sama5d2 SoCs.
Update the documentation accordingly.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Documentation/devicetree/bindings/mfd/atmel-hlcdc.txt
drivers/mfd/atmel-hlcdc.c

index f64de95a8e8b78481a92f79063fa4b0df973e362..ad5d90482a0e07d9ae7dd3efde4fa7eef13abcd8 100644 (file)
@@ -2,7 +2,11 @@ Device-Tree bindings for Atmel's HLCDC (High LCD Controller) MFD driver
 
 Required properties:
  - compatible: value should be one of the following:
+   "atmel,at91sam9n12-hlcdc"
+   "atmel,at91sam9x5-hlcdc"
+   "atmel,sama5d2-hlcdc"
    "atmel,sama5d3-hlcdc"
+   "atmel,sama5d4-hlcdc"
  - reg: base address and size of the HLCDC device registers.
  - clock-names: the name of the 3 clocks requested by the HLCDC device.
    Should contain "periph_clk", "sys_clk" and "slow_clk".
index d1d6e8f47993f99e5add7fa2f4a8330956a846f1..3fff6b5d0426830833f98f708837f33c299100ef 100644 (file)
@@ -141,7 +141,11 @@ static int atmel_hlcdc_remove(struct platform_device *pdev)
 }
 
 static const struct of_device_id atmel_hlcdc_match[] = {
+       { .compatible = "atmel,at91sam9n12-hlcdc" },
+       { .compatible = "atmel,at91sam9x5-hlcdc" },
+       { .compatible = "atmel,sama5d2-hlcdc" },
        { .compatible = "atmel,sama5d3-hlcdc" },
+       { .compatible = "atmel,sama5d4-hlcdc" },
        { /* sentinel */ },
 };