diff mbox series

arm64: dts: imx8m: Remove 'nand-on-flash-bbt' from nand controller

Message ID 20230909020331.967819-1-festevam@gmail.com (mailing list archive)
State New, archived
Headers show
Series arm64: dts: imx8m: Remove 'nand-on-flash-bbt' from nand controller | expand

Commit Message

Fabio Estevam Sept. 9, 2023, 2:03 a.m. UTC
From: Fabio Estevam <festevam@denx.de>

The 'nand-on-flash-bbt' property is a property for the NAND device,
not for the GPMI nand controller.

Remove it to fix the following schema warnings:

imx8mm-ddr4-evk.dtb: nand-controller@33002000: Unevaluated properties are not allowed ('nand-on-flash-bbt' was unexpected)
	from schema $id: http://devicetree.org/schemas/mtd/gpmi-nand.yaml#
imx8mn-bsh-smm-s2.dtb: nand-controller@33002000: Unevaluated properties are not allowed ('nand-on-flash-bbt' was unexpected)
	from schema $id: http://devicetree.org/schemas/mtd/gpmi-nand.yaml#

Signed-off-by: Fabio Estevam <festevam@denx.de>
---
 arch/arm64/boot/dts/freescale/imx8mm-ddr4-evk.dts   | 1 -
 arch/arm64/boot/dts/freescale/imx8mn-bsh-smm-s2.dts | 1 -
 2 files changed, 2 deletions(-)

Comments

Shawn Guo Sept. 25, 2023, 2 a.m. UTC | #1
On Fri, Sep 08, 2023 at 11:03:31PM -0300, Fabio Estevam wrote:
> From: Fabio Estevam <festevam@denx.de>
> 
> The 'nand-on-flash-bbt' property is a property for the NAND device,
> not for the GPMI nand controller.
> 
> Remove it to fix the following schema warnings:
> 
> imx8mm-ddr4-evk.dtb: nand-controller@33002000: Unevaluated properties are not allowed ('nand-on-flash-bbt' was unexpected)
> 	from schema $id: http://devicetree.org/schemas/mtd/gpmi-nand.yaml#
> imx8mn-bsh-smm-s2.dtb: nand-controller@33002000: Unevaluated properties are not allowed ('nand-on-flash-bbt' was unexpected)
> 	from schema $id: http://devicetree.org/schemas/mtd/gpmi-nand.yaml#
> 
> Signed-off-by: Fabio Estevam <festevam@denx.de>

Applied, thanks!
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/freescale/imx8mm-ddr4-evk.dts b/arch/arm64/boot/dts/freescale/imx8mm-ddr4-evk.dts
index 010e836ebe5c..27848cee1670 100644
--- a/arch/arm64/boot/dts/freescale/imx8mm-ddr4-evk.dts
+++ b/arch/arm64/boot/dts/freescale/imx8mm-ddr4-evk.dts
@@ -23,7 +23,6 @@  status {
 &gpmi {
 	pinctrl-names = "default";
 	pinctrl-0 = <&pinctrl_gpmi_nand>;
-	nand-on-flash-bbt;
 	status = "okay";
 };
 
diff --git a/arch/arm64/boot/dts/freescale/imx8mn-bsh-smm-s2.dts b/arch/arm64/boot/dts/freescale/imx8mn-bsh-smm-s2.dts
index 7acc5a960dd9..11a1ba5bfdb7 100644
--- a/arch/arm64/boot/dts/freescale/imx8mn-bsh-smm-s2.dts
+++ b/arch/arm64/boot/dts/freescale/imx8mn-bsh-smm-s2.dts
@@ -21,7 +21,6 @@  memory@40000000 {
 &gpmi {
 	pinctrl-names = "default";
 	pinctrl-0 = <&pinctrl_gpmi_nand>;
-	nand-on-flash-bbt;
 	status = "okay";
 };