dt-bindings: serial: stm32: update rts-gpios and cts-gpios
authorErwan Le Ray <erwan.leray@foss.st.com>
Wed, 6 Jan 2021 16:22:00 +0000 (17:22 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 7 Jan 2021 15:19:29 +0000 (16:19 +0100)
commit9ba8377c3aadf4dba94da1e9f98faad2eb72737d
tree056b5b0bfb2b51bc7d6b0e850f6d9662a4b99883
parent8ebd966576ab9e43b1b620a37a616c685b202972
dt-bindings: serial: stm32: update rts-gpios and cts-gpios

Update rts-gpios and cts-gpios:
- remove max-items as already defined in serial.yaml
- add a note describing rts-gpios and cts-gpios usage with stm32

Document the use of cts-gpios and rts-gpios for flow control in STM32 UART
controller. These properties can be used instead of 'uart-has-rtscts' or
'st,hw-flow-ctrl' (deprecated) for making use of any gpio pins for flow
control instead of dedicated pins.
It should be noted that both cts-gpios/rts-gpios and 'uart-has-rtscts' or
'st,hw-flow-ctrl' (deprecated) properties cannot co-exist in a design.

Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Erwan Le Ray <erwan.leray@foss.st.com>
Link: https://lore.kernel.org/r/20210106162203.28854-6-erwan.leray@foss.st.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/devicetree/bindings/serial/st,stm32-uart.yaml