From: Conor Dooley <conor@kernel.org>
To: Karol Przybylski <karprzy7@gmail.com>
Cc: lee@kernel.org, robh@kernel.org, krzk+dt@kernel.org,
conor+dt@kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, andreas@kemnade.info,
rogerq@kernel.org, skhan@linuxfoundation.org
Subject: Re: [PATCH] dt-bindings: mfd: omap-usb-tll: convert to YAML
Date: Fri, 15 Nov 2024 18:42:00 +0000 [thread overview]
Message-ID: <20241115-document-skirt-1b12ae3af541@spud> (raw)
In-Reply-To: <20241114185830.10025-1-karprzy7@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1902 bytes --]
On Thu, Nov 14, 2024 at 07:58:30PM +0100, Karol Przybylski wrote:
> diff --git a/Documentation/devicetree/bindings/mfd/omap-usb-tll.yaml b/Documentation/devicetree/bindings/mfd/omap-usb-tll.yaml
> new file mode 100644
> index 000000000000..f49417d1faf7
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/mfd/omap-usb-tll.yaml
> @@ -0,0 +1,51 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/mfd/omap-usb-tll.yaml#
ti,usbhs-tll.yaml as the filename please.
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: OMAP HS USB Host TLL (Transceiver-Less Interface)
> +
> +maintainers:
> + - <maintainer@kernel.org>
Put whoever the original author of the binding was here, failing that
probably the platform maintainers for omap.
> +
> +properties:
> + compatible:
> + enum:
> + - ti,usbhs-tll
> +
> + reg:
> + maxItems: 1
> +
> + interrupts:
> + maxItems: 1
> +
> + ti,hwmod:
Pretty sure you need a type here:
$ref: /schemas/types.yaml#/definitions/string
> + const: usb_tll_hs
> +
> + clocks:
> + minItems: 2
Please add an items list here for each clock with a description.
Where did the minItems: 2 come from? The text binding suggests that 1
would be valid.
Cheers,
Conor.
> +
> + clock-names:
> + items:
> + - const: usb_tll_hs_usb_ch0_clk
> + - const: usb_tll_hs_usb_ch1_clk
> + - const: usb_tll_hs_usb_ch2_clk
> + minItems: 2
> +
> +required:
> + - compatible
> + - reg
> + - interrupts
> + - ti,hwmod
> +
> +additionalProperties: false
> +
> +examples:
> + - |
> + usbhstll@4a062000 {
> + compatible = "ti,usbhs-tll";
> + reg = <0x4a062000 0x1000>;
> + interrupts = <78>;
> + ti,hwmod = "usb_tll_hs";
> + };
> --
> 2.34.1
>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
next prev parent reply other threads:[~2024-11-15 18:42 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-14 18:58 [PATCH] dt-bindings: mfd: omap-usb-tll: convert to YAML Karol Przybylski
2024-11-15 18:42 ` Conor Dooley [this message]
2024-11-15 20:05 ` Andreas Kemnade
2024-11-18 12:40 ` Roger Quadros
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=20241115-document-skirt-1b12ae3af541@spud \
--to=conor@kernel.org \
--cc=andreas@kemnade.info \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=karprzy7@gmail.com \
--cc=krzk+dt@kernel.org \
--cc=lee@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robh@kernel.org \
--cc=rogerq@kernel.org \
--cc=skhan@linuxfoundation.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.