mirror of
https://github.com/torvalds/linux.git
synced 2026-10-09 20:09:02 +02:00
arm64: dts: qcom: qcm6490-fairphone-fp5: Add AW88261 amplifiers
Add nodes for the two AW88261 amplifiers, for the top and bottom speakers of this phone. Hook them up to the sound card. Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com> Co-developed-by: Bharadwaj Raju <bharadwaj.raju@machinesoul.in> Signed-off-by: Bharadwaj Raju <bharadwaj.raju@machinesoul.in> Signed-off-by: Luca Weiss <luca.weiss@fairphone.com> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> Link: https://lore.kernel.org/r/20260612-fp5-aw88261-v2-1-f7ef7d060170@fairphone.com Signed-off-by: Bjorn Andersson <andersson@kernel.org>
This commit is contained in:
parent
0b967a82e7
commit
83f13e07c5
|
|
@ -866,8 +866,33 @@ vibrator@5a {
|
|||
&i2c2 {
|
||||
status = "okay";
|
||||
|
||||
/* AW88261FCR amplifier @ 34 */
|
||||
/* AW88261FCR amplifier @ 35 */
|
||||
/* Top speaker / ear speaker */
|
||||
aw88261_l: audio-codec@34 {
|
||||
compatible = "awinic,aw88261";
|
||||
reg = <0x34>;
|
||||
|
||||
dvdd-supply = <&vreg_l18b>;
|
||||
sound-name-prefix = "Amplifier L";
|
||||
firmware-name = "qcom/qcm6490/fairphone5/aw88261_acf.bin";
|
||||
|
||||
awinic,audio-channel = <0>;
|
||||
|
||||
#sound-dai-cells = <0>;
|
||||
};
|
||||
|
||||
/* Bottom speaker */
|
||||
aw88261_r: audio-codec@35 {
|
||||
compatible = "awinic,aw88261";
|
||||
reg = <0x35>;
|
||||
|
||||
dvdd-supply = <&vreg_l18b>;
|
||||
sound-name-prefix = "Amplifier R";
|
||||
firmware-name = "qcom/qcm6490/fairphone5/aw88261_acf.bin";
|
||||
|
||||
awinic,audio-channel = <1>;
|
||||
|
||||
#sound-dai-cells = <0>;
|
||||
};
|
||||
};
|
||||
|
||||
&i2c4 {
|
||||
|
|
@ -1160,6 +1185,13 @@ &pon_resin {
|
|||
status = "okay";
|
||||
};
|
||||
|
||||
&q6afedai {
|
||||
dai@127 {
|
||||
reg = <QUINARY_MI2S_RX>;
|
||||
qcom,sd-lines = <0>;
|
||||
};
|
||||
};
|
||||
|
||||
&qup_spi13_cs {
|
||||
drive-strength = <6>;
|
||||
bias-disable;
|
||||
|
|
@ -1237,6 +1269,11 @@ &sound {
|
|||
compatible = "fairphone,fp5-sndcard";
|
||||
model = "Fairphone 5";
|
||||
|
||||
pinctrl-0 = <&lpass_i2s1_active>;
|
||||
pinctrl-1 = <&lpass_i2s1_sleep>;
|
||||
pinctrl-names = "default",
|
||||
"sleep";
|
||||
|
||||
mm1-dai-link {
|
||||
link-name = "MultiMedia1";
|
||||
|
||||
|
|
@ -1245,6 +1282,22 @@ cpu {
|
|||
};
|
||||
};
|
||||
|
||||
i2s-dai-link {
|
||||
link-name = "Quinary MI2S Playback";
|
||||
|
||||
codec {
|
||||
sound-dai = <&aw88261_l>, <&aw88261_r>;
|
||||
};
|
||||
|
||||
cpu {
|
||||
sound-dai = <&q6afedai QUINARY_MI2S_RX>;
|
||||
};
|
||||
|
||||
platform {
|
||||
sound-dai = <&q6routing>;
|
||||
};
|
||||
};
|
||||
|
||||
displayport-rx-dai-link {
|
||||
link-name = "DisplayPort Playback";
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user