From: mani@kernel.org
To: jic23@kernel.org, robh+dt@kernel.org, narcisaanamaria12@gmail.com
Cc: knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net,
linux-iio@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, andy.shevchenko@gmail.com,
Manivannan Sadhasivam <mani@kernel.org>
Subject: [PATCH v3 3/3] dt-bindings: serial: Add binding for software flow control in STM32 UART
Date: Wed, 15 Apr 2020 00:11:47 +0530 [thread overview]
Message-ID: <20200414184147.4857-4-mani@kernel.org> (raw)
In-Reply-To: <20200414184147.4857-1-mani@kernel.org>
From: Manivannan Sadhasivam <mani@kernel.org>
Add devicetree binding for software flow control in STM32 UART
controller. While at it, let's also fix one schema error reported by
`make dtbs_check`.
Signed-off-by: Manivannan Sadhasivam <mani@kernel.org>
---
.../devicetree/bindings/serial/st,stm32-uart.yaml | 15 ++++++++++++++-
1 file changed, 14 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/serial/st,stm32-uart.yaml b/Documentation/devicetree/bindings/serial/st,stm32-uart.yaml
index 238c44192d31..ea5797a1b403 100644
--- a/Documentation/devicetree/bindings/serial/st,stm32-uart.yaml
+++ b/Documentation/devicetree/bindings/serial/st,stm32-uart.yaml
@@ -38,13 +38,26 @@ properties:
description: enable hardware flow control
$ref: /schemas/types.yaml#/definitions/flag
+ st,sw-flow-ctrl:
+ description: enable software flow control
+ $ref: /schemas/types.yaml#/definitions/flag
+
+ rts-gpios:
+ description: RTS pin used if st,sw-flow-ctrl is true
+ maxItems: 1
+
+ cts-gpios:
+ description: CTS pin used if st,sw-flow-ctrl is true
+ maxItems: 1
+
dmas:
minItems: 1
maxItems: 2
dma-names:
items:
- enum: [ rx, tx ]
+ - const: rx
+ - const: tx
minItems: 1
maxItems: 2
--
2.17.1
next prev parent reply other threads:[~2020-04-14 18:42 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-14 18:41 [PATCH v3 0/3] Add Reset and Wakeup support for CCS811 mani
2020-04-14 18:41 ` [PATCH v3 1/3] iio: chemical: Add support for external Reset and Wakeup in CCS811 mani
2020-04-14 18:41 ` [PATCH v3 2/3] iio: chemical: Add OF match table for CCS811 VOC sensor mani
2020-04-14 18:41 ` mani [this message]
2020-04-14 18:44 ` [PATCH v3 0/3] Add Reset and Wakeup support for CCS811 Manivannan Sadhasivam
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200414184147.4857-4-mani@kernel.org \
--to=mani@kernel.org \
--cc=andy.shevchenko@gmail.com \
--cc=devicetree@vger.kernel.org \
--cc=jic23@kernel.org \
--cc=knaack.h@gmx.de \
--cc=lars@metafoo.de \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=narcisaanamaria12@gmail.com \
--cc=pmeerw@pmeerw.net \
--cc=robh+dt@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.