Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: mfd: stm32-lptimer: Add support for stm32mp25

Add a new stm32mp25 compatible to stm32-lptimer dt-bindings, to support
STM32MP25 SoC. Some features has been updated or added to the low-power
timer:
- new capture compare channels
- up to two PWM channels
- PWM input capture
- peripheral interconnect in stm32mp25 has been updated (new triggers).
- registers/bits has been added or revisited (IER access).
So introduce a new compatible to handle this diversity.

Signed-off-by: Fabrice Gasnier <fabrice.gasnier@foss.st.com>
Reviewed-by: "Rob Herring (Arm)" <robh@kernel.org>
Link: https://lore.kernel.org/r/20250429125133.1574167-2-fabrice.gasnier@foss.st.com
Signed-off-by: Lee Jones <lee@kernel.org>

authored by

Fabrice Gasnier and committed by
Lee Jones
3f9ce9d0 0af2f6be

+34 -6
+34 -6
Documentation/devicetree/bindings/mfd/st,stm32-lptimer.yaml
··· 21 21 22 22 properties: 23 23 compatible: 24 - const: st,stm32-lptimer 24 + oneOf: 25 + - items: 26 + - const: st,stm32mp25-lptimer 27 + - const: st,stm32-lptimer 28 + - items: 29 + - const: st,stm32-lptimer 25 30 26 31 reg: 27 32 maxItems: 1 ··· 53 48 minItems: 1 54 49 maxItems: 2 55 50 51 + power-domains: 52 + maxItems: 1 53 + 56 54 pwm: 57 55 type: object 58 56 additionalProperties: false 59 57 60 58 properties: 61 59 compatible: 62 - const: st,stm32-pwm-lp 60 + oneOf: 61 + - items: 62 + - const: st,stm32mp25-pwm-lp 63 + - const: st,stm32-pwm-lp 64 + - items: 65 + - const: st,stm32-pwm-lp 63 66 64 67 "#pwm-cells": 65 68 const: 3 ··· 82 69 83 70 properties: 84 71 compatible: 85 - const: st,stm32-lptimer-counter 72 + oneOf: 73 + - items: 74 + - const: st,stm32mp25-lptimer-counter 75 + - const: st,stm32-lptimer-counter 76 + - items: 77 + - const: st,stm32-lptimer-counter 86 78 87 79 required: 88 80 - compatible ··· 98 80 99 81 properties: 100 82 compatible: 101 - const: st,stm32-lptimer-timer 83 + oneOf: 84 + - items: 85 + - const: st,stm32mp25-lptimer-timer 86 + - const: st,stm32-lptimer-timer 87 + - items: 88 + - const: st,stm32-lptimer-timer 102 89 103 90 required: 104 91 - compatible ··· 115 92 116 93 properties: 117 94 compatible: 118 - const: st,stm32-lptimer-trigger 95 + oneOf: 96 + - items: 97 + - const: st,stm32mp25-lptimer-trigger 98 + - const: st,stm32-lptimer-trigger 99 + - items: 100 + - const: st,stm32-lptimer-trigger 119 101 120 102 reg: 121 103 description: Identify trigger hardware block. 122 104 items: 123 105 minimum: 0 124 - maximum: 2 106 + maximum: 4 125 107 126 108 required: 127 109 - compatible