mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-08-31 14:13:39 +00:00

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>
33 lines
520 B
Plaintext
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>;
|
|
};
|