[PATCH v7 1/2] dt-bindings: serial: sc16is7xx: Add description for polling mode

From: Andre Werner
Date: Tue Jan 14 2025 - 02:05:09 EST


Polling mode is enabled if the "interrupts" property is missing.
Thus, this commit deletes "interrupts" entry from "required" section
and adds a description for the fallback to polling mode at the
"interrupts" entry.

Signed-off-by: Andre Werner <andre.werner@xxxxxxxxxxxxxxxxxxxxx>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>
---
V3:
- No changes on source.
- Add Acked-By to commit message.
V4:
- No changes
V5:
- No changes
V6:
- No changes
V7:
- No changes
---
Documentation/devicetree/bindings/serial/nxp,sc16is7xx.yaml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/serial/nxp,sc16is7xx.yaml b/Documentation/devicetree/bindings/serial/nxp,sc16is7xx.yaml
index 88871480018e..ab39b95dae40 100644
--- a/Documentation/devicetree/bindings/serial/nxp,sc16is7xx.yaml
+++ b/Documentation/devicetree/bindings/serial/nxp,sc16is7xx.yaml
@@ -23,6 +23,8 @@ properties:
maxItems: 1

interrupts:
+ description:
+ When missing, device driver uses polling instead.
maxItems: 1

clocks:
@@ -76,7 +78,6 @@ properties:
required:
- compatible
- reg
- - interrupts

allOf:
- $ref: /schemas/spi/spi-peripheral-props.yaml#
--
2.48.0