diff options
author | Haibo Chen <haibo.chen@nxp.com> | 2021-08-20 17:29:50 +0800 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2021-10-04 11:25:31 +0800 |
commit | 04aa946d57b20c40e541fb4ba2bcb390a22f404c (patch) | |
tree | 544d4bfe8b1c65a3847254a17617b18f4f6e2c81 /arch/arm64/boot/dts/freescale/imx8mm-beacon-som.dtsi | |
parent | b2a4f4a302b83976ad0d2930abe0f38e6119a144 (diff) | |
download | linux-04aa946d57b20c40e541fb4ba2bcb390a22f404c.tar.gz |
arm64: dts: imx8: change the spi-nor tx
Before commit 0e30f47232ab5 ("mtd: spi-nor: add support for DTR protocol"),
for all PP command, it only support 1-1-1 mode, no matter the tx setting
in dts. But after the upper commit, the logic change. It will choose
the best mode(fastest mode) which flash device and spi-nor host controller
both support.
qspi and fspi host controller do not support read 1-4-4 mode. so need to
set the tx to 1, let the common code finally select read 1-1-4 mode.
Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
Fixes: 0e30f47232ab ("mtd: spi-nor: add support for DTR protocol")
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm64/boot/dts/freescale/imx8mm-beacon-som.dtsi')
-rw-r--r-- | arch/arm64/boot/dts/freescale/imx8mm-beacon-som.dtsi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/boot/dts/freescale/imx8mm-beacon-som.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-beacon-som.dtsi index 988f8ab679ad..40f5e7a3b064 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm-beacon-som.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mm-beacon-som.dtsi @@ -91,7 +91,7 @@ #size-cells = <1>; compatible = "jedec,spi-nor"; spi-max-frequency = <80000000>; - spi-tx-bus-width = <4>; + spi-tx-bus-width = <1>; spi-rx-bus-width = <4>; }; }; |