From: Scott Wood <oss@buserror.net>
To: Alessio Igor Bogani <alessio.bogani@elettra.eu>,
Kumar Gala <galak@kernel.crashing.org>
Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org
Subject: Re: [RFC PATCH v1 2/2] powerpc/86xx: Introduce and use common dtsi
Date: Mon, 29 Feb 2016 16:38:00 -0600 [thread overview]
Message-ID: <1456785480.5360.60.camel@buserror.net> (raw)
In-Reply-To: <1456397825-1786-2-git-send-email-alessio.bogani@elettra.eu>
On Thu, 2016-02-25 at 11:57 +0100, Alessio Igor Bogani wrote:
> Signed-off-by: Alessio Igor Bogani <alessio.bogani@elettra.eu>
> ---
> arch/powerpc/boot/dts/fsl/gef_ppc9a.dts | 284 +++-------------------
> arch/powerpc/boot/dts/fsl/gef_sbc310.dts | 276 +++------------------
> arch/powerpc/boot/dts/fsl/gef_sbc610.dts | 284 +++-------------------
> arch/powerpc/boot/dts/fsl/mpc8641_hpcn.dts | 318 ++++------------------
> ---
> arch/powerpc/boot/dts/fsl/mpc8641_hpcn_36b.dts | 317 ++++------------------
> --
> arch/powerpc/boot/dts/fsl/mpc8641si-post.dtsi | 124 ++++++++++
> arch/powerpc/boot/dts/fsl/mpc8641si-pre.dtsi | 59 +++++
> arch/powerpc/boot/dts/fsl/sbc8641d.dts | 314 +++-------------------
> --
> 8 files changed, 400 insertions(+), 1576 deletions(-)
> create mode 100644 arch/powerpc/boot/dts/fsl/mpc8641si-post.dtsi
> create mode 100644 arch/powerpc/boot/dts/fsl/mpc8641si-pre.dtsi
Could you post a diff of what the decompiled trees look like before and after
this change (e.g. interrupts went from 2-cell to 4-cell)? It is very hard to
review in this form. Or better, like the config change, have a commit that
first makes changes to what the unified trees will be, and then a second
commit that generates the same output using includes.
> +/include/ "qoriq-mpic.dtsi"
> + pic@40000 {
> + compatible = "chrp,open-pic";
> + };
This is removing the fsl,mpic compatible, which is required for 4-cell
interrupt specifiers.
> +&pci0 {
> + compatible = "fsl,mpc8641-pcie";
> + device_type = "pci";
> + #size-cells = <2>;
> + #address-cells = <3>;
> + bus-range = <0x0 0xff>;
> + clock-frequency = <33333333>;
The clock frequency of PCI Express is not 33 MHz.
> diff --git a/arch/powerpc/boot/dts/fsl/mpc8641si-pre.dtsi
> b/arch/powerpc/boot/dts/fsl/mpc8641si-pre.dtsi
> new file mode 100644
> index 0000000..026fa58
> --- /dev/null
> +++ b/arch/powerpc/boot/dts/fsl/mpc8641si-pre.dtsi
> @@ -0,0 +1,59 @@
> +/*
> + * MPC8641 Silicon/SoC Device Tree Source (pre include)
> + *
> + * Copyright 2016 Elettra-Sincrotrone Trieste S.C.p.A.
> + *
> + * This program is free software; you can redistribute it and/or modify it
> + * under the terms of the GNU General Public License as published by the
> + * Free Software Foundation; either version 2 of the License, or (at your
> + * option) any later version.
> + *
> + */
> +
> +/dts-v1/;
> +
> +/ {
> + compatible = "fsl,MPC8641";
This compatible is pointless -- it will be overwritten by the board
compatible.
-Scott
next prev parent reply other threads:[~2016-02-29 22:38 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-25 10:57 [RFC PATCH v1 1/2] powerpc/86xx: Move dts files to fsl directory Alessio Igor Bogani
2016-02-25 10:57 ` [RFC PATCH v1 2/2] powerpc/86xx: Introduce and use common dtsi Alessio Igor Bogani
2016-02-29 10:33 ` Alessio Igor Bogani
2016-02-29 22:38 ` Scott Wood [this message]
2016-03-01 14:55 ` Alessio Igor Bogani
2016-03-01 14:57 ` Scott Wood
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=1456785480.5360.60.camel@buserror.net \
--to=oss@buserror.net \
--cc=alessio.bogani@elettra.eu \
--cc=galak@kernel.crashing.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).