From: sashiko-bot@kernel.org
To: "H. Nikolaus Schaller" <hns@goldelico.com>
Cc: linux-gpio@vger.kernel.org, devicetree@vger.kernel.org,
dri-devel@lists.freedesktop.org, linux-leds@vger.kernel.org,
linux-sound@vger.kernel.org, robh@kernel.org,
conor+dt@kernel.org, lee@kernel.org
Subject: Re: [PATCH v2 06/20] dt-bindings: sound: Document OpenPandora sound card
Date: Tue, 24 Nov 2026 07:40:31 +0000 [thread overview]
Message-ID: <sashiko-outbox-230655@kernel.org> (raw)
In-Reply-To: <5c6f7deca16f70f1f19cb40c57d70e30068d6000.1795505160.git.hns@goldelico.com>
Thank you for your contribution! Sashiko AI review found 3 potential
issues to consider:
- [Medium] dt-bindings: sound: openpandora sound-dai omits mcbsp4 and
twl4030 DAIs
- [Low] dt-bindings: sound: openpandora sound-dai lacks per-entry items
list
- [Low] dt-bindings: sound: openpandora example has status property and
wrong order
--
commit a7d9248344c1d8736a83ed4cfd8b21aad87db0cb
Author: H. Nikolaus Schaller <hns@goldelico.com>
dt-bindings: sound: Document OpenPandora sound card
This commit adds a Device Tree binding schema for the OpenPandora OMAP3
audio subsystem connecting OMAP3 McBSP, the PCM1773 DAC, and the TWL4030
codec.
> diff --git a/Documentation/devicetree/bindings/sound/openpandora,omap3pandora-sound.yaml b/Documentation/devicetree/bindings/sound/openpandora,omap3pandora-sound.yaml
> new file mode 100644
> index 0000000000000..6c4d69ffc1c50
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/sound/openpandora,omap3pandora-sound.yaml
[ ... ]
> + sound-dai:
> + $ref: /schemas/types.yaml#/definitions/phandle-array
> + minItems: 2
> + maxItems: 2
> + description:
> + Phandles to the audio CPU DAI (OMAP3 McBSP) and the codec DAI.
[Severity: Low]
Should sound-dai define an items list with a per-entry description for
each phandle instead of using minItems/maxItems with a free-form
description?
[ ... ]
> +examples:
> + - |
> + #include <dt-bindings/gpio/gpio.h>
> +
> + sound {
> + compatible = "openpandora,omap3pandora-sound";
> + status = "okay";
> +
> + label = "OpenPandora";
> +
> + amp-gpios = <&gpio1 14 GPIO_ACTIVE_HIGH>;
> + amp-supply = <&aux_5v>;
> +
> + widgets =
> + "Line", "Line Out",
> + "Line", "Line In",
> + "Headphone", "Headphone Jack",
> + "Microphone", "Mic (internal)",
> + "Microphone", "Mic (external)";
[Severity: Low]
DT binding examples normally omit status = "okay", and the property
order in the example node (widgets, routing, sound-dai) does not match
the order declared under properties: in the schema (sound-dai, routing,
widgets).
> +
> + routing =
> + "DAC1", "APLL Enable",
> + "DAC2", "APLL Enable",
> + "Headphone Amplifier", "VOUTL",
> + "Headphone Amplifier", "VOUTR",
> + "Line Out", "VOUTL",
> + "Line Out", "VOUTR",
> + "Headphone Jack", "Headphone Amplifier",
> + "AUXL", "Line In",
> + "AUXR", "Line In",
> + "MAINMIC", "Mic (internal)",
> + "Mic (internal)", "Mic Bias 1",
> + "SUBMIC", "Mic (external)",
> + "Mic (external)", "Mic Bias 2";
> +
> + sound-dai = <&mcbsp2>, <&dac>;
> + };
[Severity: Medium]
Does constraining sound-dai to two phandles omit the second DAI link for
OMAP3 McBSP4 and the TWL4030 codec?
The OpenPandora audio complex (sound/soc/ti/omap3pandora.c) uses two DAI
links: McBSP2 connected to the PCM1773 DAC for playback, and McBSP4
connected to the TWL4030 codec for capture and APLL clocking. The
schema description and the example routing table both include the
TWL4030 widgets (APLL Enable, AUXL, AUXR, MAINMIC, SUBMIC, Mic Bias 1,
Mic Bias 2), but sound-dai only allows two entries and lists only
<&mcbsp2> and <&dac>.
--
Sashiko AI review · https://sashiko.dev/#/patchset/cover.1795505160.git.hns@goldelico.com?part=6
next prev parent reply other threads:[~2026-11-24 7:40 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-24 7:25 [PATCH v2 00/20] ARM: omap3: pandora: Modernize audio and backlight to use Device Tree to finally remove pdata-quirks H. Nikolaus Schaller
2026-11-24 7:25 ` [PATCH v2 01/20] dt-bindings: gpio: twl4030: Document REGEN GPIO H. Nikolaus Schaller
2026-11-24 7:25 ` [PATCH v2 02/20] gpio: twl4030: Support " H. Nikolaus Schaller
2026-11-24 7:43 ` sashiko-bot
2026-11-24 7:25 ` [PATCH v2 03/20] ASoC: twl4030: Allow APLL rate selection through set_sysclk() H. Nikolaus Schaller
2026-11-24 7:25 ` [PATCH v2 04/20] dt-bindings: sound: pcm1754: Describe PCM1773 H. Nikolaus Schaller
2026-11-24 7:25 ` [PATCH v2 05/20] ASoC: codecs: pcm1754: Add PCM1773 support H. Nikolaus Schaller
2026-11-24 7:25 ` [PATCH v2 06/20] dt-bindings: sound: Document OpenPandora sound card H. Nikolaus Schaller
2026-11-24 7:40 ` sashiko-bot [this message]
2026-11-24 7:25 ` [PATCH v2 07/20] ASoC: ti: omap3pandora: Convert sound card to DT H. Nikolaus Schaller
2026-11-24 7:45 ` sashiko-bot
2026-11-24 7:25 ` [PATCH v2 08/20] dt-bindings: mfd: twl4030: Document 64-cycle PWM H. Nikolaus Schaller
2026-11-24 7:25 ` [PATCH v2 09/20] pwm: twl: Support 64-cycle PWM frame H. Nikolaus Schaller
2026-11-24 7:37 ` sashiko-bot
2026-11-24 7:25 ` [PATCH v2 10/20] dt-bindings: backlight: pwm: Document enable guard H. Nikolaus Schaller
2026-11-24 7:25 ` [PATCH v2 11/20] backlight: pwm: Support enable guard period H. Nikolaus Schaller
2026-11-24 7:36 ` sashiko-bot
2026-11-24 7:25 ` [PATCH v2 12/20] drm/panel: td043mtea1: Attach DT backlight H. Nikolaus Schaller
2026-11-24 7:25 ` [PATCH v2 13/20] ARM: dts: omap3pandora: Disable unused DMA channels H. Nikolaus Schaller
2026-11-24 7:25 ` [PATCH v2 14/20] ARM: dts: omap3-pandora: Model LCD power enable dependencies H. Nikolaus Schaller
2026-11-24 7:45 ` sashiko-bot
2026-11-24 7:25 ` [PATCH v2 15/20] ARM: dts: omap3pandora: Enable audio interfaces H. Nikolaus Schaller
2026-11-24 7:25 ` [PATCH v2 16/20] ARM: dts: omap3pandora: Describe PCM1773 H. Nikolaus Schaller
2026-11-24 7:40 ` sashiko-bot
2026-11-24 7:25 ` [PATCH v2 17/20] ARM: dts: omap3pandora: Describe sound card H. Nikolaus Schaller
2026-11-24 7:47 ` sashiko-bot
2026-11-24 7:25 ` [PATCH v2 18/20] ARM: dts: omap3pandora: Switch backlight to PWM H. Nikolaus Schaller
2026-11-24 7:46 ` sashiko-bot
2026-11-24 7:25 ` [PATCH v2 19/20] backlight: Remove legacy Pandora driver H. Nikolaus Schaller
2026-11-24 7:26 ` [PATCH v2 20/20] ARM: OMAP2+: Remove Pandora platform-data quirks H. Nikolaus Schaller
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=sashiko-outbox-230655@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=hns@goldelico.com \
--cc=lee@kernel.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-leds@vger.kernel.org \
--cc=linux-sound@vger.kernel.org \
--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