From: Simon Horman <horms@verge.net.au>
To: linux-sh@vger.kernel.org
Subject: Re: [PATCH 1/2] ARM: dts: r8a7790: Add SATA nodes to r8a7790.dtsi
Date: Wed, 15 Jan 2014 00:02:22 +0000 [thread overview]
Message-ID: <20140115000222.GE8769@verge.net.au> (raw)
In-Reply-To: <1389719131-24376-2-git-send-email-valentine.barshak@cogentembedded.com>
On Tue, Jan 14, 2014 at 10:04:12PM +0400, Valentine wrote:
> On 01/14/2014 09:23 PM, Laurent Pinchart wrote:
> >Hi Valentine,
> >
> >Thank you for the patch.
> >
> >On Tuesday 14 January 2014 21:05:30 Valentine Barshak wrote:
> >>This adds SATA[01] device nodes to r8a7790.dtsi
> >>
> >>Signed-off-by: Valentine Barshak <valentine.barshak@cogentembedded.com>
> >>---
> >> arch/arm/boot/dts/r8a7790.dtsi | 18 ++++++++++++++++++
> >> 1 file changed, 18 insertions(+)
> >>
> >>diff --git a/arch/arm/boot/dts/r8a7790.dtsi b/arch/arm/boot/dts/r8a7790.dtsi
> >>index b2c2845..f2f5394 100644
> >>--- a/arch/arm/boot/dts/r8a7790.dtsi
> >>+++ b/arch/arm/boot/dts/r8a7790.dtsi
> >>@@ -400,6 +400,24 @@
> >> status = "disabled";
> >> };
> >>
> >>+ sata0: sata@ee300000 {
> >>+ compatible = "renesas,sata-r8a7790";
> >>+ reg = <0 0xee300000 0 0x2000>;
> >>+ interrupt-parent = <&gic>;
> >>+ interrupts = <0 105 IRQ_TYPE_LEVEL_HIGH>;
> >>+ clocks = <&mstp8_clks R8A7790_CLK_SATA0>;
> >
> >If I'm not mistaken the RCar SATA DT bindings don't document the clocks
> >property.
>
> Yes, they don't, cause at that time the clocks were not supported.
>
> >Could you please submit a patch to fix that ?
>
> I could, but the patch that adds the description is still available only
> in the for-3.14 branch of the libata repo.
I think you could provide a patch to update the bindings (documentation),
which is not part of this series, which applies to that branch.
And once that has been acked or merged then this series could
be taken in parallel.
> The other thing is that the clocks are not yet included in the r8a7779.dtsi,
> a snippet from which is used as an example of SATA bindings.
So the bindings (documentation) includes an example which is not present in
r8a7779.dtsi? That sounds sane to me as there is no question
of a run-time dependency being a problem.
But where is the patch to add the clocks to r8a7779.dtsi?
Is it "ARM: shmobile: r8a7790: Add SATA clocks to device tree" which
I queued up yesterday?
>
> So we probably have to wait until both are available in 3.14.
>
> Thanks,
> Val.
>
> >
> >There's no need to delay this patch set.
> >for-3.14
> >>+ status = "disabled";
> >>+ };
> >>+
> >>+ sata1: sata@ee500000 {
> >>+ compatible = "renesas,sata-r8a7790";
> >>+ reg = <0 0xee500000 0 0x2000>;
> >>+ interrupt-parent = <&gic>;
> >>+ interrupts = <0 106 IRQ_TYPE_LEVEL_HIGH>;
> >>+ clocks = <&mstp8_clks R8A7790_CLK_SATA1>;
> >>+ status = "disabled";
> >>+ };
> >>+
> >> clocks {
> >> #address-cells = <2>;
> >> #size-cells = <2>;
>
next prev parent reply other threads:[~2014-01-15 0:02 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-14 17:05 [PATCH 1/2] ARM: dts: r8a7790: Add SATA nodes to r8a7790.dtsi Valentine Barshak
2014-01-14 17:23 ` Laurent Pinchart
2014-01-14 18:04 ` Valentine
2014-01-15 0:02 ` Simon Horman [this message]
2014-01-15 8:28 ` Geert Uytterhoeven
2014-01-15 20:42 ` Valentine
2014-01-16 0:07 ` Simon Horman
2014-01-17 5:26 ` Simon Horman
2014-01-17 8:07 ` Laurent Pinchart
2014-01-17 8:15 ` Magnus Damm
2014-01-17 19:24 ` Valentine
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=20140115000222.GE8769@verge.net.au \
--to=horms@verge.net.au \
--cc=linux-sh@vger.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).