]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: dts: imx6qdl-gw560x: Remove incorrect 'uart-has-rtscts'
authorFabio Estevam <festevam@denx.de>
Mon, 21 Nov 2022 20:22:59 +0000 (17:22 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 1 Feb 2023 07:34:03 +0000 (08:34 +0100)
commitfa265aa509bb245faf242a1fed2cca6f93fe248c
treecc50257230c421c01ad58c6662d0689c049797f2
parentb7a41a02a8f7375350a4ee9a6059901dbaf84eb4
ARM: dts: imx6qdl-gw560x: Remove incorrect 'uart-has-rtscts'

[ Upstream commit de970b8af6c355f1c71a219d63a9dd478d0e170a ]

The following build warning is seen when running:

make dtbs_check DT_SCHEMA_FILES=fsl-imx-uart.yaml

arch/arm/boot/dts/imx6dl-gw560x.dtb: serial@2020000: rts-gpios: False schema does not allow [[20, 1, 0]]
From schema: Documentation/devicetree/bindings/serial/fsl-imx-uart.yaml

The imx6qdl-gw560x board does not expose the UART RTS and CTS
as native UART pins, so 'uart-has-rtscts' should not be used.

Using 'uart-has-rtscts' with 'rts-gpios' is an invalid combination
detected by serial.yaml.

Fix the problem by removing the incorrect 'uart-has-rtscts' property.

Fixes: 7d1014da364f ("ARM: dts: imx: add Gateworks Ventana GW5600 support")
Signed-off-by: Fabio Estevam <festevam@denx.de>
Acked-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm/boot/dts/imx6qdl-gw560x.dtsi