Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mfd: atmel-hlcdc: Add support for new SoCs

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>

authored by

Boris Brezillon and committed by
Lee Jones
d9c93f5d 4895e493

+8
+4
Documentation/devicetree/bindings/mfd/atmel-hlcdc.txt
··· 2 2 3 3 Required properties: 4 4 - compatible: value should be one of the following: 5 + "atmel,at91sam9n12-hlcdc" 6 + "atmel,at91sam9x5-hlcdc" 7 + "atmel,sama5d2-hlcdc" 5 8 "atmel,sama5d3-hlcdc" 9 + "atmel,sama5d4-hlcdc" 6 10 - reg: base address and size of the HLCDC device registers. 7 11 - clock-names: the name of the 3 clocks requested by the HLCDC device. 8 12 Should contain "periph_clk", "sys_clk" and "slow_clk".
+4
drivers/mfd/atmel-hlcdc.c
··· 141 141 } 142 142 143 143 static const struct of_device_id atmel_hlcdc_match[] = { 144 + { .compatible = "atmel,at91sam9n12-hlcdc" }, 145 + { .compatible = "atmel,at91sam9x5-hlcdc" }, 146 + { .compatible = "atmel,sama5d2-hlcdc" }, 144 147 { .compatible = "atmel,sama5d3-hlcdc" }, 148 + { .compatible = "atmel,sama5d4-hlcdc" }, 145 149 { /* sentinel */ }, 146 150 }; 147 151