All of lore.kernel.org
 help / color / mirror / Atom feed
From: Krzysztof Kozlowski <k.kozlowski@samsung.com>
To: Chanho Park <parkch98@gmail.com>, kgene@kernel.org
Cc: jy0922.shim@samsung.com, cw00.choi@samsung.com,
	linux-samsung-soc@vger.kernel.org,
	javier.martinez@collabora.co.uk, khilman@linaro.org,
	sjoerd.simons@collabora.co.uk, heesub.shin@samsung.com,
	m.szyprowski@samsung.com, b.zolnierkie@samsung.com,
	Chanho Park <chanho61.park@samsung.com>
Subject: Re: [PATCHv2] ARM: dts: add exynos5422-cpus.dtsi to correct cpu order
Date: Mon, 01 Jun 2015 09:24:46 +0900	[thread overview]
Message-ID: <556BA64E.9070404@samsung.com> (raw)
In-Reply-To: <1433082867-32359-1-git-send-email-chanho61.park@samsung.com>

On 31.05.2015 23:34, Chanho Park wrote:
> The odroid-xu3 board which is based on exynos5422 not exynos5800 is
> booted from cortex-a7 core unlike exynos5800. The odroid-xu3's cpu order
> is quite strange. cpu0 and cpu5-7 are cortex-a7 cores and cpu1-4 are
> cortex-a15 cores. To correct this mis-odering, I added exynos5422.dtsi
> and reversing cpu orders from exynos5420. Now, cpu0-3 are cortex-a7 and
> cpu4-7 are cortex-a15.
> 
> Signed-off-by: Chanho Park <chanho61.park@samsung.com>
> ---
> Changes from v1:
>  - rename exynos5422.dtsi to exynos5422-cpus.dtsi
>  - include the dtsi file top of the exynos5422-odroidxu3.dts
> 
>  arch/arm/boot/dts/exynos5422-cpus.dtsi     | 88 ++++++++++++++++++++++++++++++
>  arch/arm/boot/dts/exynos5422-odroidxu3.dts |  4 +-
>  2 files changed, 91 insertions(+), 1 deletion(-)
>  create mode 100644 arch/arm/boot/dts/exynos5422-cpus.dtsi
> 
> diff --git a/arch/arm/boot/dts/exynos5422-cpus.dtsi b/arch/arm/boot/dts/exynos5422-cpus.dtsi
> new file mode 100644
> index 0000000..d39db49
> --- /dev/null
> +++ b/arch/arm/boot/dts/exynos5422-cpus.dtsi
> @@ -0,0 +1,88 @@
> +/*
> + * SAMSUNG EXYNOS5422 SoC cpu device tree source
> + *
> + * Copyright (c) 2015 Samsung Electronics Co., Ltd.
> + *		http://www.samsung.com
> + *
> + * The only difference between EXYNOS5422 and EXYNOS5800 is cpu ordering. The
> + * EXYNOS5422 is booting from Cortex-A7 core while the EXYNOS5800 is booting
> + * from Cortex-A15 core.
> + *
> + * EXYNOS5422 based board files can include this file to provide cpu ordering
> + * which could boot a cortex-a7 from cpu0.
> + *
> + * This program is free software; you can redistribute it and/or modify
> + * it under the terms of the GNU General Public License version 2 as
> + * published by the Free Software Foundation.
> + */
> +
> +#include "exynos5420.dtsi"
> +
> +/ {
> +	compatible = "samsung,exynos5800", "samsung,exynos5422",
> +		     "samsung,exynos5";
> +};

Drop the include and compatible.

The goal of the file is to override only cpus, not to introduce whole
Exynos5420 node tree.

The exynos5420.dtsi is already included by board file through
exynos5800.dtsi.

Rest looks fine.

Best regards,
Krzysztof

  reply	other threads:[~2015-06-01  0:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-31 14:34 [PATCHv2] ARM: dts: add exynos5422-cpus.dtsi to correct cpu order Chanho Park
2015-06-01  0:24 ` Krzysztof Kozlowski [this message]
2015-06-01 12:18   ` Chanho Park

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=556BA64E.9070404@samsung.com \
    --to=k.kozlowski@samsung.com \
    --cc=b.zolnierkie@samsung.com \
    --cc=chanho61.park@samsung.com \
    --cc=cw00.choi@samsung.com \
    --cc=heesub.shin@samsung.com \
    --cc=javier.martinez@collabora.co.uk \
    --cc=jy0922.shim@samsung.com \
    --cc=kgene@kernel.org \
    --cc=khilman@linaro.org \
    --cc=linux-samsung-soc@vger.kernel.org \
    --cc=m.szyprowski@samsung.com \
    --cc=parkch98@gmail.com \
    --cc=sjoerd.simons@collabora.co.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.