]> git.itanic.dy.fi Git - linux-stable/commit
ARM: dts: at91: sama7g5ek: enable pull-up on flexcom3 console lines
authorEugen Hristev <eugen.hristev@microchip.com>
Mon, 7 Mar 2022 11:38:27 +0000 (13:38 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 9 May 2022 07:16:31 +0000 (09:16 +0200)
commit635aaa4c2d589ef9bc1a66110b0199cd146bb6fe
tree780b38711aa1d7b0dd8a83ae77d7d3fbc6e7d748
parent05c7d65249c439e20e9c59654b6dd1dc4b6733ad
ARM: dts: at91: sama7g5ek: enable pull-up on flexcom3 console lines

commit 3f7ce6d7091765ed6c67c5d78aa364b9d17e3aab upstream.

Flexcom3 is used as board console serial. There are no pull-ups on these
lines on the board. This means that if a cable is not connected (that has
pull-ups included), stray characters could appear on the console as the
floating pins voltage levels are interpreted as incoming characters.
To avoid this problem, enable the internal pull-ups on these lines.

Fixes: 7540629e2fc7 ("ARM: dts: at91: add sama7g5 SoC DT and sama7g5-ek")
Cc: stable@vger.kernel.org # v5.15+
Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
Reviewed-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Link: https://lore.kernel.org/r/20220307113827.2419331-1-eugen.hristev@microchip.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm/boot/dts/at91-sama7g5ek.dts