Re: [PATCH 3/7] dt-bindings: serial: sc16is7xx: Disallow transceiver GPIO on dual parts

From: Tapio Reijonen

Date: Tue Nov 24 2026 - 01:56:46 EST


On 11/23/26 10:00, Krzysztof Kozlowski wrote:
> On Wed, Nov 11, 2026 at 12:28:02PM +0000, Tapio Reijonen wrote:
>> The SC16IS752 and SC16IS762 describe both of their channels in the one
>> node that references serial.yaml, so transceiver-enable-gpios validates
>> on it, while the GPIO belongs to one port: the driver gives both ports
>> the same device, serial core requests the line once per port, and the
>> second request fails with -EBUSY, which fails the probe of the whole
>
> Which line? If you mean GPIO, then use consistent naming to make it easy
> to understand and then that's Linux GPIO limitation which is being
> fixed, thus no need for bindings change.

Yes, the GPIO; "line" was a poor choice of word next to a serial line.

The second request is one reason. The other is in the binding itself:
the dual parts describe both channels in one node, so a single
transceiver-enable-gpios there cannot say which channel's transceiver
it switches. If that is not a reason for a schema restriction either,
I drop this patch in v2.

Best regards,
Tapio