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

Commit bf747103 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman
Browse files

Revert "misc: eeprom: sunxi: Add new compatibles"



This reverts commit f0de8e04, it is
incorrect, a future patch will fix this up properly.

Cc: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 8c442794
Loading
Loading
Loading
Loading
+2 −3
Original line number Original line Diff line number Diff line
Allwinner sunxi-sid
Allwinner sunxi-sid


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


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


+1 −4
Original line number Original line Diff line number Diff line
@@ -96,11 +96,8 @@ static int sunxi_sid_remove(struct platform_device *pdev)
}
}


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

	/* Deprecated */
	{ .compatible = "allwinner,sun4i-sid", .data = (void *)16},
	{ .compatible = "allwinner,sun4i-sid", .data = (void *)16},
	{ .compatible = "allwinner,sun7i-a20-sid", .data = (void *)512},
	{/* sentinel */},
	{/* sentinel */},
};
};
MODULE_DEVICE_TABLE(of, sunxi_sid_of_match);
MODULE_DEVICE_TABLE(of, sunxi_sid_of_match);