2021-08-25 10:29:18

by Enric Balletbo i Serra

[permalink] [raw]
Subject: [PATCH v3 2/7] dt-bindings: mediatek: Add #reset-cells to mmsys system controller

The mmsys system controller exposes a set of memory client resets and
needs to specify the #reset-cells property in order to advertise the
number of cells needed to describe each of the resets.

Signed-off-by: Enric Balletbo i Serra <[email protected]>
---

Changes in v3:
- Based on top of the patch that converts mmsys to schema

.../devicetree/bindings/arm/mediatek/mediatek,mmsys.yaml | 4 ++++
1 file changed, 4 insertions(+)

diff --git a/Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.yaml b/Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.yaml
index 2d4ff0ce387b..96ca16927a06 100644
--- a/Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.yaml
+++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.yaml
@@ -42,6 +42,9 @@ properties:
"#clock-cells":
const: 1

+ '#reset-cells':
+ const: 1
+
required:
- compatible
- reg
@@ -55,4 +58,5 @@ examples:
compatible = "mediatek,mt8173-mmsys", "syscon";
reg = <0x14000000 0x1000>;
#clock-cells = <1>;
+ #reset-cells = <1>;
};
--
2.30.2


2021-08-25 16:33:02

by Rob Herring (Arm)

[permalink] [raw]
Subject: Re: [PATCH v3 2/7] dt-bindings: mediatek: Add #reset-cells to mmsys system controller

On Wed, 25 Aug 2021 12:26:27 +0200, Enric Balletbo i Serra wrote:
> The mmsys system controller exposes a set of memory client resets and
> needs to specify the #reset-cells property in order to advertise the
> number of cells needed to describe each of the resets.
>
> Signed-off-by: Enric Balletbo i Serra <[email protected]>
> ---
>
> Changes in v3:
> - Based on top of the patch that converts mmsys to schema
>
> .../devicetree/bindings/arm/mediatek/mediatek,mmsys.yaml | 4 ++++
> 1 file changed, 4 insertions(+)
>

Acked-by: Rob Herring <[email protected]>