[PATCH 4/4] dt-bindings: soc: samsung: exynos-sysreg: add clocks for Exynos850

Sriranjani P sriranjani.p at samsung.com
Fri Nov 25 06:33:49 PST 2022



> -----Original Message-----
> From: Krzysztof Kozlowski [mailto:krzysztof.kozlowski at linaro.org]
> Sent: 25 November 2022 16:52
> To: Lee Jones <lee at kernel.org>; Rob Herring <robh+dt at kernel.org>;
Krzysztof
> Kozlowski <krzysztof.kozlowski+dt at linaro.org>; Alim Akhtar
> <alim.akhtar at samsung.com>; devicetree at vger.kernel.org; linux-
> kernel at vger.kernel.org; linux-arm-kernel at lists.infradead.org;
linux-samsung-
> soc at vger.kernel.org
> Cc: Krzysztof Kozlowski <krzysztof.kozlowski at linaro.org>; Sriranjani P
> <sriranjani.p at samsung.com>; Chanho Park <chanho61.park at samsung.com>;
> Sam Protsenko <semen.protsenko at linaro.org>
> Subject: [PATCH 4/4] dt-bindings: soc: samsung: exynos-sysreg: add clocks
for
> Exynos850
> 
> Exynos850 has dedicated clock for accessing SYSREGs.  Allow it, even
though
> Linux currently does not enable them and relies on bootloader.
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski at linaro.org>
> 
> ---
> 
> Cc: Sriranjani P <sriranjani.p at samsung.com>
> Cc: Chanho Park <chanho61.park at samsung.com>
> Cc: Sam Protsenko <semen.protsenko at linaro.org>
> ---

Reviewed-by: Sriranjani P <sriranjani.p at samsung.com>

>  .../soc/samsung/samsung,exynos-sysreg.yaml        | 15 +++++++++++++++
>  1 file changed, 15 insertions(+)
> 
> diff --git
> a/Documentation/devicetree/bindings/soc/samsung/samsung,exynos-
> sysreg.yaml
> b/Documentation/devicetree/bindings/soc/samsung/samsung,exynos-
> sysreg.yaml
> index 42357466005e..27cea934a286 100644
> --- a/Documentation/devicetree/bindings/soc/samsung/samsung,exynos-
> sysreg.yaml
> +++ b/Documentation/devicetree/bindings/soc/samsung/samsung,exynos-
> sysre
> +++ g.yaml
> @@ -36,10 +36,25 @@ properties:
>    reg:
>      maxItems: 1
> 
> +  clocks:
> +    maxItems: 1
> +
>  required:
>    - compatible
>    - reg
> 
> +allOf:
> +  - if:
> +      not:
> +        properties:
> +          compatible:
> +            contains:
> +              enum:
> +                - samsung,exynos850-sysreg
> +    then:
> +      properties:
> +        clocks: false
> +
>  additionalProperties: false
> 
>  examples:
> --
> 2.34.1





More information about the linux-arm-kernel mailing list