From: Tomasz Figa <tomasz.figa@gmail.com>
To: Arun Kumar K <arun.kk@samsung.com>,
linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org
Cc: kgene.kim@samsung.com, dianders@chromium.org, olofj@google.com,
t.figa@samsung.com, sachin.kamat@linaro.org,
tushar.behera@linaro.org, arunkk.samsung@gmail.com
Subject: Re: [PATCH 3/3] ARM: dts: Add peach-pi board support
Date: Fri, 02 May 2014 19:10:14 +0200 [thread overview]
Message-ID: <5363D176.80601@gmail.com> (raw)
In-Reply-To: <1399035821-25096-4-git-send-email-arun.kk@samsung.com>
Hi Arun,
On 02.05.2014 15:03, Arun Kumar K wrote:
> Adds support for google peach-pi board having the
> Exynos5800 SoC.
>
> Signed-off-by: Arun Kumar K <arun.kk@samsung.com>
> Signed-off-by: Doug Anderson <dianders@chromium.org>
> ---
> arch/arm/boot/dts/Makefile | 3 +-
> arch/arm/boot/dts/exynos5800-peach-pi.dts | 144 +++++++++++++++++++++++++++++
> 2 files changed, 146 insertions(+), 1 deletion(-)
> create mode 100644 arch/arm/boot/dts/exynos5800-peach-pi.dts
>
> diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
> index 35c146f..efe1573 100644
> --- a/arch/arm/boot/dts/Makefile
> +++ b/arch/arm/boot/dts/Makefile
> @@ -76,7 +76,8 @@ dtb-$(CONFIG_ARCH_EXYNOS) += exynos4210-origen.dtb \
> exynos5420-arndale-octa.dtb \
> exynos5420-smdk5420.dtb \
> exynos5440-sd5v1.dtb \
> - exynos5440-ssdk5440.dtb
> + exynos5440-ssdk5440.dtb \
> + exynos5800-peach-pi.dtb
> dtb-$(CONFIG_ARCH_HI3xxx) += hi3620-hi4511.dtb
> dtb-$(CONFIG_ARCH_HIGHBANK) += highbank.dtb \
> ecx-2000.dtb
> diff --git a/arch/arm/boot/dts/exynos5800-peach-pi.dts b/arch/arm/boot/dts/exynos5800-peach-pi.dts
> new file mode 100644
> index 0000000..e0f8633
> --- /dev/null
> +++ b/arch/arm/boot/dts/exynos5800-peach-pi.dts
> @@ -0,0 +1,144 @@
> +/*
> + * Google Peach Pi Rev 10+ board device tree source
> + *
> + * Copyright (c) 2014 Google, Inc
> + *
> + * 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.
> + */
> +
> +/dts-v1/;
> +#include <dt-bindings/input/input.h>
> +#include <dt-bindings/gpio/gpio.h>
> +#include "exynos5800.dtsi"
> +
> +/ {
> + model = "Google Peach Pi Rev 10+";
> +
> + compatible = "google,pi-rev16",
> + "google,pi-rev15", "google,pi-rev14",
> + "google,pi-rev13", "google,pi-rev12",
> + "google,pi-rev11", "google,pi-rev10",
> + "google,pi", "google,peach", "samsung,exynos5800",
> + "samsung,exynos5";
I can see this board using the "google,peach" compatible string, which
is the same as one listed for peach-pit board. Since they are based on
different SoCs, are they really compatible?
> +
> + memory {
> + reg = <0 0>;
I don't think this is a good idea, because this is basically rendering
this dts file useless, unless used with a bootloader that can actually
inject correct values. I believe that some generic setup could be
provided in the dts, so you could at least get the board running.
Otherwise looks good, so after addressing the two comments above feel
free to add my Reviewed-by.
Best regards,
Tomasz
next prev parent reply other threads:[~2014-05-02 17:10 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-02 13:03 [PATCH 0/3] Add Exynos5800 support Arun Kumar K
2014-05-02 13:03 ` [PATCH 1/3] clk: exynos5420: Add 5800 specific clocks Arun Kumar K
2014-05-02 17:23 ` Tomasz Figa
2014-05-03 12:06 ` Arun Kumar K
2014-05-02 17:51 ` Andrew Bresticker
2014-05-03 12:12 ` Arun Kumar K
2014-05-02 18:52 ` Arnd Bergmann
2014-05-02 19:35 ` Doug Anderson
2014-05-03 2:12 ` Tomasz Figa
2014-05-02 13:03 ` [PATCH 2/3] ARM: dts: Add Exynos5800 dt file Arun Kumar K
2014-05-02 16:49 ` Olof Johansson
2014-05-02 17:03 ` Tomasz Figa
2014-05-02 13:03 ` [PATCH 3/3] ARM: dts: Add peach-pi board support Arun Kumar K
2014-05-02 17:10 ` Tomasz Figa [this message]
2014-05-02 18:31 ` Doug Anderson
2014-05-03 2:00 ` Tomasz Figa
[not found] ` <53644DDB.7050503-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2014-05-05 15:17 ` Doug Anderson
2014-05-05 18:18 ` Tom Rini
2014-05-08 21:55 ` Bjorn Andersson
2014-05-08 22:16 ` Tom Rini
2014-05-08 22:22 ` Bjorn Andersson
2014-05-02 13:14 ` [PATCH 0/3] Add Exynos5800 support Kukjin Kim
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=5363D176.80601@gmail.com \
--to=tomasz.figa@gmail.com \
--cc=arun.kk@samsung.com \
--cc=arunkk.samsung@gmail.com \
--cc=devicetree@vger.kernel.org \
--cc=dianders@chromium.org \
--cc=kgene.kim@samsung.com \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=olofj@google.com \
--cc=sachin.kamat@linaro.org \
--cc=t.figa@samsung.com \
--cc=tushar.behera@linaro.org \
/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.