Re: [PATCH 3/3] Add support for the eukrea-cpuimx28.
From: Shawn Guo <hidden>
Date: 2013-12-09 03:25:32
Also in:
linux-arm-kernel
On Thu, Dec 05, 2013 at 02:28:06PM +0100, Denis Carikli wrote:
From: Eric Bénard <redacted>
Please have a proper prefix for patch subject.
The following devices/functionalities were tested: * Main UART. * Ethernet0. * Ethernet1. * SD. * USB host. * USB otg. * Display(and its backlight). * Touchscreen. * Audio. * nand. * i2c and the pcf8563 device. * The gpio buttons. * The gpio leds. * Watchdog Cc: Rob Herring <rob.herring-bsGFqQB8/DxBDgjK7y7TUQ@public.gmane.org> Cc: Pawel Moll <redacted> Cc: Mark Rutland <redacted> Cc: Stephen Warren <redacted> Cc: Ian Campbell <redacted> Cc: devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org Cc: Shawn Guo <redacted> Signed-off-by: Eric Bénard <redacted> Signed-off-by: Denis Carikli <redacted> --- arch/arm/boot/dts/Makefile | 2 + arch/arm/boot/dts/imx28-eukrea-mbmx283lc.dts | 71 ++++++ arch/arm/boot/dts/imx28-eukrea-mbmx287lc.dts | 50 ++++ arch/arm/boot/dts/imx28-eukrea-mbmx28lc.dtsi | 326 ++++++++++++++++++++++++++ arch/arm/mach-mxs/mach-mxs.c | 8 + 5 files changed, 457 insertions(+) create mode 100644 arch/arm/boot/dts/imx28-eukrea-mbmx283lc.dts create mode 100644 arch/arm/boot/dts/imx28-eukrea-mbmx287lc.dts create mode 100644 arch/arm/boot/dts/imx28-eukrea-mbmx28lc.dtsi
<snip>
quoted hunk
diff --git a/arch/arm/mach-mxs/mach-mxs.c b/arch/arm/mach-mxs/mach-mxs.c index 02b17f7..3b5f57e 100644 --- a/arch/arm/mach-mxs/mach-mxs.c +++ b/arch/arm/mach-mxs/mach-mxs.c@@ -448,6 +448,12 @@ static int __init mxs_restart_init(void) return 0; } +static void __init eukrea_mbmx283lc_init(void) +{ + enable_clk_enet_out();
This shouldn't be needed since commit daa7d39 (net: freescale: fec: add support for optional enet_out clk) and commit (f231a9f ARM: dts: mxs: add enet_out clock to devicetree) Shawn
quoted hunk
+ mxs_saif_clkmux_select(MXS_DIGCTL_SAIF_CLKMUX_EXTMSTR0); +} + static void __init mxs_machine_init(void) { struct device_node *root;@@ -486,6 +492,8 @@ static void __init mxs_machine_init(void) apx4devkit_init(); else if (of_machine_is_compatible("crystalfontz,cfa10036")) crystalfontz_init(); + else if (of_machine_is_compatible("eukrea,mbmx283lc")) + eukrea_mbmx283lc_init(); else if (of_machine_is_compatible("i2se,duckbill")) duckbill_init(); else if (of_machine_is_compatible("msr,m28cu3"))-- 1.7.9.5
-- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html