From: Heiko Stuebner <heiko@sntech.de>
To: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Cc: linux-arm-kernel@lists.infradead.org,
linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org,
ezequiel@collabora.com, tom@vamrs.com, dev@vamrs.com
Subject: Re: [PATCH 1/2] arm64: dts: rockchip: Enable SPI0 and SPI4 on Rock960
Date: Tue, 07 May 2019 13:34:58 +0200 [thread overview]
Message-ID: <1748905.kIquBUqR0b@phil> (raw)
In-Reply-To: <20190507113339.GA309@Mani-XPS-13-9360>
Am Dienstag, 7. Mai 2019, 13:33:39 CEST schrieb Manivannan Sadhasivam:
> Hi Heiko,
>
> On Tue, May 07, 2019 at 01:17:10PM +0200, Heiko Stuebner wrote:
> > Am Montag, 6. Mai 2019, 14:04:57 CEST schrieb Manivannan Sadhasivam:
> > > Enable SPI0 and SPI4 exposed on the Low and High speed expansion
> > > connectors of Rock960.
> > >
> > > Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
> > > ---
> > > arch/arm64/boot/dts/rockchip/rk3399-rock960.dts | 12 ++++++++++++
> > > 1 file changed, 12 insertions(+)
> > >
> > > diff --git a/arch/arm64/boot/dts/rockchip/rk3399-rock960.dts b/arch/arm64/boot/dts/rockchip/rk3399-rock960.dts
> > > index 12285c51cceb..7498344d4a73 100644
> > > --- a/arch/arm64/boot/dts/rockchip/rk3399-rock960.dts
> > > +++ b/arch/arm64/boot/dts/rockchip/rk3399-rock960.dts
> > > @@ -114,6 +114,18 @@
> > > };
> > > };
> > >
> > > +&spi0 {
> > > + /* On Low speed expansion */
> > > + label = "LS-SPI0";
> >
> > where does the label property come from and what does it do?
> > It's not part of the rockchip-spi / general-spi binding.
> >
>
> It is not part of the binding but I thought it will provide the users
> the information of the SPI bus as per the specification when they
> look into devicetree.
>
> If it doesn't makes sense, I can remove that!
please do :-) ... dt-bindings are supposed to be verifyable at some
point, so we shouldn't add undocumented properties.
Heiko
>
> Thanks,
> Mani
>
> >
> > Heiko
> >
> > > + status = "okay";
> > > +};
> > > +
> > > +&spi4 {
> > > + /* On High speed expansion */
> > > + label = "HS-SPI1";
> > > + status = "okay";
> > > +};
> > > +
> > > &usbdrd_dwc3_0 {
> > > dr_mode = "otg";
> > > };
> > >
> >
> >
> >
> >
>
WARNING: multiple messages have this Message-ID (diff)
From: Heiko Stuebner <heiko@sntech.de>
To: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Cc: tom@vamrs.com, linux-kernel@vger.kernel.org, dev@vamrs.com,
linux-rockchip@lists.infradead.org, ezequiel@collabora.com,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH 1/2] arm64: dts: rockchip: Enable SPI0 and SPI4 on Rock960
Date: Tue, 07 May 2019 13:34:58 +0200 [thread overview]
Message-ID: <1748905.kIquBUqR0b@phil> (raw)
In-Reply-To: <20190507113339.GA309@Mani-XPS-13-9360>
Am Dienstag, 7. Mai 2019, 13:33:39 CEST schrieb Manivannan Sadhasivam:
> Hi Heiko,
>
> On Tue, May 07, 2019 at 01:17:10PM +0200, Heiko Stuebner wrote:
> > Am Montag, 6. Mai 2019, 14:04:57 CEST schrieb Manivannan Sadhasivam:
> > > Enable SPI0 and SPI4 exposed on the Low and High speed expansion
> > > connectors of Rock960.
> > >
> > > Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
> > > ---
> > > arch/arm64/boot/dts/rockchip/rk3399-rock960.dts | 12 ++++++++++++
> > > 1 file changed, 12 insertions(+)
> > >
> > > diff --git a/arch/arm64/boot/dts/rockchip/rk3399-rock960.dts b/arch/arm64/boot/dts/rockchip/rk3399-rock960.dts
> > > index 12285c51cceb..7498344d4a73 100644
> > > --- a/arch/arm64/boot/dts/rockchip/rk3399-rock960.dts
> > > +++ b/arch/arm64/boot/dts/rockchip/rk3399-rock960.dts
> > > @@ -114,6 +114,18 @@
> > > };
> > > };
> > >
> > > +&spi0 {
> > > + /* On Low speed expansion */
> > > + label = "LS-SPI0";
> >
> > where does the label property come from and what does it do?
> > It's not part of the rockchip-spi / general-spi binding.
> >
>
> It is not part of the binding but I thought it will provide the users
> the information of the SPI bus as per the specification when they
> look into devicetree.
>
> If it doesn't makes sense, I can remove that!
please do :-) ... dt-bindings are supposed to be verifyable at some
point, so we shouldn't add undocumented properties.
Heiko
>
> Thanks,
> Mani
>
> >
> > Heiko
> >
> > > + status = "okay";
> > > +};
> > > +
> > > +&spi4 {
> > > + /* On High speed expansion */
> > > + label = "HS-SPI1";
> > > + status = "okay";
> > > +};
> > > +
> > > &usbdrd_dwc3_0 {
> > > dr_mode = "otg";
> > > };
> > >
> >
> >
> >
> >
>
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2019-05-07 11:34 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-06 12:04 [PATCH 1/2] arm64: dts: rockchip: Enable SPI0 and SPI4 on Rock960 Manivannan Sadhasivam
2019-05-06 12:04 ` Manivannan Sadhasivam
2019-05-06 12:04 ` [PATCH 2/2] arm64: dts: rockchip: Enable SPI1 on Ficus Manivannan Sadhasivam
2019-05-06 12:04 ` Manivannan Sadhasivam
2019-05-07 11:22 ` Heiko Stuebner
2019-05-07 11:22 ` Heiko Stuebner
2019-05-07 11:36 ` Manivannan Sadhasivam
2019-05-07 11:36 ` Manivannan Sadhasivam
2019-05-07 11:59 ` Heiko Stuebner
2019-05-07 11:59 ` Heiko Stuebner
2019-05-07 11:17 ` [PATCH 1/2] arm64: dts: rockchip: Enable SPI0 and SPI4 on Rock960 Heiko Stuebner
2019-05-07 11:17 ` Heiko Stuebner
2019-05-07 11:33 ` Manivannan Sadhasivam
2019-05-07 11:33 ` Manivannan Sadhasivam
2019-05-07 11:34 ` Heiko Stuebner [this message]
2019-05-07 11:34 ` Heiko Stuebner
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=1748905.kIquBUqR0b@phil \
--to=heiko@sntech.de \
--cc=dev@vamrs.com \
--cc=ezequiel@collabora.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=manivannan.sadhasivam@linaro.org \
--cc=tom@vamrs.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.