mirror of
https://github.com/torvalds/linux.git
synced 2026-04-20 07:43:57 -04:00
The Devicetree bindings document does not have to say in the title that
it is a "binding", but instead just describe the hardware.
Drop trailing "bindings" in various forms (also with trailing full
stop):
find Documentation/devicetree/bindings/ -type f -name '*.yaml' \
-not -name 'trivial-devices.yaml' \
-exec sed -i -e 's/^title: \(.*\) [bB]indings\?\.\?$/title: \1/' {} \;
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Acked-by: Matti Vaittinen <mazziesaccount@gmail.com> # ROHM
Acked-by: Ulf Hansson <ulf.hansson@linaro.org> # MMC
Acked-by: Stephen Boyd <sboyd@kernel.org> # clk
Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> # input
Acked-by: Mark Brown <broonie@kernel.org>
Acked-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> # media
Acked-by: Sebastian Reichel <sre@kernel.org> # power
Acked-by: Viresh Kumar <viresh.kumar@linaro.org> # cpufreq
Link: https://lore.kernel.org/r/20221216163815.522628-7-krzysztof.kozlowski@linaro.org
Signed-off-by: Rob Herring <robh@kernel.org>
57 lines
1.8 KiB
YAML
57 lines
1.8 KiB
YAML
# SPDX-License-Identifier: GPL-2.0
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/serial/rs485.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: RS485 serial communications
|
|
|
|
description: The RTS signal is capable of automatically controlling line
|
|
direction for the built-in half-duplex mode. The properties described
|
|
hereafter shall be given to a half-duplex capable UART node.
|
|
|
|
maintainers:
|
|
- Rob Herring <robh@kernel.org>
|
|
|
|
properties:
|
|
rs485-rts-delay:
|
|
description: prop-encoded-array <a b>
|
|
$ref: /schemas/types.yaml#/definitions/uint32-array
|
|
items:
|
|
items:
|
|
- description: Delay between rts signal and beginning of data sent in
|
|
milliseconds. It corresponds to the delay before sending data.
|
|
default: 0
|
|
maximum: 100
|
|
- description: 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.
|
|
default: 0
|
|
maximum: 100
|
|
|
|
rs485-rts-active-low:
|
|
description: drive RTS low when sending (default is high).
|
|
$ref: /schemas/types.yaml#/definitions/flag
|
|
|
|
rs485-rx-active-high:
|
|
description: Polarity of receiver enable signal (when separate from RTS).
|
|
True indicates active high (default is low).
|
|
$ref: /schemas/types.yaml#/definitions/flag
|
|
|
|
linux,rs485-enabled-at-boot-time:
|
|
description: enables the rs485 feature at boot time. It can be disabled
|
|
later with proper ioctl.
|
|
$ref: /schemas/types.yaml#/definitions/flag
|
|
|
|
rs485-rx-during-tx:
|
|
description: enables the receiving of data even while sending data.
|
|
$ref: /schemas/types.yaml#/definitions/flag
|
|
|
|
rs485-term-gpios:
|
|
description: GPIO pin to enable RS485 bus termination.
|
|
maxItems: 1
|
|
|
|
additionalProperties: true
|
|
|
|
...
|