Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1e700846 authored by Maxime Ripard's avatar Maxime Ripard Committed by Greg Kroah-Hartman
Browse files

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: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent dc2b9e90
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
Allwinner sunxi-sid

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

Example for sun4i:
	sid@01c23800 {
		compatible = "allwinner,sun4i-sid";
		compatible = "allwinner,sun4i-a10-sid";
		reg = <0x01c23800 0x10>
	};

+1 −1
Original line number Diff line number Diff line
@@ -95,7 +95,7 @@ static int sunxi_sid_remove(struct platform_device *pdev)
}

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