On Tue, Nov 24, 2026 at 07:40:31AM +0000, [email protected] 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 <[email protected]>
>
> 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