From: "Jernej Škrabec" <jernej.skrabec@gmail.com>
To: Michal Suchanek <msuchanek@suse.de>,
Samuel Holland <samuel@sholland.org>
Cc: linux-sunxi@lists.linux.dev, Icenowy Zheng <icenowy@aosc.xyz>,
Andre Przywara <andre.przywara@arm.com>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Chen-Yu Tsai <wens@csie.org>,
devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] sunxi: dts: Fix SPI NOR campatible on Orange Pi Zero
Date: Fri, 08 Jul 2022 16:13:11 +0200 [thread overview]
Message-ID: <10106175.nUPlyArG6x@jernej-laptop> (raw)
In-Reply-To: <0c575068-abd7-c69a-e59c-3140f8cb7813@sholland.org>
Hi Michal,
sorry, but I was a bit too quick with giving r-b line. See comments below.
Dne petek, 08. julij 2022 ob 09:36:26 CEST je Samuel Holland napisal(a):
> Hi Michal,
>
> The subject prefix should start with "ARM: dts:" (e.g. "ARM: dts: sunxi:").
> Generally it is a good idea to look at the log of the file and follow the
> pattern you see there.
>
> On 7/7/22 12:07 PM, Michal Suchanek wrote:
> > Without "jedec,spi-nor" compatible the flash memory cannot be probed by
> > u-boot. The macronix part is what is shipped on the boards that come
> > with a flash chip.
Please reword this a bit. DT isn't user specific, so U-Boot should not be
mentioned. But you can write about compatible being wrong. According to DT
bindings, it should be manufacturer specific compatible, followed by
"jedec,spi-nor".
Once both issues are addressed, you can keep my r-b tag and include fixes tag
posted by Sameul.
Best regards,
Jernej
>
> Fixes: 45857ae95478 ("ARM: dts: orange-pi-zero: add node for SPI NOR")
>
> Regards,
> Samuel
>
> > Signed-off-by: Michal Suchanek <msuchanek@suse.de>
> > ---
> >
> > arch/arm/boot/dts/sun8i-h2-plus-orangepi-zero.dts | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/arch/arm/boot/dts/sun8i-h2-plus-orangepi-zero.dts
> > b/arch/arm/boot/dts/sun8i-h2-plus-orangepi-zero.dts index
> > f19ed981da9d..3706216ffb40 100644
> > --- a/arch/arm/boot/dts/sun8i-h2-plus-orangepi-zero.dts
> > +++ b/arch/arm/boot/dts/sun8i-h2-plus-orangepi-zero.dts
> > @@ -169,7 +169,7 @@ &spi0 {
> >
> > flash@0 {
> >
> > #address-cells = <1>;
> > #size-cells = <1>;
> >
> > - compatible = "mxicy,mx25l1606e", "winbond,w25q128";
> > + compatible = "mxicy,mx25l1606e", "jedec,spi-nor";
> >
> > reg = <0>;
> > spi-max-frequency = <40000000>;
> >
> > };
_______________________________________________
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:[~2022-07-08 14:15 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-07 16:38 [PATCH] sunxi: dts: Fix SPI NOR campatible on Orange Pi Zero Michal Suchanek
2022-07-07 16:48 ` Andre Przywara
2022-07-07 17:07 ` [PATCH v2] " Michal Suchanek
2022-07-08 4:53 ` Jernej Škrabec
2022-07-08 7:36 ` Samuel Holland
2022-07-08 14:13 ` Jernej Škrabec [this message]
2022-07-08 17:45 ` [PATCH v2] ARM: dts: sunxi: " Michal Suchanek
2022-07-08 18:31 ` Jernej Škrabec
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=10106175.nUPlyArG6x@jernej-laptop \
--to=jernej.skrabec@gmail.com \
--cc=andre.przywara@arm.com \
--cc=devicetree@vger.kernel.org \
--cc=icenowy@aosc.xyz \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sunxi@lists.linux.dev \
--cc=msuchanek@suse.de \
--cc=robh+dt@kernel.org \
--cc=samuel@sholland.org \
--cc=wens@csie.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