Re: [PATCH 1/3] dt-bindings: sound: add bindings for pm4125 audio codec
From: Dmitry Baryshkov
Date: Sun Jun 29 2025 - 11:00:16 EST
On Sat, Jun 28, 2025 at 05:41:31PM +0100, Alexey Klimov wrote:
> On Thu Jun 26, 2025 at 7:13 AM BST, Krzysztof Kozlowski wrote:
> > On Thu, Jun 26, 2025 at 12:50:29AM +0100, Alexey Klimov wrote:
> >> The audio codec IC is found on Qualcomm PM4125/PM2250 PMIC.
> >> It has TX and RX soundwire slave devices hence two files
> >> are added.
> >>
> >> Signed-off-by: Alexey Klimov <alexey.klimov@xxxxxxxxxx>
> >> ---
> >> .../bindings/sound/qcom,pm4125-codec.yaml | 147 +++++++++++++++++++++
> >> .../devicetree/bindings/sound/qcom,pm4125-sdw.yaml | 86 ++++++++++++
> >> 2 files changed, 233 insertions(+)
> >>
> >> diff --git a/Documentation/devicetree/bindings/sound/qcom,pm4125-codec.yaml b/Documentation/devicetree/bindings/sound/qcom,pm4125-codec.yaml
> >> new file mode 100644
> >> index 0000000000000000000000000000000000000000..1b6ce8d4397b4c1c048899bd2cc4d02318cc46c9
> >> --- /dev/null
> >> +++ b/Documentation/devicetree/bindings/sound/qcom,pm4125-codec.yaml
> >> +
> >> + /* ... */
> >> +
> >> + soundwire@a610000 {
> >
> > Drop this and next one.
>
> The audio-codec node supposed to have qcom,{rx,tx}-device properties.
> If I'll drop it then the example doesn't compile well unless I am missing
> something?
Examples are compiled as plugins, so you can reference non-existing
handles. Keep the property in the codec and drop the soundwire devices.
--
With best wishes
Dmitry