[PATCH v3 7/9] dt-bindings: arm: stm32: Switch st,stm32mp23/25-syscfg into simple-mfd
Marek Vasut <[email protected]>
| Newsgroups | org.infradead.lists.linux-phy,org.infradead.lists.linux-arm-kernel,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-kernel,org.kernel.vger.linux-usb |
|---|---|
| Message-ID | <[email protected]> |
The st,stm32mp23-syscfg and st,stm32mp25-syscfg can have subnodes, which represent the USB 2.0 FEMTO-PHY. Turn the syscfg into "simple-mfd" so the PHYs would get populated by the OS. Signed-off-by: Marek Vasut <[email protected]> --- Cc: Alexandre Torgue <[email protected]> Cc: Christian Bruel <[email protected]> Cc: Conor Dooley <[email protected]> Cc: Fabrice Gasnier <[email protected]> Cc: Greg Kroah-Hartman <[email protected]> Cc: Krzysztof Kozlowski <[email protected]> Cc: Maxime Coquelin <[email protected]> Cc: Neil Armstrong <[email protected]> Cc: Pankaj Dev <[email protected]> Cc: Rahul Kumar <[email protected]> Cc: Rob Herring <[email protected]> Cc: Rosen Penev <[email protected]> Cc: Thinh Nguyen <[email protected]> Cc: Vinod Koul <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] --- V2: New patch V3: Fix the bindings --- .../bindings/arm/stm32/st,stm32-syscon.yaml | 24 +++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/arm/stm32/st,stm32-syscon.yaml b/Documentation/devicetree/bindings/arm/stm32/st,stm32-syscon.yaml index 95d2319afe235..4db4198c5dd7a 100644 --- a/Documentation/devicetree/bindings/arm/stm32/st,stm32-syscon.yaml +++ b/Documentation/devicetree/bindings/arm/stm32/st,stm32-syscon.yaml @@ -22,11 +22,12 @@ properties: - st,stm32mp151-pwr-mcu - st,stm32mp157-syscfg - st,stm32mp21-syscfg - - st,stm32mp23-syscfg - - st,stm32mp25-syscfg - const: syscon - items: - - const: st,stm32-tamp + - enum: + - st,stm32-tamp + - st,stm32mp23-syscfg + - st,stm32mp25-syscfg - const: syscon - const: simple-mfd @@ -39,6 +40,17 @@ properties: "#clock-cells": const: 0 + "#address-cells": + const: 1 + + "#size-cells": + const: 1 + +patternProperties: + "^phy@[0-9a-f]+$": + type: object + $ref: /schemas/phy/st,stm32-usb2phy.yaml + required: - compatible - reg @@ -57,10 +69,14 @@ allOf: - if: properties: compatible: - const: st,stm32mp25-syscfg + enum: + - st,stm32mp23-syscfg + - st,stm32mp25-syscfg then: required: - "#clock-cells" + - "#address-cells" + - "#size-cells" additionalProperties: false -- 2.53.0 -- linux-phy mailing list [email protected] https://lists.infradead.org/mailman/listinfo/linux-phy