Thank you for your contribution! Sashiko AI review found 1 potential issue to consider: - [Low] ARM: dts: omap3pandora: non-generic pcm1773-codec node name used as ABI --
commit c8d3624565f86aa716a8f19bdd1dc4e2ff56499b Author: H. Nikolaus Schaller <[email protected]> ARM: dts: omap3pandora: Describe PCM1773 This commit adds a devicetree node for the PCM1773 playback DAC to the common OpenPandora devicetree. > diff --git a/arch/arm/boot/dts/ti/omap/omap3-pandora-common.dtsi > b/arch/arm/boot/dts/ti/omap/omap3-pandora-common.dtsi > index 2a5e8ba5714da..6e349f7ae6936 100644 > --- a/arch/arm/boot/dts/ti/omap/omap3-pandora-common.dtsi > +++ b/arch/arm/boot/dts/ti/omap/omap3-pandora-common.dtsi > @@ -64,6 +64,13 @@ tv_connector_in: endpoint { > }; > }; > > + dac: pcm1773-codec { > + compatible = "ti,pcm1773"; > + vcc-supply = <&vsim>; > + enable-gpios = <&gpio4 22 GPIO_ACTIVE_HIGH>; /* GPIO 118 */ > + status = "okay"; > + }; [Severity: Low] Should this node use a generic name such as audio-codec rather than the chip-specific pcm1773-codec? Because this root-level node has no reg property, of_device_make_bus_id() names the platform device directly after the node name, and sound/soc/ti/omap3pandora.c relies on that exact name as an ABI: sound/soc/ti/omap3pandora.c: SND_SOC_DAILINK_DEFS(out, DAILINK_COMP_ARRAY(COMP_CPU("omap-mcbsp.2")), DAILINK_COMP_ARRAY(COMP_CODEC("pcm1773-codec", "pcm1773")), DAILINK_COMP_ARRAY(COMP_PLATFORM("omap-mcbsp.2"))); Matching the codec via a DT phandle in the machine driver would allow a generic node name here without breaking codec binding. Also, status = "okay" is the default and can be dropped. -- Sashiko AI review ยท https://sashiko.dev/#/patchset/[email protected]?part=16
