Skip to contentSkip to conversation

arm64: dts: qcom: msm8916-samsung-a3u-eur: Enable external cap for MICBIAS1

PATCH Applied Vladimir Bely 2 participants 2 messages Dec 2 – Dec 4

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 arm64: dts: qcom: msm8916-samsung-a3u-eur: Enable external cap for MICBIAS1

The Samsung Galaxy A3 (2015) uses an external bypass capacitor on MICBIAS1 (matching the downstream vendor devicetree). Without qcom,micbias1-ext-cap, MICBIAS1 noise drowns out AMIC1/AMIC3 capture (noise floor ~1850 vs ~55 with the property enabled, tested on SM-A300F).

Enable qcom,micbias1-ext-cap on &pm8916_codec.

---
Changes in v2:
- Drop patches 2/3 and 3/3 (SM-A300F binding and separate DTB) per Nikita Travkin's review -- SM-A300F is hardware-identical to SM-A300FU for DT purposes and should reuse msm8916-samsung-a3u-eur.dts.
- Collect Reviewed-by from Konrad Dybcio.

v1: https://lore.kernel.org/linux-arm-msm/[email protected]/

 arch/arm64/boot/dts/qcom/msm8916-samsung-a3u-eur.dts | 4 ++++
 1 file changed, 4 insertions(+)
arch/arm64/boot/dts/qcom/msm8916-samsung-a3u-eur.dts +4 -0
index 906d31f1ea..7c889ab7b1 100644
@@ -109,6 +109,10 @@ &mdss_dsi0_out {
 	remote-endpoint = <&panel_in>;
 };
 
+&pm8916_codec {
+	qcom,micbias1-ext-cap;
+};
+
 &touchkey {
 	vcc-supply = <&reg_touch_key>;
 	vdd-supply = <&reg_key_led>;

base-commit: dde0308a2f8867806a444df1fdd7e685b1c56d5b

Signature · 1 line
2.43.0
maintainer Applied
#1 lore raw
Quoted 9 lines · Vladimir Bely

The Samsung Galaxy A3 (2015) uses an external bypass capacitor on MICBIAS1 (matching the downstream vendor devicetree). Without qcom,micbias1-ext-cap, MICBIAS1 noise drowns out AMIC1/AMIC3 capture (noise floor ~1850 vs ~55 with the property enabled, tested on SM-A300F).

Enable qcom,micbias1-ext-cap on &pm8916_codec.

[...]

Applied, thanks!

[1/1] arm64: dts: qcom: msm8916-samsung-a3u-eur: Enable external cap for MICBIAS1

      commit: e8323da563e6fc77c25ff51c0c92eed5f4b5fa6a

Best regards,

Signature · 1 line
Bjorn Andersson <[email protected]>