[PATCH V3 1/2] dt-bindings: clock: imx8m/imx93: introduce fsl,always-on-clocks property

Peng Fan (OSS) posted 2 patches 3 years, 6 months ago
[PATCH V3 1/2] dt-bindings: clock: imx8m/imx93: introduce fsl,always-on-clocks property
Posted by Peng Fan (OSS) 3 years, 6 months ago
From: Peng Fan <peng.fan@nxp.com>

i.MX8M Linux run on top of Jailhouse hypervisor, the root cell Linux
should not disable clocks used by inmate.

So introduce fsl,always-on-clocks for above case.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
 Documentation/devicetree/bindings/clock/imx8m-clock.yaml | 4 ++++
 Documentation/devicetree/bindings/clock/imx93-clock.yaml | 4 ++++
 2 files changed, 8 insertions(+)

diff --git a/Documentation/devicetree/bindings/clock/imx8m-clock.yaml b/Documentation/devicetree/bindings/clock/imx8m-clock.yaml
index 458c7645ee68..4b481737895d 100644
--- a/Documentation/devicetree/bindings/clock/imx8m-clock.yaml
+++ b/Documentation/devicetree/bindings/clock/imx8m-clock.yaml
@@ -39,6 +39,10 @@ properties:
       ID in its "clocks" phandle cell. See include/dt-bindings/clock/imx8m-clock.h
       for the full list of i.MX8M clock IDs.
 
+  fsl,always-on-clocks:
+    description: List of the always-on-clocks.
+    $ref: /schemas/types.yaml#/definitions/uint32-array
+
 required:
   - compatible
   - reg
diff --git a/Documentation/devicetree/bindings/clock/imx93-clock.yaml b/Documentation/devicetree/bindings/clock/imx93-clock.yaml
index 21a06194e4a3..2b35e8af1438 100644
--- a/Documentation/devicetree/bindings/clock/imx93-clock.yaml
+++ b/Documentation/devicetree/bindings/clock/imx93-clock.yaml
@@ -43,6 +43,10 @@ properties:
       See include/dt-bindings/clock/imx93-clock.h for the full list of
       i.MX93 clock IDs.
 
+  fsl,always-on-clocks:
+    description: List of the always-on-clocks.
+    $ref: /schemas/types.yaml#/definitions/uint32-array
+
 required:
   - compatible
   - reg
-- 
2.37.1
RE: [PATCH V3 1/2] dt-bindings: clock: imx8m/imx93: introduce fsl,always-on-clocks property
Posted by Peng Fan 3 years, 6 months ago
Missed to cc: devicetree@vger.kernel.org

> Subject: [PATCH V3 1/2] dt-bindings: clock: imx8m/imx93: introduce
> fsl,always-on-clocks property
> 
> From: Peng Fan <peng.fan@nxp.com>
> 
> i.MX8M Linux run on top of Jailhouse hypervisor, the root cell Linux should
> not disable clocks used by inmate.
> 
> So introduce fsl,always-on-clocks for above case.
> 
> Signed-off-by: Peng Fan <peng.fan@nxp.com>
> ---
>  Documentation/devicetree/bindings/clock/imx8m-clock.yaml | 4 ++++
> Documentation/devicetree/bindings/clock/imx93-clock.yaml | 4 ++++
>  2 files changed, 8 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/clock/imx8m-clock.yaml
> b/Documentation/devicetree/bindings/clock/imx8m-clock.yaml
> index 458c7645ee68..4b481737895d 100644
> --- a/Documentation/devicetree/bindings/clock/imx8m-clock.yaml
> +++ b/Documentation/devicetree/bindings/clock/imx8m-clock.yaml
> @@ -39,6 +39,10 @@ properties:
>        ID in its "clocks" phandle cell. See include/dt-bindings/clock/imx8m-
> clock.h
>        for the full list of i.MX8M clock IDs.
> 
> +  fsl,always-on-clocks:
> +    description: List of the always-on-clocks.
> +    $ref: /schemas/types.yaml#/definitions/uint32-array
> +
>  required:
>    - compatible
>    - reg
> diff --git a/Documentation/devicetree/bindings/clock/imx93-clock.yaml
> b/Documentation/devicetree/bindings/clock/imx93-clock.yaml
> index 21a06194e4a3..2b35e8af1438 100644
> --- a/Documentation/devicetree/bindings/clock/imx93-clock.yaml
> +++ b/Documentation/devicetree/bindings/clock/imx93-clock.yaml
> @@ -43,6 +43,10 @@ properties:
>        See include/dt-bindings/clock/imx93-clock.h for the full list of
>        i.MX93 clock IDs.
> 
> +  fsl,always-on-clocks:
> +    description: List of the always-on-clocks.
> +    $ref: /schemas/types.yaml#/definitions/uint32-array
> +
>  required:
>    - compatible
>    - reg
> --
> 2.37.1
Re: [PATCH V3 1/2] dt-bindings: clock: imx8m/imx93: introduce fsl,always-on-clocks property
Posted by Krzysztof Kozlowski 3 years, 6 months ago
On 13/09/2022 11:29, Peng Fan wrote:
> Missed to cc: devicetree@vger.kernel.org

This does not work.

Please resend.

Best regards,
Krzysztof