From: Hongyang Zhao <hongyang.zhao@thundersoft.com>
To: robh@kernel.org
Cc: broonie@kernel.org, conor+dt@kernel.org,
devicetree@vger.kernel.org, drake@endlessm.com,
hongyang.zhao@thundersoft.com, katsuhiro@katsuster.net,
konrad.dybcio@oss.qualcomm.com, krzk+dt@kernel.org,
lgirdwood@gmail.com, linux-kernel@vger.kernel.org,
linux-sound@vger.kernel.org, matteomartelli3@gmail.com,
perex@perex.cz, rosh@debian.org, tiwai@suse.com,
zhoubinbin@loongson.cn
Subject: Re: [PATCH v2 1/2] ASoC: dt-bindings: es8316: Add regulator supplies
Date: Fri, 14 Aug 2026 00:56:30 +0800 [thread overview]
Message-ID: <20260813165631.843134-1-hongyang.zhao@thundersoft.com> (raw)
In-Reply-To: <20260812194234.GA693895-robh@kernel.org>
On Wed, Aug 12, 2026 at 05:35:43PM +0800, Hongyang Zhao wrote:
> > The ES8316 has separate AVDD, CPVDD, DVDD and PVDD supply inputs for
> > its analog, charge pump, digital core and digital I/O domains. Describe
> > all four inputs so boards can model the codec power topology.
> >
> > The binding also covers ES8311 and ES8323, whose supply inputs differ,
> > so restrict these properties to the ES8316 compatible. Keep them
> > optional for compatibility with existing descriptions.
> >
> > Signed-off-by: Hongyang Zhao <hongyang.zhao@thundersoft.com>
> > ---
> > .../devicetree/bindings/sound/everest,es8316.yaml | 27 ++++++++++++++++++++++
> > 1 file changed, 27 insertions(+)
> >
> > diff --git a/Documentation/devicetree/bindings/sound/everest,es8316.yaml b/Documentation/devicetree/bindings/sound/everest,es8316.yaml
> > index fe5d938ca310..276c73bb4790 100644
> > --- a/Documentation/devicetree/bindings/sound/everest,es8316.yaml
> > +++ b/Documentation/devicetree/bindings/sound/everest,es8316.yaml
> > @@ -30,6 +30,17 @@ description: |
> >
> > allOf:
> > - $ref: dai-common.yaml#
> > + - if:
> > + properties:
> > + compatible:
> > + contains:
> > + const: everest,es8316
> > + else:
>
> Missing 'then'. You need to invert the 'if'.
>
> Looks like Mark already applied, so you'll need to send incremental
> patch.
Thanks for pointing this out. I understand the issue now.
I inverted the condition, moved the supply restrictions under `then`,
and sent an incremental fix against the applied commit:
https://lore.kernel.org/r/20260813-b4-es8316-binding-conditional-fix-v1-1-6cd56aa1370c@thundersoft.com
I also verified the fix with dt_binding_check using the latest
dtschema.
Thanks,
Hongyang
next prev parent reply other threads:[~2026-08-13 17:32 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-12 9:35 [PATCH v2 0/2] ASoC: es8316: Add regulator support Hongyang Zhao
2026-08-12 9:35 ` [PATCH v2 1/2] ASoC: dt-bindings: es8316: Add regulator supplies Hongyang Zhao
2026-08-12 19:28 ` Rob Herring (Arm)
2026-08-12 19:42 ` Rob Herring
2026-08-13 16:56 ` Hongyang Zhao [this message]
2026-08-12 9:35 ` [PATCH v2 2/2] ASoC: codecs: es8316: Add regulator support Hongyang Zhao
2026-08-12 10:49 ` [PATCH v2 0/2] ASoC: " Mark Brown
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=20260813165631.843134-1-hongyang.zhao@thundersoft.com \
--to=hongyang.zhao@thundersoft.com \
--cc=broonie@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=drake@endlessm.com \
--cc=katsuhiro@katsuster.net \
--cc=konrad.dybcio@oss.qualcomm.com \
--cc=krzk+dt@kernel.org \
--cc=lgirdwood@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sound@vger.kernel.org \
--cc=matteomartelli3@gmail.com \
--cc=perex@perex.cz \
--cc=robh@kernel.org \
--cc=rosh@debian.org \
--cc=tiwai@suse.com \
--cc=zhoubinbin@loongson.cn \
/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®