public inbox for linux-usb@vger.kernel.org
 help / color / mirror / Atom feed
From: Conor Dooley <conor@kernel.org>
To: Catalin Popescu <catalin.popescu@leica-geosystems.com>
Cc: gregkh@linuxfoundation.org, robh@kernel.org, krzk+dt@kernel.org,
	conor+dt@kernel.org, festevam@gmail.com,
	linux-usb@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org, m.felsch@pengutronix.de,
	bsp-development.geo@leica-geosystems.com
Subject: Re: [PATCH next 1/3] dt-bindings: usb: microchip,usb2514: add support for vdda
Date: Tue, 11 Feb 2025 16:45:38 +0000	[thread overview]
Message-ID: <20250211-walnut-march-2e24b2f10045@spud> (raw)
In-Reply-To: <20250211105839.3328105-1-catalin.popescu@leica-geosystems.com>

[-- Attachment #1: Type: text/plain, Size: 1662 bytes --]

On Tue, Feb 11, 2025 at 11:58:37AM +0100, Catalin Popescu wrote:
> Microchip hub USB2514 has one 3V3 digital power supply and one 3V3
> analog power supply. Add support for analog power supply vdda.
> 
> Signed-off-by: Catalin Popescu <catalin.popescu@leica-geosystems.com>
> ---
>  .../bindings/usb/microchip,usb2514.yaml           | 15 +++++++++++++++
>  1 file changed, 15 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/usb/microchip,usb2514.yaml b/Documentation/devicetree/bindings/usb/microchip,usb2514.yaml
> index b14e6f37b298..743f7a22f13d 100644
> --- a/Documentation/devicetree/bindings/usb/microchip,usb2514.yaml
> +++ b/Documentation/devicetree/bindings/usb/microchip,usb2514.yaml
> @@ -28,6 +28,9 @@ properties:
>    vdd-supply:
>      description: 3.3V power supply.
>  
> +  vdda-supply:
> +    description: 3.3V analog power supply.
> +
>    clocks:
>      description: External 24MHz clock connected to the CLKIN pin.
>      maxItems: 1
> @@ -36,6 +39,18 @@ required:
>    - compatible
>    - reg
>  
> +if:

This should be merged with the existing allOf, which should be moved
down to after the patternProperties section.

Cheers,
Conor.

> +  properties:
> +    compatible:
> +      contains:
> +        const: usb424,2514
> +then:
> +  properties:
> +    vdda-supply: true
> +else:
> +  properties:
> +    vdda-supply: false
> +
>  patternProperties:
>    "^.*@[0-9a-f]{1,2}$":
>      description: The hard wired USB devices
> 
> base-commit: df5d6180169ae06a2eac57e33b077ad6f6252440
> prerequisite-patch-id: 0000000000000000000000000000000000000000
> -- 
> 2.34.1
> 

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

      parent reply	other threads:[~2025-02-11 16:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-11 10:58 [PATCH next 1/3] dt-bindings: usb: microchip,usb2514: add support for vdda Catalin Popescu
2025-02-11 10:58 ` [PATCH next 2/3] dt-bindings: usb: microchip,usb2514: add support for USB2512/USB2513 Catalin Popescu
2025-02-11 16:44   ` Conor Dooley
2025-02-11 10:58 ` [PATCH next 3/3] usb: misc: onboard_dev: add vdda support for Microchip USB2514 Catalin Popescu
2025-02-11 16:45 ` Conor Dooley [this message]

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=20250211-walnut-march-2e24b2f10045@spud \
    --to=conor@kernel.org \
    --cc=bsp-development.geo@leica-geosystems.com \
    --cc=catalin.popescu@leica-geosystems.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=festevam@gmail.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=m.felsch@pengutronix.de \
    --cc=robh@kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox