From: Heiko Stuebner <heiko-4mtYJXux2i+zQB+pC5nmwQ@public.gmane.org>
To: "Andrius Štikonas" <andrius-4ZmsDwijFH7sq35pWSNszA@public.gmane.org>
Cc: linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org
Subject: Re: [PATCH] arm64: dts: rockchip: Enable internal SPI flash for RockPro64.
Date: Fri, 16 Aug 2019 13:56:23 +0200 [thread overview]
Message-ID: <3189741.LD3pXP1jMj@phil> (raw)
In-Reply-To: <20190811211108.28071-1-andrius-4ZmsDwijFH7sq35pWSNszA@public.gmane.org>
Hi Andrius,
I did apply this patch for 5.4 ... with a big but ...
Meaning I did quite a number of changes as described below
and would ask you to keep them in mind for future patches.
So there is no need to resend a fixed version of this patch.
(1) Please also include other lists, scripts/get_maintainer.pl is a good
starting point. linux-rockchip alone feels like hiding the patch ;-) .
Am Sonntag, 11. August 2019, 23:11:08 CEST schrieb Andrius Štikonas:
(2) Please always provide a patch descripton of some sort, I did go with
"The rockpro64 contains a nor-flash chip connected to spi1."
> Signed-off-by: Andrius Štikonas <andrius@stikonas.eu>
> ---
> arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dts | 14 ++++++++++++++
> 1 file changed, 14 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dts b/arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dts
> index eb5594062006..abc97b2c1f18 100644
> --- a/arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dts
> +++ b/arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dts
> @@ -611,6 +611,20 @@
> status = "okay";
> };
>
> +&spi1 {
(3) please sort nodes alphabetically, so here this should be between
&sdio and &tcphy0
(4) All indentation of the lines below was done with spaces, please use tabs.
> + status = "okay";
> + max-freq = <10000000>;
(5) This property is not part of any binding and also not used, so dropped
> +
> + flash@0 {
> + compatible = "jedec,spi-nor";
> + #address-cells = <1>;
> + #size-cells = <1>;
(6) There is no need at all for the #foo-cells here, they're not part of the
binding and also not used.
> + reg = <0>;
> + spi-max-frequency = <10000000>;
> + };
> +};
> +
> +
(7) Please make sure to not include double empty lines, this should only be
one between nodes.
Thanks
Heiko
> &sdmmc {
> bus-width = <4>;
> cap-mmc-highspeed;
>
_______________________________________________
Linux-rockchip mailing list
Linux-rockchip@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-rockchip
prev parent reply other threads:[~2019-08-16 11:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-11 21:11 [PATCH] arm64: dts: rockchip: Enable internal SPI flash for RockPro64 Andrius Štikonas
[not found] ` <20190811211108.28071-1-andrius-4ZmsDwijFH7sq35pWSNszA@public.gmane.org>
2019-08-16 11:56 ` Heiko Stuebner [this message]
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=3189741.LD3pXP1jMj@phil \
--to=heiko-4mtyjxux2i+zqb+pc5nmwq@public.gmane.org \
--cc=andrius-4ZmsDwijFH7sq35pWSNszA@public.gmane.org \
--cc=linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.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