[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <bb270fce3c78314ffc5ac8590cc3685c@trvn.ru>
Date: Tue, 23 Jul 2024 20:25:50 +0500
From: Nikita Travkin <nikita@...n.ru>
To: Konrad Dybcio <konrad.dybcio@...aro.org>
Cc: Bjorn Andersson <andersson@...nel.org>, Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>, Conor Dooley
<conor+dt@...nel.org>, Dmitry Baryshkov <dmitry.baryshkov@...aro.org>,
linux-arm-msm@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, ~postmarketos/upstreaming@...ts.sr.ht, Anton
Bambura <jenneron@...tmarketos.org>, Stephan Gerhold <stephan@...hold.net>
Subject: Re: [PATCH v2 2/3] arm64: dts: qcom: msm8916-wingtech-wt865x8: Add
Lenovo A6000/A6010
Konrad Dybcio писал(а) 23.07.2024 16:24:
> On 22.07.2024 2:47 PM, Nikita Travkin wrote:
>> From: Anton Bambura <jenneron@...tmarketos.org>
>>
>> Add initial device-tree for Lenovo A6000 (wt86518) and Lenovo A6010
>> (wt86528), which are MSM8916-based devices. These devices are quite
>> similar, so some configuration is shared in msm8916-wingtech-wt865x8.dtsi.
>
> [...]
>
>
>> +/ {
>> + model = "Lenovo A6000 (Wingtech WT86518)";
>> + compatible = "wingtech,wt86518", "qcom,msm8916";
>> + chassis-type = "handset";
>> +
>> + speaker_amp: audio-amplifier {
>> + compatible = "awinic,aw8738";
>> +
>> + pinctrl-names = "default";
>> + pinctrl-0 = <&spk_ext_pa_default>;
>
> flip
Oops, missed this one, will fix.
>
> [...]
>
>> +&sound {
>> + model = "wt88047";
>> + widgets =
>> + "Speaker", "Speaker",
>> + "Headphone", "Headphones";
>
> Please don't start a new line for this (same below)
>
Ack, will re-align.
>> + pin-switches = "Speaker", "Headphones";
>> + audio-routing =
>> + "Speaker", "Speaker Amp OUT",
>> + "Speaker Amp IN", "HPH_R",
>
> [...]
>
>> + /* left AW8736 */
>> + speaker_amp_left: audio-amplifier-left {
>> + compatible = "awinic,aw8738";
>
> Should this get a new compatible (with a fallback if sw-compatible)?
>
Per my understanding those two are supposed to be effectively same
chip, not sure if there is any point in adding a new compatible/fallback
in this case...
Thanks for looking at this!
Nikita
>> +
>> + pinctrl-0 = <&spk_ext_pa_left_default>;
>> + pinctrl-names = "default";
>> +
>> + mode-gpios = <&tlmm 119 GPIO_ACTIVE_HIGH>;
>> + sound-name-prefix = "Speaker Amp L";
>> + awinic,mode = <3>;
>> + };
>> +
>> + /* right AW8736 */
>> + speaker_amp_right: audio-amplifier-right {
>> + compatible = "awinic,aw8738";
>
> ditto
>
> Konrad
Powered by blists - more mailing lists