lkml.org 
[lkml]   [2021]   [Oct]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [EXT] [PATCH v2 16/16] ARM: dts: ls1021a-tsn: use generic "jedec,spi-nor" compatible for flash
Date
> -----Original Message-----
> From: Li Yang <leoyang.li@nxp.com>
> Sent: Friday, October 1, 2021 5:34 AM
> To: Shawn Guo <shawnguo@kernel.org>; Rob Herring
> <robh+dt@kernel.org>; devicetree@vger.kernel.org; Oleksij Rempel
> <linux@rempel-privat.de>; linux-arm-kernel@lists.infradead.org; linux-
> kernel@vger.kernel.org
> Cc: Leo Li <leoyang.li@nxp.com>
> Subject: [EXT] [PATCH v2 16/16] ARM: dts: ls1021a-tsn: use generic
> "jedec,spi-nor" compatible for flash
>
> Caution: EXT Email
>
> We cannot list all the possible chips used in different board revisions, just
> use the generic "jedec,spi-nor" compatible instead. This also fixes
> dtbs_check error:
> ['s25fl256s1', 's25fl512s', 'jedec,spi-nor'] is too long
>
> Signed-off-by: Li Yang <leoyang.li@nxp.com>

Reviewed-by: Kuldeep Singh <kuldeep.singh@nxp.com>

> ---
> arch/arm/boot/dts/ls1021a-tsn.dts | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm/boot/dts/ls1021a-tsn.dts b/arch/arm/boot/dts/ls1021a-
> tsn.dts
> index 8005efc5c812..ff0ffb22768b 100644
> --- a/arch/arm/boot/dts/ls1021a-tsn.dts
> +++ b/arch/arm/boot/dts/ls1021a-tsn.dts
> @@ -251,7 +251,7 @@ &qspi {
>
> flash@0 {
> /* Rev. A uses 64MB flash, Rev. B & C use 32MB flash */
> - compatible = "jedec,spi-nor", "s25fl256s1", "s25fl512s";
> + compatible = "jedec,spi-nor";
> spi-max-frequency = <20000000>;
> #address-cells = <1>;
> #size-cells = <1>;
> --
> 2.25.1

\
 
 \ /
  Last update: 2021-10-01 07:15    [W:0.548 / U:0.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site