Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <maxime.ripard@free-electrons.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Maxime Ripard and committed by
Greg Kroah-Hartman
1e700846 dc2b9e90

+3 -3
+2 -2
Documentation/devicetree/bindings/misc/allwinner,sunxi-sid.txt
··· 1 1 Allwinner sunxi-sid 2 2 3 3 Required properties: 4 - - compatible: "allwinner,sun4i-sid" or "allwinner,sun7i-a20-sid". 4 + - compatible: "allwinner,sun4i-a10-sid" or "allwinner,sun7i-a20-sid" 5 5 - reg: Should contain registers location and length 6 6 7 7 Example for sun4i: 8 8 sid@01c23800 { 9 - compatible = "allwinner,sun4i-sid"; 9 + compatible = "allwinner,sun4i-a10-sid"; 10 10 reg = <0x01c23800 0x10> 11 11 }; 12 12
+1 -1
drivers/misc/eeprom/sunxi_sid.c
··· 95 95 } 96 96 97 97 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}, 99 99 { .compatible = "allwinner,sun7i-a20-sid", .data = (void *)512}, 100 100 {/* sentinel */}, 101 101 };