From: Sekhar Nori <nsekhar@ti.com>
To: David Lechner <david@lechnology.com>
Cc: Rob Herring <robh+dt@kernel.org>, Pawel Moll <pawel.moll@arm.com>,
Mark Rutland <mark.rutland@arm.com>,
Ian Campbell <ijc+devicetree@hellion.org.uk>,
Kumar Gala <galak@codeaurora.org>,
Russell King <linux@arm.linux.org.uk>,
Kevin Hilman <khilman@kernel.org>, <devicetree@vger.kernel.org>,
<linux-arm-kernel@lists.infradead.org>,
<linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 1/3] ARM: DTS: da850: add node for spi0
Date: Fri, 15 Apr 2016 15:54:54 +0530 [thread overview]
Message-ID: <5710C176.3040304@ti.com> (raw)
In-Reply-To: <1460586628-25152-2-git-send-email-david@lechnology.com>
On Thursday 14 April 2016 04:00 AM, David Lechner wrote:
> Adds device definition for soc spi0 and also a aux data that is needed
> for clock matching.
>
> Signed-off-by: David Lechner <david@lechnology.com>
> ---
> arch/arm/boot/dts/da850.dtsi | 10 ++++++++++
> arch/arm/mach-davinci/da8xx-dt.c | 1 +
> 2 files changed, 11 insertions(+)
>
> diff --git a/arch/arm/boot/dts/da850.dtsi b/arch/arm/boot/dts/da850.dtsi
> index bbe7dd6..92b5f3c 100644
> --- a/arch/arm/boot/dts/da850.dtsi
> +++ b/arch/arm/boot/dts/da850.dtsi
> @@ -295,6 +295,16 @@
> reg = <0x308000 0x80>;
> status = "disabled";
> };
> + spi0: spi@41000 {
> + #address-cells = <1>;
> + #size-cells = <0>;
> + compatible = "ti,da830-spi";
> + reg = <0x41000 0x1000>;
> + num-cs = <6>;
This made me notice that num-cs is populated wrongly for spi1. It
actually has 8 chip selects. This is fine though.
Also, it will be nice to add pinctrl entries for spi0 like it is done
for spi1. You will need those anyway for using the interface.
> + ti,davinci-spi-intr-line = <1>;
> + interrupts = <20>;
> + status = "disabled";
> + };
> spi1: spi@30e000 {
> #address-cells = <1>;
> #size-cells = <0>;
> diff --git a/arch/arm/mach-davinci/da8xx-dt.c b/arch/arm/mach-davinci/da8xx-dt.c
> index 64f3887..754f478 100644
> --- a/arch/arm/mach-davinci/da8xx-dt.c
> +++ b/arch/arm/mach-davinci/da8xx-dt.c
> @@ -28,6 +28,7 @@ static struct of_dev_auxdata da850_auxdata_lookup[] __initdata = {
> OF_DEV_AUXDATA("ti,da850-ecap", 0x01f06000, "ecap", NULL),
> OF_DEV_AUXDATA("ti,da850-ecap", 0x01f07000, "ecap", NULL),
> OF_DEV_AUXDATA("ti,da850-ecap", 0x01f08000, "ecap", NULL),
> + OF_DEV_AUXDATA("ti,da830-spi", 0x01c41000, "spi_davinci.0", NULL),
> OF_DEV_AUXDATA("ti,da830-spi", 0x01f0e000, "spi_davinci.1", NULL),
> OF_DEV_AUXDATA("ns16550a", 0x01c42000, "serial8250.0", NULL),
> OF_DEV_AUXDATA("ns16550a", 0x01d0c000, "serial8250.1", NULL),
I prefer DT updates are patches of their own and not combined with code
updates like this. Can you please split this up?
Regards,
Sekhar
next prev parent reply other threads:[~2016-04-15 10:26 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-13 22:30 [PATCH 0/3] More small davinci device tree fixes David Lechner
2016-04-13 22:30 ` [PATCH 1/3] ARM: DTS: da850: add node for spi0 David Lechner
2016-04-15 10:24 ` Sekhar Nori [this message]
2016-04-15 16:17 ` David Lechner
2016-04-15 20:16 ` Valdis.Kletnieks
2016-04-15 21:20 ` David Lechner
2016-04-18 5:55 ` Sekhar Nori
2016-04-13 22:30 ` [PATCH 2/3] ARM: DTS: da850: disable mdio and eth0 by default David Lechner
2016-04-15 10:25 ` Sekhar Nori
2016-04-13 22:30 ` [PATCH 3/3] ARM: DTS: da850: There are 101 interrupts David Lechner
2016-04-15 10:26 ` Sekhar Nori
2016-04-14 22:20 ` [PATCH 0/3] More small davinci device tree fixes Kevin Hilman
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=5710C176.3040304@ti.com \
--to=nsekhar@ti.com \
--cc=david@lechnology.com \
--cc=devicetree@vger.kernel.org \
--cc=galak@codeaurora.org \
--cc=ijc+devicetree@hellion.org.uk \
--cc=khilman@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@arm.linux.org.uk \
--cc=mark.rutland@arm.com \
--cc=pawel.moll@arm.com \
--cc=robh+dt@kernel.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).