aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUwe Kleine-König <[email protected]>2022-05-19 18:28:37 +0200
committerLee Jones <[email protected]>2022-07-19 10:54:39 +0100
commit9875ab53c8aeb63ebf21bdc7195b57ac87ea30ed (patch)
tree2042ce178f3e5c8d255ca90fa09a660cefb69945
parent1520669c8255bd637c6b248b2be910e2688d38dd (diff)
dt-bindings: mfd: stm32-timers: Document how to specify interrupts
The timer units in the stm32mp1 CPUs have interrupts, depending on the timer flavour either one "global" or four dedicated ones. Document how to formalize these in a device tree. Signed-off-by: Uwe Kleine-König <[email protected]> Reviewed-by: Rob Herring <[email protected]> Reviewed-by: Fabrice Gasnier <[email protected]> Signed-off-by: Lee Jones <[email protected]> Link: https://lore.kernel.org/r/[email protected]
-rw-r--r--Documentation/devicetree/bindings/mfd/st,stm32-timers.yaml15
1 files changed, 15 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/mfd/st,stm32-timers.yaml b/Documentation/devicetree/bindings/mfd/st,stm32-timers.yaml
index 10b330d42901..5b05b2ec1728 100644
--- a/Documentation/devicetree/bindings/mfd/st,stm32-timers.yaml
+++ b/Documentation/devicetree/bindings/mfd/st,stm32-timers.yaml
@@ -46,6 +46,21 @@ properties:
minItems: 1
maxItems: 7
+ interrupts:
+ oneOf:
+ - maxItems: 1
+ - maxItems: 4
+
+ interrupt-names:
+ oneOf:
+ - items:
+ - const: global
+ - items:
+ - const: brk
+ - const: up
+ - const: trg-com
+ - const: cc
+
"#address-cells":
const: 1