Re: [PATCH 3/3] Add support for the eukrea-cpuimx28.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Thu, Dec 05, 2013 at 02:28:06PM +0100, Denis Carikli wrote:
> From: Eric Bénard <eric@xxxxxxxxxx>

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@xxxxxxxxxxx>
> Cc: Pawel Moll <pawel.moll@xxxxxxx>
> Cc: Mark Rutland <mark.rutland@xxxxxxx>
> Cc: Stephen Warren <swarren@xxxxxxxxxxxxx>
> Cc: Ian Campbell <ijc+devicetree@xxxxxxxxxxxxxx>
> Cc: devicetree@xxxxxxxxxxxxxxx
> Cc: linux-arm-kernel@xxxxxxxxxxxxxxxxxxx
> Cc: Shawn Guo <shawn.guo@xxxxxxxxxx>
> Signed-off-by: Eric Bénard <eric@xxxxxxxxxx>
> Signed-off-by: Denis Carikli <denis@xxxxxxxxxx>
> ---
>  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>

> 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

> +	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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux