Linux ATA/IDE development
 help / color / mirror / Atom feed
From: Conor Dooley <conor@kernel.org>
To: Fabio Estevam <festevam@gmail.com>
Cc: cassel@kernel.org, dlemoal@kernel.org, robh@kernel.org,
	krzk+dt@kernel.org, conor+dt@kernel.org,
	linux-ide@vger.kernel.org, devicetree@vger.kernel.org,
	wens@csie.org, jernej.skrabec@gmail.com, samuel@sholland.org
Subject: Re: [PATCH] dt-bindings: ata: sun4i-a10: Add a reference to ahci-common.yaml
Date: Sat, 23 Aug 2025 14:54:40 +0100	[thread overview]
Message-ID: <20250823-bulgur-query-612ab1ddb4f0@spud> (raw)
In-Reply-To: <20250822181749.94232-1-festevam@gmail.com>

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

On Fri, Aug 22, 2025 at 03:17:49PM -0300, Fabio Estevam wrote:
> The 'target-supply' property is already documented in ahci-common.yaml.
> 
> Instead of documenting it locally, add a reference to ahci-common.yaml.
> 
> Also change to 'unevaluatedProperties: false' to allow the properties
> from ahci-common.yaml to be evaluated.

Are the other properties in ahci-common.yaml valid for this device?

> 
> Signed-off-by: Fabio Estevam <festevam@gmail.com>
> ---
>  .../devicetree/bindings/ata/allwinner,sun4i-a10-ahci.yaml | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/Documentation/devicetree/bindings/ata/allwinner,sun4i-a10-ahci.yaml b/Documentation/devicetree/bindings/ata/allwinner,sun4i-a10-ahci.yaml
> index 2011bd03cdcd..8826aed4ec03 100644
> --- a/Documentation/devicetree/bindings/ata/allwinner,sun4i-a10-ahci.yaml
> +++ b/Documentation/devicetree/bindings/ata/allwinner,sun4i-a10-ahci.yaml
> @@ -10,6 +10,9 @@ maintainers:
>    - Chen-Yu Tsai <wens@csie.org>
>    - Maxime Ripard <mripard@kernel.org>
>  
> +allOf:
> +  - $ref: ahci-common.yaml#
> +
>  properties:
>    compatible:
>      const: allwinner,sun4i-a10-ahci
> @@ -25,16 +28,13 @@ properties:
>    interrupts:
>      maxItems: 1
>  
> -  target-supply:
> -    description: Regulator for SATA target power
> -
>  required:
>    - compatible
>    - reg
>    - clocks
>    - interrupts
>  
> -additionalProperties: false
> +unevaluatedProperties: false
>  
>  examples:
>    - |
> -- 
> 2.34.1
> 

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

  reply	other threads:[~2025-08-23 13:54 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-22 18:17 [PATCH] dt-bindings: ata: sun4i-a10: Add a reference to ahci-common.yaml Fabio Estevam
2025-08-23 13:54 ` Conor Dooley [this message]
2025-08-25 16:46   ` Conor Dooley
2025-08-25 16:51     ` Fabio Estevam

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=20250823-bulgur-query-612ab1ddb4f0@spud \
    --to=conor@kernel.org \
    --cc=cassel@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dlemoal@kernel.org \
    --cc=festevam@gmail.com \
    --cc=jernej.skrabec@gmail.com \
    --cc=krzk+dt@kernel.org \
    --cc=linux-ide@vger.kernel.org \
    --cc=robh@kernel.org \
    --cc=samuel@sholland.org \
    --cc=wens@csie.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