From: Krzysztof Kozlowski <krzk@kernel.org>
To: Tapio Reijonen <tapio.reijonen@vaisala.com>
Cc: "Greg Kroah-Hartman" <gregkh@linuxfoundation.org>,
"Jiri Slaby" <jirislaby@kernel.org>,
"Rob Herring" <robh@kernel.org>,
"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
"Conor Dooley" <conor+dt@kernel.org>,
"Markus Probst" <markus.probst@posteo.de>,
linux-serial@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, "Lukas Wunner" <lukas@wunner.de>,
"Christoph Niedermaier" <cniedermaier@dh-electronics.com>,
"Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>,
"Lino Sanfilippo" <l.sanfilippo@kunbus.com>,
"Hugo Villeneuve" <hvilleneuve@dimonoff.com>
Subject: Re: [PATCH 6/7] dt-bindings: serial: max310x: Add maxim,tristate-when-closed
Date: Mon, 23 Nov 2026 09:05:03 +0100 [thread overview]
Message-ID: <20261123-tacky-hospitable-wasp-ff6ac6@quoll> (raw)
In-Reply-To: <20261111-serial-transceiver-supply-v1-6-40bad0f912f2@vaisala.com>
On Wed, Nov 11, 2026 at 12:28:05PM +0000, Tapio Reijonen wrote:
> The MAX310x UARTs can three-state TX and RTS per channel. Add a
> per-channel flag asking for that whenever the port is not open, for
> boards where the outputs must stay undriven then: a driven output
> would back-feed an unpowered part behind the pins, or fight another
> device driving the line.
>
> Signed-off-by: Tapio Reijonen <tapio.reijonen@vaisala.com>
> ---
> .../devicetree/bindings/serial/maxim,max310x.yaml | 16 ++++++++++++++++
> 1 file changed, 16 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/serial/maxim,max310x.yaml b/Documentation/devicetree/bindings/serial/maxim,max310x.yaml
> index e598dda4d13f514820ed8012f2fb2fc2aba3e669..f54296f6b6c85e3a6246e210af9ea8ee6af5118b 100644
> --- a/Documentation/devicetree/bindings/serial/maxim,max310x.yaml
> +++ b/Documentation/devicetree/bindings/serial/maxim,max310x.yaml
> @@ -54,6 +54,16 @@ required:
> - clocks
> - clock-names
>
> +$defs:
> + maxim,tristate-when-closed:
> + $ref: /schemas/types.yaml#/definitions/flag
> + description:
> + Three-state the channel's TX and RTS outputs whenever the port is
> + not open, from probe until the first open and after each close.
> + For boards where a driven output would back-feed an unpowered part
> + behind the pins, or where another device drives the line while the
> + port is closed. The board defines the levels the outputs float to.
Property name and description should reflect hardware characteristic,
not what OS should do.
Best regards,
Krzysztof
next prev parent reply other threads:[~2026-11-23 8:05 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-11 12:27 [PATCH 0/7] serial: core: Power the line transceiver with the port Tapio Reijonen
2026-11-11 12:28 ` [PATCH 1/7] serial: max310x: Look up all channels before adding any port Tapio Reijonen
2026-11-11 12:52 ` sashiko-bot
2026-11-11 12:28 ` [PATCH 2/7] dt-bindings: serial: Add the line transceiver enable GPIO Tapio Reijonen
2026-11-11 12:53 ` sashiko-bot
2026-11-23 8:03 ` Krzysztof Kozlowski
2026-11-23 8:08 ` Krzysztof Kozlowski
2026-11-11 12:28 ` [PATCH 3/7] dt-bindings: serial: sc16is7xx: Disallow transceiver GPIO on dual parts Tapio Reijonen
2026-11-11 12:55 ` sashiko-bot
2026-11-23 8:00 ` Krzysztof Kozlowski
2026-11-11 12:28 ` [PATCH 4/7] serial: core: Power the line transceiver with the port Tapio Reijonen
2026-11-11 13:16 ` sashiko-bot
2026-11-11 12:28 ` [PATCH 5/7] serial: max310x: Request the line transceiver per port Tapio Reijonen
2026-11-11 13:30 ` sashiko-bot
2026-11-11 12:28 ` [PATCH 6/7] dt-bindings: serial: max310x: Add maxim,tristate-when-closed Tapio Reijonen
2026-11-11 13:41 ` sashiko-bot
2026-11-23 8:05 ` Krzysztof Kozlowski [this message]
2026-11-11 12:28 ` [PATCH 7/7] serial: max310x: Three-state TX and RTS while the port is closed Tapio Reijonen
2026-11-11 13:54 ` sashiko-bot
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=20261123-tacky-hospitable-wasp-ff6ac6@quoll \
--to=krzk@kernel.org \
--cc=cniedermaier@dh-electronics.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=gregkh@linuxfoundation.org \
--cc=hvilleneuve@dimonoff.com \
--cc=ilpo.jarvinen@linux.intel.com \
--cc=jirislaby@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=l.sanfilippo@kunbus.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-serial@vger.kernel.org \
--cc=lukas@wunner.de \
--cc=markus.probst@posteo.de \
--cc=robh@kernel.org \
--cc=tapio.reijonen@vaisala.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox