~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/serial/rs485.yaml

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /Documentation/devicetree/bindings/serial/rs485.yaml (Architecture mips) and /Documentation/devicetree/bindings/serial/rs485.yaml (Architecture m68k)


  1 # SPDX-License-Identifier: GPL-2.0                  1 # SPDX-License-Identifier: GPL-2.0
  2 %YAML 1.2                                           2 %YAML 1.2
  3 ---                                                 3 ---
  4 $id: http://devicetree.org/schemas/serial/rs48      4 $id: http://devicetree.org/schemas/serial/rs485.yaml#
  5 $schema: http://devicetree.org/meta-schemas/co      5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6                                                     6 
  7 title: RS485 serial communications                  7 title: RS485 serial communications
  8                                                     8 
  9 description: The RTS signal is capable of auto      9 description: The RTS signal is capable of automatically controlling line
 10   direction for the built-in half-duplex mode.     10   direction for the built-in half-duplex mode. The properties described
 11   hereafter shall be given to a half-duplex ca     11   hereafter shall be given to a half-duplex capable UART node.
 12                                                    12 
 13 maintainers:                                       13 maintainers:
 14   - Rob Herring <robh@kernel.org>                   14   - Rob Herring <robh@kernel.org>
 15                                                    15 
 16 properties:                                        16 properties:
 17   rs485-rts-delay:                                 17   rs485-rts-delay:
 18     description: prop-encoded-array <a b>          18     description: prop-encoded-array <a b>
 19     $ref: /schemas/types.yaml#/definitions/uin     19     $ref: /schemas/types.yaml#/definitions/uint32-array
 20     items:                                         20     items:
 21       items:                                       21       items:
 22         - description: Delay between rts signa     22         - description: Delay between rts signal and beginning of data sent in
 23             milliseconds. It corresponds to th     23             milliseconds. It corresponds to the delay before sending data.
 24           default: 0                               24           default: 0
 25           maximum: 100                             25           maximum: 100
 26         - description: Delay between end of da     26         - description: Delay between end of data sent and rts signal in milliseconds.
 27             It corresponds to the delay after      27             It corresponds to the delay after sending data and actual release
 28             of the line.                           28             of the line.
 29           default: 0                               29           default: 0
 30           maximum: 100                             30           maximum: 100
 31                                                    31 
 32   rs485-rts-active-high:                           32   rs485-rts-active-high:
 33     description: drive RTS high when sending (     33     description: drive RTS high when sending (this is the default).
 34     $ref: /schemas/types.yaml#/definitions/fla     34     $ref: /schemas/types.yaml#/definitions/flag
 35                                                    35 
 36   rs485-rts-active-low:                            36   rs485-rts-active-low:
 37     description: drive RTS low when sending (d     37     description: drive RTS low when sending (default is high).
 38     $ref: /schemas/types.yaml#/definitions/fla     38     $ref: /schemas/types.yaml#/definitions/flag
 39                                                    39 
 40   rs485-rx-active-high:                            40   rs485-rx-active-high:
 41     description: Polarity of receiver enable s     41     description: Polarity of receiver enable signal (when separate from RTS).
 42       True indicates active high (default is l     42       True indicates active high (default is low).
 43     $ref: /schemas/types.yaml#/definitions/fla     43     $ref: /schemas/types.yaml#/definitions/flag
 44                                                    44 
 45   linux,rs485-enabled-at-boot-time:                45   linux,rs485-enabled-at-boot-time:
 46     description: enables the rs485 feature at      46     description: enables the rs485 feature at boot time. It can be disabled
 47       later with proper ioctl.                     47       later with proper ioctl.
 48     $ref: /schemas/types.yaml#/definitions/fla     48     $ref: /schemas/types.yaml#/definitions/flag
 49                                                    49 
 50   rs485-rx-during-tx:                              50   rs485-rx-during-tx:
 51     description: enables the receiving of data     51     description: enables the receiving of data even while sending data.
 52     $ref: /schemas/types.yaml#/definitions/fla     52     $ref: /schemas/types.yaml#/definitions/flag
 53                                                    53 
 54   rs485-term-gpios:                                54   rs485-term-gpios:
 55     description: GPIO pin to enable RS485 bus      55     description: GPIO pin to enable RS485 bus termination.
 56     maxItems: 1                                    56     maxItems: 1
 57                                                    57 
 58   rs485-rx-during-tx-gpios:                        58   rs485-rx-during-tx-gpios:
 59     description: Output GPIO pin that sets the     59     description: Output GPIO pin that sets the state of rs485-rx-during-tx. This
 60       signal can be used to control the RX par     60       signal can be used to control the RX part of an RS485 transceiver. Thereby
 61       the active state enables RX during TX.       61       the active state enables RX during TX.
 62     maxItems: 1                                    62     maxItems: 1
 63                                                    63 
 64 additionalProperties: true                         64 additionalProperties: true
 65                                                    65 
 66 ...                                                66 ...
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php