summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Heidelberg <david@ixit.cz>2025-11-30 02:22:39 +0300
committerBjorn Andersson <andersson@kernel.org>2026-01-21 16:24:59 +0300
commit1ef28ee5c51f21bc3ff493dfdc175827bbabf195 (patch)
tree182d3c6dc51ddb902a0c878f8193de8b665e6201
parent15bbdb3e56684bfe6ca2a38dd9c2d5bd2d2a8247 (diff)
downloadlinux-1ef28ee5c51f21bc3ff493dfdc175827bbabf195.tar.xz
arm64: dts: qcom: oneplus-enchilada: Specify i2c4 clock frequency
Per the binding, omitting the clock frequency from a Geni I2C controller node defaults the bus to 100 kHz. But at least in Linux, a friendly info print highlights the lack of explicitly defined frequency in the DeviceTree. Specify the frequency, to give it an explicit value, and to silence the log print in Linux. Downstream doesn't define any frequency, thus also using 100 kHz. Signed-off-by: David Heidelberg <david@ixit.cz> Link: https://lore.kernel.org/r/20251130-enchilada-i2c-freq-v1-1-2932480a0261@ixit.cz Signed-off-by: Bjorn Andersson <andersson@kernel.org>
-rw-r--r--arch/arm64/boot/dts/qcom/sdm845-oneplus-enchilada.dts2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/qcom/sdm845-oneplus-enchilada.dts b/arch/arm64/boot/dts/qcom/sdm845-oneplus-enchilada.dts
index dcaea15c6d43..c7e5268cc3fa 100644
--- a/arch/arm64/boot/dts/qcom/sdm845-oneplus-enchilada.dts
+++ b/arch/arm64/boot/dts/qcom/sdm845-oneplus-enchilada.dts
@@ -45,6 +45,8 @@
};
&i2c4 {
+ clock-frequency = <100000>;
+
status = "okay";
max98927_codec: max98927@3a {