Skip to content

Commit 4dd7c9d

Browse files
systec-awegregkh
authored andcommitted
dt-bindings: serial: sc16is7xx: Add description for polling mode
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 <[email protected]> Acked-by: Krzysztof Kozlowski <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 2b6b523 commit 4dd7c9d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Documentation/devicetree/bindings/serial/nxp,sc16is7xx.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ properties:
2323
maxItems: 1
2424

2525
interrupts:
26+
description:
27+
When missing, device driver uses polling instead.
2628
maxItems: 1
2729

2830
clocks:
@@ -76,7 +78,6 @@ properties:
7678
required:
7779
- compatible
7880
- reg
79-
- interrupts
8081

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

0 commit comments

Comments
 (0)