]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
dt-bindings: serial: sc16is7xx: Add description for polling mode
authorAndre Werner <andre.werner@systec-electronic.com>
Fri, 10 Jan 2025 07:31:03 +0000 (08:31 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 Jan 2025 15:07:45 +0000 (16:07 +0100)
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@systec-electronic.com>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20250110073104.1029633-1-andre.werner@systec-electronic.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/devicetree/bindings/serial/nxp,sc16is7xx.yaml

index 88871480018e22830e1d2edd19face6e33cd1ca5..ab39b95dae4029974dce1a2a2425785f26588eac 100644 (file)
@@ -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#