Skip to content

Commit 1e70084

Browse files
mripardgregkh
authored andcommitted
misc: eeprom: sunxi: Change compatibles
The Allwinner A10 compatibles were following a slightly different compatible patterns than the rest of the SoCs for historical reasons. Change the compatibles to match the other pattern in the SID driver for consistency. Signed-off-by: Maxime Ripard <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent dc2b9e9 commit 1e70084

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Documentation/devicetree/bindings/misc/allwinner,sunxi-sid.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
Allwinner sunxi-sid
22

33
Required properties:
4-
- compatible: "allwinner,sun4i-sid" or "allwinner,sun7i-a20-sid".
4+
- compatible: "allwinner,sun4i-a10-sid" or "allwinner,sun7i-a20-sid"
55
- reg: Should contain registers location and length
66

77
Example for sun4i:
88
sid@01c23800 {
9-
compatible = "allwinner,sun4i-sid";
9+
compatible = "allwinner,sun4i-a10-sid";
1010
reg = <0x01c23800 0x10>
1111
};
1212

drivers/misc/eeprom/sunxi_sid.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ static int sunxi_sid_remove(struct platform_device *pdev)
9595
}
9696

9797
static const struct of_device_id sunxi_sid_of_match[] = {
98-
{ .compatible = "allwinner,sun4i-sid", .data = (void *)16},
98+
{ .compatible = "allwinner,sun4i-a10-sid", .data = (void *)16},
9999
{ .compatible = "allwinner,sun7i-a20-sid", .data = (void *)512},
100100
{/* sentinel */},
101101
};

0 commit comments

Comments
 (0)