[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220302095606.14818-5-ilpo.jarvinen@linux.intel.com>
Date: Wed, 2 Mar 2022 11:56:03 +0200
From: Ilpo Järvinen <ilpo.jarvinen@...ux.intel.com>
To: linux-serial@...r.kernel.org, Jiri Slaby <jirislaby@...nel.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: linux-kernel@...r.kernel.org, Lukas Wunner <lukas@...ner.de>,
Johan Hovold <johan@...nel.org>,
Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
Heikki Krogerus <heikki.krogerus@...ux.intel.com>,
Ilpo Järvinen <ilpo.jarvinen@...ux.intel.com>,
Rob Herring <robh+dt@...nel.org>, devicetree@...r.kernel.org
Subject: [PATCH 4/7] dt_bindings: snps-dw-apb-uart: Add RS485
Add RS485 enable & line polarity properties.
Cc: Rob Herring <robh+dt@...nel.org>
Cc: devicetree@...r.kernel.org
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@...ux.intel.com>
---
.../bindings/serial/snps-dw-apb-uart.yaml | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/Documentation/devicetree/bindings/serial/snps-dw-apb-uart.yaml b/Documentation/devicetree/bindings/serial/snps-dw-apb-uart.yaml
index 12137fe80acf..8d440afabb1f 100644
--- a/Documentation/devicetree/bindings/serial/snps-dw-apb-uart.yaml
+++ b/Documentation/devicetree/bindings/serial/snps-dw-apb-uart.yaml
@@ -103,6 +103,23 @@ properties:
register. Define this if your serial port does not use this pin.
type: boolean
+ snps,rs485-interface-en:
+ description: Use true RS-485 DE and RE signals (in contrast to RS-485
+ emulation using RTS). Requires IP version 4 or above.
+ type: boolean
+
+ snps,de-active-high:
+ description: Defines the polarity of driver enable (DE_EN) signal.
+ Meaningful only with snps,rs485-interface-en. True indicates active
+ high.
+ type: boolean
+
+ snps,re-active-high:
+ description: Defines the polarity of receiver enable (RE_EN) signal.
+ Meaningful only with snps,rs485-interface-en. True indicates active
+ high.
+ type: boolean
+
required:
- compatible
- reg
--
2.30.2
Powered by blists - more mailing lists