devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Roger Quadros <rogerq@kernel.org>
To: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>,
	Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Kishon Vijay Abraham I <kishon@kernel.org>,
	Nishanth Menon <nm@ti.com>, Vignesh Raghavendra <vigneshr@ti.com>,
	Tero Kristo <kristo@kernel.org>
Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH 1/5] dt-bindings: soc: ti: am62-system-controller: add AM62 syscon
Date: Mon, 20 May 2024 14:35:53 +0300	[thread overview]
Message-ID: <b3145cd3-f6d4-4778-938c-33eb6ed6de5d@kernel.org> (raw)
In-Reply-To: <20240518-dt-bindings-ti-soc-mfd-v1-1-b3952f104c9a@linaro.org>



On 18/05/2024 23:07, Krzysztof Kozlowski wrote:
> Add dedicated binding for AM62 and AM62A wakeup system controller
> registers, already used in the DTS to properly describe their children.
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---
>  .../bindings/soc/ti/ti,am62-system-controller.yaml | 77 ++++++++++++++++++++++
>  1 file changed, 77 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/soc/ti/ti,am62-system-controller.yaml b/Documentation/devicetree/bindings/soc/ti/ti,am62-system-controller.yaml
> new file mode 100644
> index 000000000000..d3bd67717999
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/soc/ti/ti,am62-system-controller.yaml
> @@ -0,0 +1,77 @@
> +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/soc/ti/ti,am62-system-controller.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: TI AM62 System Controller Registers R/W
> +
> +maintainers:
> +  - Kishon Vijay Abraham I <kishon@ti.com>

Above email might be invalid. Please use this instead

Kishon Vijay Abraham I <kishon@kernel.org>

> +  - Roger Quadros <rogerq@kernel.org>
> +
> +properties:
> +  compatible:
> +    items:
> +      - enum:
> +          - ti,am62-system-controller
> +          - ti,am62a-system-controller
> +      - const: syscon
> +      - const: simple-mfd
> +
> +  reg:
> +    maxItems: 1
> +
> +  "#address-cells":
> +    const: 1
> +
> +  "#size-cells":
> +    const: 1
> +
> +  ranges: true
> +
> +patternProperties:
> +  "^chipid@[0-9a-f]+$":
> +    type: object
> +    $ref: /schemas/hwinfo/ti,k3-socinfo.yaml#
> +
> +  "^syscon@[0-9a-f]+$":
> +    type: object
> +    $ref: /schemas/mfd/syscon.yaml#
> +    unevaluatedProperties: false
> +    properties:
> +      compatible:
> +        items:
> +          - const: ti,am62-usb-phy-ctrl
> +          - const: syscon
> +
> +required:
> +  - compatible
> +  - reg
> +  - "#address-cells"
> +  - "#size-cells"
> +  - ranges
> +
> +additionalProperties: false
> +
> +examples:
> +  - |
> +    syscon@43000000 {
> +        compatible = "ti,am62-system-controller", "syscon", "simple-mfd";
> +        reg = <0x43000000 0x20000>;
> +        bootph-all;
> +        #address-cells = <1>;
> +        #size-cells = <1>;
> +        ranges = <0x0 0x43000000 0x20000>;
> +
> +        chipid@14 {
> +            compatible = "ti,am654-chipid";
> +            reg = <0x14 0x4>;
> +            bootph-all;
> +        };
> +
> +        syscon@4008 {
> +            compatible = "ti,am62-usb-phy-ctrl", "syscon";
> +            reg = <0x4008 0x4>;
> +        };
> +    };
> 

-- 
cheers,
-roger

  reply	other threads:[~2024-05-20 11:35 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-18 20:07 [PATCH 0/5] ti: fix dtbs_check for some syscon bindings and DTS node Krzysztof Kozlowski
2024-05-18 20:07 ` [PATCH 1/5] dt-bindings: soc: ti: am62-system-controller: add AM62 syscon Krzysztof Kozlowski
2024-05-20 11:35   ` Roger Quadros [this message]
2024-05-20 13:09     ` Krzysztof Kozlowski
2024-05-20 17:13   ` Conor Dooley
2024-05-18 20:07 ` [PATCH 2/5] dt-bindings: soc: ti: am645-system-controller: add AM654 syscon Krzysztof Kozlowski
2024-05-20 11:41   ` Roger Quadros
2024-05-20 17:14   ` Conor Dooley
2024-05-21  9:15     ` Krzysztof Kozlowski
2024-05-18 20:07 ` [PATCH 3/5] arm64: dts: ti: k3-am62: add dedicated wakeup controller compatible Krzysztof Kozlowski
2024-05-20 11:39   ` Roger Quadros
2024-05-18 20:07 ` [PATCH 4/5] arm64: dts: ti: k3-am65-mcu: " Krzysztof Kozlowski
2024-05-20 11:40   ` Roger Quadros
2024-05-18 20:07 ` [PATCH 5/5] arm64: dts: ti: k3-am62a: use a specific MCU " Krzysztof Kozlowski
2024-05-20 11:40   ` Roger Quadros
2024-06-19  4:58 ` [PATCH 0/5] ti: fix dtbs_check for some syscon bindings and DTS node Jan Kiszka
2024-06-19  5:54   ` Krzysztof Kozlowski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b3145cd3-f6d4-4778-938c-33eb6ed6de5d@kernel.org \
    --to=rogerq@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=kishon@kernel.org \
    --cc=kristo@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=krzysztof.kozlowski@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nm@ti.com \
    --cc=robh@kernel.org \
    --cc=vigneshr@ti.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).