Re: [PATCH v2 5/5] arm64: dts: qcom: Add device tree for Sony Xperia 1 IV

From: Marijn Suijten
Date: Thu Jul 14 2022 - 10:16:06 EST


On 2022-07-14 14:51:36, AngeloGioacchino Del Regno wrote:
[..]
> > +&i2c14 {
> > + clock-frequency = <1000000>;
> > + status = "okay";
> > +
> > + cs35l41_l: speaker-amp@40 {
>
> What about an even more generic audio-amplifier@40 ?

If I understood Krzystof's comment correctly the "generic name" request
is to describe in human terms what kind of device this is and perhaps
what it is used for. Since it is specifically driving a physical
speaker on this phone, carrying the word "speaker" in the name is better
than "audio", IMO.

I'm indifferent as to whether amp is written out as amplifier.

- Marijn

> > + compatible = "cirrus,cs35l41";
> > + reg = <0x40>;
> > + interrupt-parent = <&tlmm>;
> > + interrupts = <182 IRQ_TYPE_LEVEL_LOW>;
> > + reset-gpios = <&tlmm 183 GPIO_ACTIVE_HIGH>;
> > + cirrus,boost-peak-milliamp = <4000>;
> > + cirrus,boost-ind-nanohenry = <1000>;
> > + cirrus,boost-cap-microfarad = <15>;
> > + cirrus,gpio2-src-select = <2>;
> > + cirrus,gpio2-output-enable;
> > + cirrus,asp-sdout-hiz = <3>;
> > + #sound-dai-cells = <1>;
> > + };
> > +
> > + cs35l41_r: speaker-amp@41 {
> > + compatible = "cirrus,cs35l41";
> > + reg = <0x41>;
> > + interrupt-parent = <&tlmm>;
> > + interrupts = <182 IRQ_TYPE_LEVEL_LOW>;
> > + reset-gpios = <&tlmm 183 GPIO_ACTIVE_HIGH>;
> > + cirrus,boost-peak-milliamp = <4000>;
> > + cirrus,boost-ind-nanohenry = <1000>;
> > + cirrus,boost-cap-microfarad = <15>;
> > + cirrus,gpio2-src-select = <2>;
> > + cirrus,gpio2-output-enable;
> > + cirrus,asp-sdout-hiz = <3>;
> > + #sound-dai-cells = <1>;
> > + };
> > +};
> > +