linux-loongson/arch/arm64/boot/dts/qcom/msm8916-samsung-j5.dts
Lin, Meng-Bo cf12268e1b arm64: dts: qcom: msm8916-samsung-j5: Add sound and modem
Enable sound and modem for the Samsung J5 smartphones. The setup is
similar to most MSM8916 devices, i.e.:

 - QDSP6 audio
 - Speaker/earpiece/headphones/microphones via digital/analog codec
   in MSM8916/PM8916
 - WWAN Internet via BAM-DMUX

except:

 - There is no secondary microphone, so a different "model" is used to
   differentiate that in the UCM configuration.
 - Samsung-specific audio jack detection (not supported yet)

Co-developed-by: Markuss Broks <markuss.broks@gmail.com>
Signed-off-by: Markuss Broks <markuss.broks@gmail.com>
Signed-off-by: "Lin, Meng-Bo" <linmengbo0689@protonmail.com>
[Stephan: Add consistent commit message]
Signed-off-by: Stephan Gerhold <stephan@gerhold.net>
Link: https://lore.kernel.org/r/20231003-msm8916-modem-v2-13-61b684be55c0@gerhold.net
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
2023-10-21 14:24:54 -07:00

33 lines
520 B
Plaintext

// SPDX-License-Identifier: GPL-2.0-only
/dts-v1/;
#include "msm8916-samsung-j5-common.dtsi"
/ {
model = "Samsung Galaxy J5 (2015)";
compatible = "samsung,j5", "qcom,msm8916";
chassis-type = "handset";
};
&accelerometer {
vdd-supply = <&pm8916_l5>;
vddio-supply = <&pm8916_l5>;
};
&blsp_i2c5 {
status = "disabled";
};
&pm8916_codec {
qcom,micbias1-ext-cap;
};
&touchscreen {
/* FIXME: Missing sm5703-mfd driver to power up vdd-supply */
};
&usb_hs_phy {
qcom,init-seq = /bits/ 8 <0x1 0x19 0x2 0x0b>;
};