kernel_samsung_a53x/Documentation/devicetree
Lino Sanfilippo c4ee716866 dt_bindings: rs485: Correct delay values
[ Upstream commit 885dcb08c93d75b784468e65fd4f1f82d5313061 ]

Currently the documentation claims that a maximum of 1000 msecs is allowed
for RTS delays. However nothing actually checks the values read from device
tree/ACPI and so it is possible to set much higher values.

There is already a maximum of 100 ms enforced for RTS delays that are set
via the UART TIOCSRS485 ioctl. To be consistent with that use the same
limit for DT/ACPI values.

Although this change is visible to userspace the risk of breaking anything
when reducing the max delays from 1000 to 100 ms should be very low, since
100 ms is already a very high maximum for delays that are usually rather in
the usecs range.

Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Lino Sanfilippo <l.sanfilippo@kunbus.com>
Link: https://lore.kernel.org/r/20220710164442.2958979-7-LinoSanfilippo@gmx.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Stable-dep-of: 12b3642b6c24 ("dt-bindings: serial: rs485: Fix rs485-rts-delay property")
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-12-17 13:24:27 +01:00
..
bindings dt_bindings: rs485: Correct delay values 2024-12-17 13:24:27 +01:00
vibrator Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
changesets.rst Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dynamic-resolution-notes.rst Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
index.rst Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
of_unittest.rst Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
overlay-notes.rst Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
usage-model.rst Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
writing-schema.rst Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00