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

ARM: sunxi: Add "allwinner,sun6i-a31s" to mach-sunxi

So far the A31s is 100% compatible with the A31, still lets do the same
as what we've done for the A13 / A10s and give it its own compatible string,
in case we need to differentiate later.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
[Maxime: Removed unusude CPU_OF_DECLARE_METHOD]
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>

authored by

Hans de Goede and committed by
Maxime Ripard
b0f2faa5 97bf6af1

+3 -2
-1
Documentation/arm/sunxi/README
··· 50 50 http://dl.linux-sunxi.org/A31/A3x_release_document/A31/IC/A31%20user%20manual%20V1.1%2020130630.pdf 51 51 52 52 - Allwinner A31s (sun6i) 53 - + Not Supported 54 53 + Datasheet 55 54 http://dl.linux-sunxi.org/A31/A3x_release_document/A31s/IC/A31s%20datasheet%20V1.3%2020131106.pdf 56 55 + User Manual
+1 -1
arch/arm/mach-sunxi/platsmp.c
··· 120 120 .smp_prepare_cpus = sun6i_smp_prepare_cpus, 121 121 .smp_boot_secondary = sun6i_smp_boot_secondary, 122 122 }; 123 - CPU_METHOD_OF_DECLARE(sun6i_smp, "allwinner,sun6i-a31", &sun6i_smp_ops); 123 + CPU_METHOD_OF_DECLARE(sun6i_a31_smp, "allwinner,sun6i-a31", &sun6i_smp_ops);
+1
arch/arm/mach-sunxi/sunxi.c
··· 29 29 30 30 static const char * const sun6i_board_dt_compat[] = { 31 31 "allwinner,sun6i-a31", 32 + "allwinner,sun6i-a31s", 32 33 NULL, 33 34 }; 34 35
+1
drivers/clk/sunxi/clk-sunxi.c
··· 1226 1226 ARRAY_SIZE(sun6i_critical_clocks)); 1227 1227 } 1228 1228 CLK_OF_DECLARE(sun6i_a31_clk_init, "allwinner,sun6i-a31", sun6i_init_clocks); 1229 + CLK_OF_DECLARE(sun6i_a31s_clk_init, "allwinner,sun6i-a31s", sun6i_init_clocks); 1229 1230 CLK_OF_DECLARE(sun8i_a23_clk_init, "allwinner,sun8i-a23", sun6i_init_clocks); 1230 1231 1231 1232 static void __init sun9i_init_clocks(struct device_node *node)