From: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
To: Olof Johansson <olof@lixom.net>
Cc: Dongjin Kim <tobetter@gmail.com>,
linux-arm-kernel@lists.infradead.org,
linux-samsung-soc@vger.kernel.org, kgene.kim@samsung.com,
thomas.abraham@linaro.org, Russell King <linux@arm.linux.org.uk>,
Jason Cooper <jason@lakedaemon.net>,
Shawn Guo <shawn.guo@linaro.org>, Andrew Lunn <andrew@lunn.ch>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/4] ODROID-X: dts: Add board dts file for ODROID-X
Date: Tue, 18 Dec 2012 07:00:09 +0100 [thread overview]
Message-ID: <20121218060009.GK23971@game.jcrosoft.org> (raw)
In-Reply-To: <CAOesGMgZWNiCmTFGvr--zKf+vS51hX5jPnD+NZq8OvGFLS9rJA@mail.gmail.com>
On 17:56 Mon 17 Dec , Olof Johansson wrote:
> On Mon, Dec 17, 2012 at 11:55 AM, Dongjin Kim <tobetter@gmail.com> wrote:
> > Add initial dtb file for Hardkernel's ODROID-X board based on EXYNOS4412 SoC.
> >
> > Signed-off-by: Dongjin Kim <tobetter@gmail.com>
> > ---
> > arch/arm/boot/dts/Makefile | 1 +
> > arch/arm/boot/dts/exynos4412-odroidx.dts | 52 ++++++++++++++++++++++++++++++
> > 2 files changed, 53 insertions(+)
> > create mode 100644 arch/arm/boot/dts/exynos4412-odroidx.dts
> >
> > diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
> > index ca6fb8e..3355af9 100644
> > --- a/arch/arm/boot/dts/Makefile
> > +++ b/arch/arm/boot/dts/Makefile
> > @@ -45,6 +45,7 @@ dtb-$(CONFIG_ARCH_EXYNOS) += exynos4210-origen.dtb \
> > exynos5250-smdk5250.dtb \
> > exynos5440-ssdk5440.dtb \
> > exynos4412-smdk4412.dtb \
> > + exynos4412-odroidx.dtb \
>
> Please add them alphabetically, so before smdk.
we need to drop the \ \ stuff it will end with merge conflict
as if you add 2 dtb at the end you will end with 2 patch that touch the same
previous line
>
> > diff --git a/arch/arm/boot/dts/exynos4412-odroidx.dts b/arch/arm/boot/dts/exynos4412-odroidx.dts
> > new file mode 100644
> > index 0000000..786ddd7
> > --- /dev/null
> > +++ b/arch/arm/boot/dts/exynos4412-odroidx.dts
> > @@ -0,0 +1,52 @@
> > +/*
> > + * Hardkernel's Exynos4412 based ODROID-X board device tree source
> > + *
> > + * Copyright (c) 2012-2013 Dongjin Kim <tobetter@gmail.com>
>
> Are you from the future?
>
> > + *
> > + * Device tree source file for Hardkernel's ODROID-X board which is based on
> > + * Samsung's Exynos4412 SoC.
> > + *
> > + * 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/ "exynos4412.dtsi"
> > +
> > +/ {
> > + model = "Hardkernel ODROID-X board based on Exynos4412";
> > + compatible = "samsung,exynos4412";
>
> It should have a more specific compatible value first, i.e.
> "hardkernel,odroid-x" or similar.
>
>
> > + memory {
> > + reg = <0x40000000 0x40000000>;
> > + };
> > +
> > + chosen {
> > + bootargs ="root=/dev/mmcblk0p3 rw console=ttySAC1,115200 init=/sbin/init delay=2";
>
> Bootargs should be passed in from u-boot, don't specify them in the
> static device tree.
why not we can choose to have a default cmdline and even usit as a complement
of the bootloader one
it's up to the dts maintainer to choose
Best Regards,
J.
WARNING: multiple messages have this Message-ID (diff)
From: plagnioj@jcrosoft.com (Jean-Christophe PLAGNIOL-VILLARD)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/4] ODROID-X: dts: Add board dts file for ODROID-X
Date: Tue, 18 Dec 2012 07:00:09 +0100 [thread overview]
Message-ID: <20121218060009.GK23971@game.jcrosoft.org> (raw)
In-Reply-To: <CAOesGMgZWNiCmTFGvr--zKf+vS51hX5jPnD+NZq8OvGFLS9rJA@mail.gmail.com>
On 17:56 Mon 17 Dec , Olof Johansson wrote:
> On Mon, Dec 17, 2012 at 11:55 AM, Dongjin Kim <tobetter@gmail.com> wrote:
> > Add initial dtb file for Hardkernel's ODROID-X board based on EXYNOS4412 SoC.
> >
> > Signed-off-by: Dongjin Kim <tobetter@gmail.com>
> > ---
> > arch/arm/boot/dts/Makefile | 1 +
> > arch/arm/boot/dts/exynos4412-odroidx.dts | 52 ++++++++++++++++++++++++++++++
> > 2 files changed, 53 insertions(+)
> > create mode 100644 arch/arm/boot/dts/exynos4412-odroidx.dts
> >
> > diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
> > index ca6fb8e..3355af9 100644
> > --- a/arch/arm/boot/dts/Makefile
> > +++ b/arch/arm/boot/dts/Makefile
> > @@ -45,6 +45,7 @@ dtb-$(CONFIG_ARCH_EXYNOS) += exynos4210-origen.dtb \
> > exynos5250-smdk5250.dtb \
> > exynos5440-ssdk5440.dtb \
> > exynos4412-smdk4412.dtb \
> > + exynos4412-odroidx.dtb \
>
> Please add them alphabetically, so before smdk.
we need to drop the \ \ stuff it will end with merge conflict
as if you add 2 dtb at the end you will end with 2 patch that touch the same
previous line
>
> > diff --git a/arch/arm/boot/dts/exynos4412-odroidx.dts b/arch/arm/boot/dts/exynos4412-odroidx.dts
> > new file mode 100644
> > index 0000000..786ddd7
> > --- /dev/null
> > +++ b/arch/arm/boot/dts/exynos4412-odroidx.dts
> > @@ -0,0 +1,52 @@
> > +/*
> > + * Hardkernel's Exynos4412 based ODROID-X board device tree source
> > + *
> > + * Copyright (c) 2012-2013 Dongjin Kim <tobetter@gmail.com>
>
> Are you from the future?
>
> > + *
> > + * Device tree source file for Hardkernel's ODROID-X board which is based on
> > + * Samsung's Exynos4412 SoC.
> > + *
> > + * 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/ "exynos4412.dtsi"
> > +
> > +/ {
> > + model = "Hardkernel ODROID-X board based on Exynos4412";
> > + compatible = "samsung,exynos4412";
>
> It should have a more specific compatible value first, i.e.
> "hardkernel,odroid-x" or similar.
>
>
> > + memory {
> > + reg = <0x40000000 0x40000000>;
> > + };
> > +
> > + chosen {
> > + bootargs ="root=/dev/mmcblk0p3 rw console=ttySAC1,115200 init=/sbin/init delay=2";
>
> Bootargs should be passed in from u-boot, don't specify them in the
> static device tree.
why not we can choose to have a default cmdline and even usit as a complement
of the bootloader one
it's up to the dts maintainer to choose
Best Regards,
J.
next prev parent reply other threads:[~2012-12-18 6:00 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-17 19:55 [PATCH 0/4] ODROID-X: Adding dt-based ODROID-X support Dongjin Kim
2012-12-17 19:55 ` Dongjin Kim
2012-12-17 19:55 ` [PATCH 1/4] ODROID-X: dts: Add board dts file for ODROID-X Dongjin Kim
2012-12-17 19:55 ` Dongjin Kim
2012-12-17 19:55 ` Dongjin Kim
2012-12-18 1:22 ` Thomas Abraham
2012-12-18 1:22 ` Thomas Abraham
2012-12-18 1:56 ` Olof Johansson
2012-12-18 1:56 ` Olof Johansson
2012-12-18 1:56 ` Olof Johansson
2012-12-18 6:00 ` Jean-Christophe PLAGNIOL-VILLARD [this message]
2012-12-18 6:00 ` Jean-Christophe PLAGNIOL-VILLARD
2012-12-18 6:14 ` Olof Johansson
2012-12-18 6:14 ` Olof Johansson
2012-12-18 6:47 ` Jean-Christophe PLAGNIOL-VILLARD
2012-12-18 6:47 ` Jean-Christophe PLAGNIOL-VILLARD
2012-12-17 19:55 ` [PATCH 2/4] ODROID-X: dts: Add fixed-regulator for peripherals Dongjin Kim
2012-12-17 19:55 ` Dongjin Kim
2012-12-17 19:55 ` Dongjin Kim
2012-12-17 19:55 ` [PATCH 3/4] ODROID-X: dts: Add nodes for leds based on GPIO Dongjin Kim
2012-12-17 19:55 ` Dongjin Kim
2012-12-17 19:55 ` Dongjin Kim
2012-12-17 19:55 ` [PATCH 4/4] ODROID-X: dts: Add mshc node for ODROID-X board Dongjin Kim
2012-12-17 19:55 ` Dongjin Kim
2012-12-17 19:55 ` Dongjin Kim
2012-12-17 21:40 ` Tomasz Figa
2012-12-17 21:40 ` Tomasz Figa
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=20121218060009.GK23971@game.jcrosoft.org \
--to=plagnioj@jcrosoft.com \
--cc=andrew@lunn.ch \
--cc=jason@lakedaemon.net \
--cc=kgene.kim@samsung.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=linux@arm.linux.org.uk \
--cc=olof@lixom.net \
--cc=shawn.guo@linaro.org \
--cc=thomas.abraham@linaro.org \
--cc=tobetter@gmail.com \
/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.