From: sashiko-bot@kernel.org
To: "Hongyang Zhao" <hongyang.zhao@thundersoft.com>
Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH v3 1/6] ASoC: dt-bindings: es8316: Document jack detect inversion
Date: Fri, 04 Sep 2026 10:49:28 +0000 [thread overview]
Message-ID: <20260904104929.55E461F00A3E@smtp.kernel.org> (raw)
In-Reply-To: <20260904-rubikpi-next-20260605-v3-1-f49146d85af3@thundersoft.com>
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] The newly added property `everest,jack-detect-inverted` is not restricted to `everest,es8316`, allowing invalid configurations for `everest,es8311` and `everest,es8323` to silently bypass schema validation.
--
commit 9fc0fc78c1e3b0ad9527382c3b761e13ee89bf26
Author: Hongyang Zhao <hongyang.zhao@thundersoft.com>
Subject: ASoC: dt-bindings: es8316: Document jack detect inversion
This commit documents the everest,jack-detect-inverted property to allow
boards to describe the jack-detect polarity used by their wiring for the
ES8316 driver without failing schema validation.
> diff --git a/Documentation/devicetree/bindings/sound/everest,es8316.yaml b/Documentation/devicetree/bindings/sound/everest,es8316.yaml
> index f4ff23120c5b5..9060358a9080c 100644
> --- a/Documentation/devicetree/bindings/sound/everest,es8316.yaml
> +++ b/Documentation/devicetree/bindings/sound/everest,es8316.yaml
> @@ -84,6 +84,11 @@ properties:
> "#sound-dai-cells":
> const: 0
>
> + everest,jack-detect-inverted:
> + $ref: /schemas/types.yaml#/definitions/flag
> + description:
> + Defined to invert the jack detection.
> +
[Severity: Low]
Since this property in Documentation/devicetree/bindings/sound/everest,es8316.yaml
is specifically for the ES8316, does it need to be restricted in the
existing allOf conditional block?
Currently, the schema uses an if block to disable ES8316-only supplies for
other codecs like ES8311 and ES8323:
allOf:
- if:
properties:
compatible:
not:
contains:
const: everest,es8316
then:
properties:
avdd-supply: false
cpvdd-supply: false
dvdd-supply: false
pvdd-supply: false
Without adding everest,jack-detect-inverted: false to this block, won't
invalid configurations using this property on ES8311 or ES8323 devices
silently pass schema validation?
> required:
> - compatible
> - reg
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260904-rubikpi-next-20260605-v3-0-f49146d85af3@thundersoft.com?part=1
next prev parent reply other threads:[~2026-09-04 10:49 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-04 10:02 [PATCH v3 0/6] Add audio support for QCS6490 Rubik Pi 3 Hongyang Zhao
2026-09-04 10:02 ` [PATCH v3 1/6] ASoC: dt-bindings: es8316: Document jack detect inversion Hongyang Zhao
2026-09-04 10:49 ` sashiko-bot [this message]
2026-09-04 10:02 ` [PATCH v3 2/6] ASoC: dt-bindings: qcom,sm8250: Add RubikPi 3 sound card Hongyang Zhao
2026-09-04 10:02 ` [PATCH v3 3/6] ASoC: qcom: common: Add generic headset jack helpers Hongyang Zhao
2026-09-04 10:54 ` sashiko-bot
2026-09-04 10:02 ` [PATCH v3 4/6] ASoC: qcom: sc8280xp: Add per-DAI board configuration Hongyang Zhao
2026-09-04 10:58 ` sashiko-bot
2026-09-04 10:02 ` [PATCH v3 5/6] ASoC: qcom: sc8280xp: Add RubikPi 3 sound card support Hongyang Zhao
2026-09-04 10:02 ` [PATCH v3 6/6] arm64: dts: qcom: qcs6490-rubikpi3: Add audio support Hongyang Zhao
2026-09-04 10:59 ` sashiko-bot
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=20260904104929.55E461F00A3E@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=hongyang.zhao@thundersoft.com \
--cc=robh@kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
/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