[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4d68ace9-d9ab-647a-9cd0-33f5cc450e58@linaro.org>
Date: Tue, 14 Feb 2023 09:13:18 +0100
From: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
To: Alain Volmat <avolmat@...com>,
Jassi Brar <jassisinghbrar@...il.com>,
Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Patrice Chotard <patrice.chotard@...s.st.com>
Cc: linux-kernel@...r.kernel.org, devicetree@...r.kernel.org
Subject: Re: [PATCH v2] dt-bindings: mailbox: sti-mailbox: convert to DT
schema
On 13/02/2023 22:27, Alain Volmat wrote:
> Convert the sti-mailbox.txt file into st,sti-mailbox.yaml
>
> Signed-off-by: Alain Volmat <avolmat@...com>
> ---
> v2: update commit log
> remove quotes around urls
> add mbox-name $ref
> remove mbox-name from required properties since not mandatory in the driver
> fix IRQ type in example
>
> .../bindings/mailbox/st,sti-mailbox.yaml | 53 +++++++++++++++++++
> .../bindings/mailbox/sti-mailbox.txt | 51 ------------------
> 2 files changed, 53 insertions(+), 51 deletions(-)
> create mode 100644 Documentation/devicetree/bindings/mailbox/st,sti-mailbox.yaml
> delete mode 100644 Documentation/devicetree/bindings/mailbox/sti-mailbox.txt
>
> diff --git a/Documentation/devicetree/bindings/mailbox/st,sti-mailbox.yaml b/Documentation/devicetree/bindings/mailbox/st,sti-mailbox.yaml
> new file mode 100644
> index 000000000000..e91ca86284eb
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/mailbox/st,sti-mailbox.yaml
> @@ -0,0 +1,53 @@
> +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/mailbox/st,sti-mailbox.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: STMicroelectronics Mailbox Driver for STi platform
> +
> +description:
> + Each ST Mailbox IP currently consists of 4 instances of 32 channels.
> + Messages are passed between Application and Remote processors using
> + shared memory.
> +
> +maintainers:
> + - Patrice Chotard <patrice.chotard@...s.st.com>
> +
> +properties:
> + compatible:
> + const: st,stih407-mailbox
> +
> + reg:
> + maxItems: 1
> +
> + mbox-name:
> + $ref: '/schemas/types.yaml#/definitions/string'
Still quotes to remove.
Best regards,
Krzysztof
Powered by blists - more mailing lists