Linux GPIO subsystem development
 help / color / mirror / Atom feed
From: Rob Herring <robh@kernel.org>
To: sashiko-reviews@lists.linux.dev
Cc: "H. Nikolaus Schaller" <hns@goldelico.com>,
	linux-gpio@vger.kernel.org, devicetree@vger.kernel.org,
	dri-devel@lists.freedesktop.org, linux-leds@vger.kernel.org,
	linux-sound@vger.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:09 -0600	[thread overview]
Message-ID: <20261124134009.GA43712-robh@kernel.org> (raw)
In-Reply-To: <sashiko-outbox-230655@kernel.org>

On Tue, Nov 24, 2026 at 07:40:31AM +0000, sashiko-bot@kernel.org wrote:
> 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?

This would be why you broke everyone else. sound-dai already has a type.

> 
> [ ... ]
> 
> > +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).

Also correct comments.

Rob

  reply	other threads:[~2026-11-24 13:40 UTC|newest]

Thread overview: 47+ 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 12:05   ` Mark Brown
2026-11-24 14:33     ` [Letux-kernel] " H. Nikolaus Schaller
2026-11-24  7:25 ` [PATCH v2 05/20] ASoC: codecs: pcm1754: Add PCM1773 support H. Nikolaus Schaller
2026-11-24 14:48   ` Mark Brown
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
2026-11-24 13:40     ` Rob Herring [this message]
2026-11-24 12:04   ` Mark Brown
2026-11-24 13:35   ` Rob Herring (Arm)
2026-11-24 14:42     ` H. Nikolaus Schaller
2026-11-24 14:45   ` Krzysztof Kozlowski
2026-11-24 14:50     ` H. Nikolaus Schaller
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 14:48   ` Mark Brown
2026-11-24 14:55     ` H. Nikolaus Schaller
2026-11-24  7:25 ` [PATCH v2 08/20] dt-bindings: mfd: twl4030: Document 64-cycle PWM H. Nikolaus Schaller
2026-11-24 14:40   ` Krzysztof Kozlowski
2026-11-24 14:49     ` 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
2026-11-24 13:38 ` [PATCH v2 00/20] ARM: omap3: pandora: Modernize audio and backlight to use Device Tree to finally remove pdata-quirks Mark Brown
2026-11-24 14:52   ` H. Nikolaus Schaller
2026-11-24 15:13 ` Rob Herring
2026-11-24 15:27   ` 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=20261124134009.GA43712-robh@kernel.org \
    --to=robh@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=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