[PATCH 3/7] dt-bindings: serial: sc16is7xx: Disallow transceiver GPIO on dual parts
From: Tapio Reijonen
Date: Wed Nov 11 2026 - 07:29:10 EST
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
chip. Reject the transceiver properties on these parts until their
channels have nodes of their own.
Signed-off-by: Tapio Reijonen <tapio.reijonen@xxxxxxxxxxx>
---
Documentation/devicetree/bindings/serial/nxp,sc16is7xx.yaml | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/Documentation/devicetree/bindings/serial/nxp,sc16is7xx.yaml b/Documentation/devicetree/bindings/serial/nxp,sc16is7xx.yaml
index ab39b95dae4029974dce1a2a2425785f26588eac..cfb2250587f74c9e4fa2ffa3f9ddb7de9cb418d2 100644
--- a/Documentation/devicetree/bindings/serial/nxp,sc16is7xx.yaml
+++ b/Documentation/devicetree/bindings/serial/nxp,sc16is7xx.yaml
@@ -83,6 +83,17 @@ allOf:
- $ref: /schemas/spi/spi-peripheral-props.yaml#
- $ref: /schemas/serial/serial.yaml#
- $ref: /schemas/serial/rs485.yaml#
+ - if:
+ properties:
+ compatible:
+ contains:
+ enum:
+ - nxp,sc16is752
+ - nxp,sc16is762
+ then:
+ properties:
+ transceiver-enable-gpios: false
+ transceiver-startup-delay-us: false
oneOf:
- required:
--
2.47.3