Re: [PATCH v2] dt-bindings: mailbox: sti-mailbox: convert to DT schema

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxx>
> ---
> 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@xxxxxxxxxxx>
> +
> +properties:
> +  compatible:
> +    const: st,stih407-mailbox
> +
> +  reg:
> +    maxItems: 1
> +
> +  mbox-name:
> +    $ref: '/schemas/types.yaml#/definitions/string'

Still quotes to remove.



Best regards,
Krzysztof




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux