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>
This commit is contained in:
Boris Brezillon 2015-07-31 18:45:54 +02:00 committed by Lee Jones
parent 4895e493f9
commit d9c93f5de8
2 changed files with 8 additions and 0 deletions

View File

@ -2,7 +2,11 @@ Device-Tree bindings for Atmel's HLCDC (High LCD Controller) MFD driver
Required properties: Required properties:
- compatible: value should be one of the following: - compatible: value should be one of the following:
"atmel,at91sam9n12-hlcdc"
"atmel,at91sam9x5-hlcdc"
"atmel,sama5d2-hlcdc"
"atmel,sama5d3-hlcdc" "atmel,sama5d3-hlcdc"
"atmel,sama5d4-hlcdc"
- reg: base address and size of the HLCDC device registers. - reg: base address and size of the HLCDC device registers.
- clock-names: the name of the 3 clocks requested by the HLCDC device. - clock-names: the name of the 3 clocks requested by the HLCDC device.
Should contain "periph_clk", "sys_clk" and "slow_clk". Should contain "periph_clk", "sys_clk" and "slow_clk".

View File

@ -141,7 +141,11 @@ static int atmel_hlcdc_remove(struct platform_device *pdev)
} }
static const struct of_device_id atmel_hlcdc_match[] = { 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,sama5d3-hlcdc" },
{ .compatible = "atmel,sama5d4-hlcdc" },
{ /* sentinel */ }, { /* sentinel */ },
}; };