Skip to content

Commit d9c93f5

Browse files
Boris BrezillonLee Jones
authored andcommitted
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>
1 parent 4895e49 commit d9c93f5

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

‎Documentation/devicetree/bindings/mfd/atmel-hlcdc.txt‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,11 @@ Device-Tree bindings for Atmel's HLCDC (High LCD Controller) MFD driver
22

33
Required properties:
44
- compatible: value should be one of the following:
5+
"atmel,at91sam9n12-hlcdc"
6+
"atmel,at91sam9x5-hlcdc"
7+
"atmel,sama5d2-hlcdc"
58
"atmel,sama5d3-hlcdc"
9+
"atmel,sama5d4-hlcdc"
610
- reg: base address and size of the HLCDC device registers.
711
- clock-names: the name of the 3 clocks requested by the HLCDC device.
812
Should contain "periph_clk", "sys_clk" and "slow_clk".

‎drivers/mfd/atmel-hlcdc.c‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,11 @@ static int atmel_hlcdc_remove(struct platform_device *pdev)
141141
}
142142

143143
static const struct of_device_id atmel_hlcdc_match[] = {
144+
{ .compatible = "atmel,at91sam9n12-hlcdc" },
145+
{ .compatible = "atmel,at91sam9x5-hlcdc" },
146+
{ .compatible = "atmel,sama5d2-hlcdc" },
144147
{ .compatible = "atmel,sama5d3-hlcdc" },
148+
{ .compatible = "atmel,sama5d4-hlcdc" },
145149
{ /* sentinel */ },
146150
};
147151

0 commit comments

Comments
 (0)