提交 a449f12b 编写于 作者: U Uwe Kleine-König 提交者: Greg Kroah-Hartman

dt-bindings: serial/rs485: make rs485-rts-delay optional

There are a few device trees that specify one of the already optional
properties without also having the up to now required property
rs485-rts-delay. Additionally there is no technical reason to require
rs485-rts-delay and that's also what most drivers implement.

So give existing users and implementers a blessing and document
rs485-rts-delay as optional.
Signed-off-by: NUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Acked-by: NRob Herring <robh@kernel.org>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 68c338ea
...@@ -5,14 +5,13 @@ the built-in half-duplex mode. ...@@ -5,14 +5,13 @@ the built-in half-duplex mode.
The properties described hereafter shall be given to a half-duplex capable The properties described hereafter shall be given to a half-duplex capable
UART node. UART node.
Required properties: Optional properties:
- rs485-rts-delay: prop-encoded-array <a b> where: - rs485-rts-delay: prop-encoded-array <a b> where:
* a is the delay between rts signal and beginning of data sent in milliseconds. * a is the delay between rts signal and beginning of data sent in milliseconds.
it corresponds to the delay before sending data. it corresponds to the delay before sending data.
* b is the delay between end of data sent and rts signal in milliseconds * b is the delay between end of data sent and rts signal in milliseconds
it corresponds to the delay after sending data and actual release of the line. it corresponds to the delay after sending data and actual release of the line.
If this property is not specified, <0 0> is assumed.
Optional properties:
- linux,rs485-enabled-at-boot-time: empty property telling to enable the rs485 - linux,rs485-enabled-at-boot-time: empty property telling to enable the rs485
feature at boot time. It can be disabled later with proper ioctl. feature at boot time. It can be disabled later with proper ioctl.
- rs485-rx-during-tx: empty property that enables the receiving of data even - rs485-rx-during-tx: empty property that enables the receiving of data even
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册