Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: serial: rs485: Fix rs485-rts-delay property

Code expects array only with 2 items which should be checked.
But also item checking is not working as it should likely because of
incorrect items description.

Fixes: d50f974c4f7f ("dt-bindings: serial: Convert rs485 bindings to json-schema")
Signed-off-by: Michal Simek <michal.simek@amd.com>
Cc: stable@vger.kernel.org
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Link: https://lore.kernel.org/r/820c639b9e22fe037730ed44d1b044cdb6d28b75.1726480384.git.michal.simek@amd.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Michal Simek and committed by
Greg Kroah-Hartman
12b3642b 55796b4e

+9 -10
+9 -10
Documentation/devicetree/bindings/serial/rs485.yaml
··· 18 18 description: prop-encoded-array <a b> 19 19 $ref: /schemas/types.yaml#/definitions/uint32-array 20 20 items: 21 - items: 22 - - description: Delay between rts signal and beginning of data sent in 23 - milliseconds. It corresponds to the delay before sending data. 24 - default: 0 25 - maximum: 100 26 - - description: Delay between end of data sent and rts signal in milliseconds. 27 - It corresponds to the delay after sending data and actual release 28 - of the line. 29 - default: 0 30 - maximum: 100 21 + - description: Delay between rts signal and beginning of data sent in 22 + milliseconds. It corresponds to the delay before sending data. 23 + default: 0 24 + maximum: 100 25 + - description: Delay between end of data sent and rts signal in milliseconds. 26 + It corresponds to the delay after sending data and actual release 27 + of the line. 28 + default: 0 29 + maximum: 100 31 30 32 31 rs485-rts-active-high: 33 32 description: drive RTS high when sending (this is the default).