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

dt-bindings: arm: stm32: Add compatibles for syscon nodes

Since commit ad440432d1f9 ("dt-bindings: mfd: Ensure 'syscon' has a more specific compatible")
it is required to provide at least 2 compatibles string for syscon node.
This patch document the missing compatibles for stm32 SoCs.

Signed-off-by: Benjamin Gaignard <benjamin.gaignard@st.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>

authored by

Benjamin Gaignard and committed by
Alexandre Torgue
ece1420e 4fe66389

+13 -1
+13 -1
Documentation/devicetree/bindings/arm/stm32/st,stm32-syscon.yaml
··· 16 16 - items: 17 17 - enum: 18 18 - st,stm32mp157-syscfg 19 + - st,stm32mp151-pwr-mcu 20 + - st,stm32-syscfg 21 + - st,stm32-power-config 19 22 - const: syscon 20 23 21 24 reg: ··· 30 27 required: 31 28 - compatible 32 29 - reg 33 - - clocks 30 + 31 + if: 32 + properties: 33 + compatible: 34 + contains: 35 + enum: 36 + - st,stm32mp157-syscfg 37 + then: 38 + required: 39 + - clocks 34 40 35 41 additionalProperties: false 36 42