From: Marc Zyngier <marc.zyngier@arm.com>
To: Olof Johansson <olof@lixom.net>
Cc: Kukjin Kim <kgene.kim@samsung.com>,
"linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>,
"linux-samsung-soc@vger.kernel.org"
<linux-samsung-soc@vger.kernel.org>,
Ilho Lee <ilho215.lee@samsung.com>,
Thomas Abraham <thomas.ab@samsung.com>,
Catalin Marinas <Catalin.Marinas@arm.com>
Subject: Re: [PATCH 1/3] arm64: dts: add initial dts for Samsung GH7 SoC and SSDK-GH7 board
Date: Wed, 12 Feb 2014 11:13:35 +0000 [thread overview]
Message-ID: <52FB575F.3070104@arm.com> (raw)
In-Reply-To: <CAOesGMjE=zOStKoZQhYLhYtL_aWD73DcF4w6STboZPMfHkLtxA@mail.gmail.com>
On 11/02/14 23:36, Olof Johansson wrote:
> Hi,
>
> Besides what Mark Rutland already commented on:
>
> On Mon, Feb 10, 2014 at 10:29 PM, Kukjin Kim <kgene.kim@samsung.com> wrote:
>> +/ {
>> + model = "SAMSUNG GH7";
>> + compatible = "samsung,gh7";
>
> Model and compatible in the dtsi should probably always be overridden
> by a dts that includes it, so there's little use in having it here.
>
>> + interrupt-parent = <&gic>;
>> + #address-cells = <2>;
>> + #size-cells = <2>;
>> +
>> + cpus {
>> + #address-cells = <2>;
>> + #size-cells = <0>;
>> +
>> + cpu@000 {
>> + device_type = "cpu";
>> + compatible = "arm,armv8";
>> + reg = <0x0 0x000>;
>
> No need to zero-pad cpu numbers in unit address or reg.
>
>> + enable-method = "spin-table";
>> + cpu-release-addr = <0x0 0x8000fff8>;
>> + };
>> + cpu@001 {
>> + device_type = "cpu";
>> + compatible = "arm,armv8";
>> + reg = <0x0 0x001>;
>> + enable-method = "spin-table";
>> + cpu-release-addr = <0x0 0x8000fff8>;
>> + };
>> + cpu@002 {
>> + device_type = "cpu";
>> + compatible = "arm,armv8";
>> + reg = <0x0 0x002>;
>> + enable-method = "spin-table";
>> + cpu-release-addr = <0x0 0x8000fff8>;
>> + };
>> + cpu@003 {
>> + device_type = "cpu";
>> + compatible = "arm,armv8";
>> + reg = <0x0 0x003>;
>> + enable-method = "spin-table";
>> + cpu-release-addr = <0x0 0x8000fff8>;
>> + };
>> + };
>> +
>> + gic: interrupt-controller@1C000000 {
>> + compatible = "arm,cortex-a15-gic", "arm,cortex-a9-gic";
>
> This looks incorrect -- you should at the very least have a more
> specific one than a15-gic? Marc?
"arm,cortex-a9-gic" is definitely wrong (the A9 GIC doesn't have the
virt extensions). This binding matches what the A15 GIC has, so
"arm,cortex-a15-gic" is probably fine. Main issue here is that the GICv2
driver has no compatible string for anything else.
Should we define something more generic (like "arm,gic-v2")? Or carry on
adding more compatible strings?
M.
>> + #interrupt-cells = <3>;
>> + #address-cells = <0>;
>> + interrupt-controller;
>> + reg = <0x0 0x1C001000 0 0x1000>, /* GIC Dist */
>> + <0x0 0x1C002000 0 0x1000>, /* GIC CPU */
>> + <0x0 0x1C004000 0 0x2000>, /* GIC VCPU Control */
>> + <0x0 0x1C006000 0 0x2000>; /* GIC VCPU */
>> + interrupts = <1 9 0xf04>; /* GIC Maintenence IRQ */
>> + };
--
Jazz is not dead. It just smells funny...
WARNING: multiple messages have this Message-ID (diff)
From: marc.zyngier@arm.com (Marc Zyngier)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/3] arm64: dts: add initial dts for Samsung GH7 SoC and SSDK-GH7 board
Date: Wed, 12 Feb 2014 11:13:35 +0000 [thread overview]
Message-ID: <52FB575F.3070104@arm.com> (raw)
In-Reply-To: <CAOesGMjE=zOStKoZQhYLhYtL_aWD73DcF4w6STboZPMfHkLtxA@mail.gmail.com>
On 11/02/14 23:36, Olof Johansson wrote:
> Hi,
>
> Besides what Mark Rutland already commented on:
>
> On Mon, Feb 10, 2014 at 10:29 PM, Kukjin Kim <kgene.kim@samsung.com> wrote:
>> +/ {
>> + model = "SAMSUNG GH7";
>> + compatible = "samsung,gh7";
>
> Model and compatible in the dtsi should probably always be overridden
> by a dts that includes it, so there's little use in having it here.
>
>> + interrupt-parent = <&gic>;
>> + #address-cells = <2>;
>> + #size-cells = <2>;
>> +
>> + cpus {
>> + #address-cells = <2>;
>> + #size-cells = <0>;
>> +
>> + cpu at 000 {
>> + device_type = "cpu";
>> + compatible = "arm,armv8";
>> + reg = <0x0 0x000>;
>
> No need to zero-pad cpu numbers in unit address or reg.
>
>> + enable-method = "spin-table";
>> + cpu-release-addr = <0x0 0x8000fff8>;
>> + };
>> + cpu at 001 {
>> + device_type = "cpu";
>> + compatible = "arm,armv8";
>> + reg = <0x0 0x001>;
>> + enable-method = "spin-table";
>> + cpu-release-addr = <0x0 0x8000fff8>;
>> + };
>> + cpu at 002 {
>> + device_type = "cpu";
>> + compatible = "arm,armv8";
>> + reg = <0x0 0x002>;
>> + enable-method = "spin-table";
>> + cpu-release-addr = <0x0 0x8000fff8>;
>> + };
>> + cpu at 003 {
>> + device_type = "cpu";
>> + compatible = "arm,armv8";
>> + reg = <0x0 0x003>;
>> + enable-method = "spin-table";
>> + cpu-release-addr = <0x0 0x8000fff8>;
>> + };
>> + };
>> +
>> + gic: interrupt-controller at 1C000000 {
>> + compatible = "arm,cortex-a15-gic", "arm,cortex-a9-gic";
>
> This looks incorrect -- you should at the very least have a more
> specific one than a15-gic? Marc?
"arm,cortex-a9-gic" is definitely wrong (the A9 GIC doesn't have the
virt extensions). This binding matches what the A15 GIC has, so
"arm,cortex-a15-gic" is probably fine. Main issue here is that the GICv2
driver has no compatible string for anything else.
Should we define something more generic (like "arm,gic-v2")? Or carry on
adding more compatible strings?
M.
>> + #interrupt-cells = <3>;
>> + #address-cells = <0>;
>> + interrupt-controller;
>> + reg = <0x0 0x1C001000 0 0x1000>, /* GIC Dist */
>> + <0x0 0x1C002000 0 0x1000>, /* GIC CPU */
>> + <0x0 0x1C004000 0 0x2000>, /* GIC VCPU Control */
>> + <0x0 0x1C006000 0 0x2000>; /* GIC VCPU */
>> + interrupts = <1 9 0xf04>; /* GIC Maintenence IRQ */
>> + };
--
Jazz is not dead. It just smells funny...
next prev parent reply other threads:[~2014-02-12 11:13 UTC|newest]
Thread overview: 82+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-11 6:29 [PATCH 0/3] arm64: add new support Samsung GH7 SoC and SSDK board Kukjin Kim
2014-02-11 6:29 ` Kukjin Kim
2014-02-11 6:29 ` [PATCH 1/3] arm64: dts: add initial dts for Samsung GH7 SoC and SSDK-GH7 board Kukjin Kim
2014-02-11 6:29 ` Kukjin Kim
2014-02-11 18:15 ` Mark Rutland
2014-02-11 18:15 ` Mark Rutland
2014-02-11 3:16 ` Kukjin Kim
2014-02-11 3:16 ` Kukjin Kim
2014-02-18 10:30 ` Mark Rutland
2014-02-18 10:30 ` Mark Rutland
2014-02-24 23:56 ` Kukjin Kim
2014-02-24 23:56 ` Kukjin Kim
2014-02-11 23:36 ` Olof Johansson
2014-02-11 23:36 ` Olof Johansson
2014-02-11 3:25 ` Kukjin Kim
2014-02-11 3:25 ` Kukjin Kim
2014-02-12 11:13 ` Marc Zyngier [this message]
2014-02-12 11:13 ` Marc Zyngier
2014-02-12 11:29 ` Mark Rutland
2014-02-12 11:29 ` Mark Rutland
2014-02-12 11:40 ` Marc Zyngier
2014-02-12 11:40 ` Marc Zyngier
2014-02-11 3:03 ` Kukjin Kim
2014-02-11 3:03 ` Kukjin Kim
2014-02-11 6:29 ` [PATCH 2/3] arm64: Add Kconfig option for Samsung GH7 SoC family Kukjin Kim
2014-02-11 6:29 ` Kukjin Kim
2014-02-11 23:39 ` Olof Johansson
2014-02-11 23:39 ` Olof Johansson
2014-02-12 10:38 ` Catalin Marinas
2014-02-12 10:38 ` Catalin Marinas
2014-02-12 16:25 ` Kumar Gala
2014-02-12 16:25 ` Kumar Gala
2014-02-12 18:12 ` Catalin Marinas
2014-02-12 18:12 ` Catalin Marinas
2014-02-12 19:04 ` Kumar Gala
2014-02-12 19:04 ` Kumar Gala
2014-02-12 19:14 ` Arnd Bergmann
2014-02-12 19:14 ` Arnd Bergmann
2014-02-11 2:52 ` Kukjin Kim
2014-02-11 2:52 ` Kukjin Kim
2014-02-13 19:26 ` Olof Johansson
2014-02-13 19:26 ` Olof Johansson
2014-02-14 17:06 ` Arnd Bergmann
2014-02-14 17:06 ` Arnd Bergmann
2014-02-18 1:10 ` Kukjin Kim
2014-02-18 1:10 ` Kukjin Kim
2014-02-18 10:53 ` Arnd Bergmann
2014-02-18 10:53 ` Arnd Bergmann
2014-02-18 16:16 ` Olof Johansson
2014-02-18 16:16 ` Olof Johansson
2014-02-18 18:13 ` Arnd Bergmann
2014-02-18 18:13 ` Arnd Bergmann
2014-02-18 19:52 ` John Stultz
2014-02-18 19:52 ` John Stultz
2014-02-18 20:00 ` Olof Johansson
2014-02-18 20:00 ` Olof Johansson
2014-02-18 20:06 ` John Stultz
2014-02-18 20:06 ` John Stultz
2014-02-20 9:03 ` Olof Johansson
2014-02-20 9:03 ` Olof Johansson
2014-02-20 11:22 ` Catalin Marinas
2014-02-20 11:22 ` Catalin Marinas
2014-02-20 12:07 ` Arnd Bergmann
2014-02-20 12:07 ` Arnd Bergmann
2014-02-20 17:09 ` Olof Johansson
2014-02-20 17:09 ` Olof Johansson
2014-02-20 18:58 ` Catalin Marinas
2014-02-20 18:58 ` Catalin Marinas
2014-02-25 0:19 ` Kukjin Kim
2014-02-25 0:19 ` Kukjin Kim
2014-02-25 0:20 ` Kukjin Kim
2014-02-25 0:20 ` Kukjin Kim
2014-02-25 0:10 ` Kukjin Kim
2014-02-25 0:10 ` Kukjin Kim
2014-02-18 16:40 ` Catalin Marinas
2014-02-18 16:40 ` Catalin Marinas
2014-02-13 20:08 ` Rob Herring
2014-02-13 20:08 ` Rob Herring
2014-02-13 20:19 ` Olof Johansson
2014-02-13 20:19 ` Olof Johansson
2014-02-11 6:29 ` [PATCH 3/3] Documentation: DT: add new entry for Samsung GH7 SoC and SSDK board Kukjin Kim
2014-02-11 6:29 ` 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=52FB575F.3070104@arm.com \
--to=marc.zyngier@arm.com \
--cc=Catalin.Marinas@arm.com \
--cc=ilho215.lee@samsung.com \
--cc=kgene.kim@samsung.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=olof@lixom.net \
--cc=thomas.ab@samsung.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.