Skip to content

Commit

Permalink
dt-bindings: serial: sc16is7xx: Add description for polling mode
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Andre Werner authored and Greg Kroah-Hartman committed Jan 10, 2025
1 parent 2b6b523 commit 4dd7c9d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Documentation/devicetree/bindings/serial/nxp,sc16is7xx.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ properties:
maxItems: 1

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

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

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

0 comments on commit 4dd7c9d

Please sign in to comment.