[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ce0a160e-a666-5b34-b7b7-cbd18c480e58@foss.st.com>
Date: Wed, 16 Aug 2023 09:45:54 +0200
From: Patrice CHOTARD <patrice.chotard@...s.st.com>
To: Alain Volmat <avolmat@...com>, Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>
CC: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>,
<devicetree@...r.kernel.org>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v3 1/2] dt-bindings: soc: sti: add STi platform syscon
On 2/13/23 19:56, Alain Volmat wrote:
> Add DT schema of STi platform syscon
>
> Signed-off-by: Alain Volmat <avolmat@...com>
> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
> ---
> v3: correct subject line arm -> soc
>
> v2: update wording of commit log
> reorder compatible enum
> update example within the binding file
> .../bindings/soc/sti/st,sti-syscon.yaml | 46 +++++++++++++++++++
> 1 file changed, 46 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/soc/sti/st,sti-syscon.yaml
>
> diff --git a/Documentation/devicetree/bindings/soc/sti/st,sti-syscon.yaml b/Documentation/devicetree/bindings/soc/sti/st,sti-syscon.yaml
> new file mode 100644
> index 000000000000..5f97d9ff17fb
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/soc/sti/st,sti-syscon.yaml
> @@ -0,0 +1,46 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/soc/sti/st,sti-syscon.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: STMicroelectronics STi platform sysconfig
> +
> +maintainers:
> + - Patrice Chotard <patrice.chotard@...s.st.com>
> +
> +description: |
> + Binding for the various sysconfig nodes used within the STi
> + platform device-tree to point to some common configuration
> + registers used by other nodes.
> +
> +properties:
> + compatible:
> + items:
> + - enum:
> + - st,stih407-core-syscfg
> + - st,stih407-flash-syscfg
> + - st,stih407-front-syscfg
> + - st,stih407-lpm-syscfg
> + - st,stih407-rear-syscfg
> + - st,stih407-sbc-reg-syscfg
> + - st,stih407-sbc-syscfg
> + - const: syscon
> +
> + reg:
> + maxItems: 1
> +
> +required:
> + - compatible
> + - reg
> +
> +additionalProperties: false
> +
> +examples:
> + - |
> + syscfg_sbc: syscon@...0000 {
> + compatible = "st,stih407-sbc-syscfg", "syscon";
> + reg = <0x9620000 0x1000>;
> + };
> +
> +...
Applied on sti-next
Thanks
Patrice
Powered by blists - more mailing lists