mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Rob Herring (Arm)" <robh@kernel.org>
To: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Cc: Conor Dooley <conor+dt@kernel.org>,
	linux-kernel@vger.kernel.org, devicetree@vger.kernel.org,
	Krzysztof Kozlowski <krzk+dt@kernel.org>
Subject: Re: [PATCH v3] dt-bindings: example-schema: Show example of dependentRequired and dependentSchemas
Date: Wed, 11 Nov 2026 19:10:30 -0600	[thread overview]
Message-ID: <179444583029.3920685.4716587685949707412.robh@kernel.org> (raw)
In-Reply-To: <20261111184139.205114-2-krzysztof.kozlowski@oss.qualcomm.com>


On Wed, 11 Nov 2026 19:41:40 +0100, Krzysztof Kozlowski wrote:
> Document example usage of dependentRequired, a shorter and preferred
> form of conditional property requirement over dependencies and
> if:then: block, and dependentSchemas replacing the if:required:then:.
> 
> Place both after the "required:" list.
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
> 
> ---
> 
> Changes in v3:
> 1. Replace existing dependencies and add dependentSchemas
> 
> Changes in v2:
> 1. Use clocks/clock-names in the dependentRequired, to avoid conflict
>    with existing foo-supply constraint.
> ---
>  .../devicetree/bindings/example-schema.yaml   | 33 ++++++++++---------
>  1 file changed, 18 insertions(+), 15 deletions(-)
> 

Applied, thanks!


      reply	other threads:[~2026-11-12  1:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-11 18:41 Krzysztof Kozlowski
2026-11-12  1:10 ` Rob Herring (Arm) [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=179444583029.3920685.4716587685949707412.robh@kernel.org \
    --to=robh@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=krzysztof.kozlowski@oss.qualcomm.com \
    --cc=linux-kernel@vger.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

all inboxes | Powered by JetHome®