]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: qcom: oneplus-enchilada: Specify i2c4 clock frequency
authorDavid Heidelberg <david@ixit.cz>
Sat, 29 Nov 2025 23:22:39 +0000 (00:22 +0100)
committerBjorn Andersson <andersson@kernel.org>
Wed, 21 Jan 2026 13:24:59 +0000 (07:24 -0600)
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>
arch/arm64/boot/dts/qcom/sdm845-oneplus-enchilada.dts

index dcaea15c6d433c6772b8e262a83c7a53ec99e23a..c7e5268cc3fab95932f30ab20575b77c88bde8c0 100644 (file)
@@ -45,6 +45,8 @@
 };
 
 &i2c4 {
+       clock-frequency = <100000>;
+
        status = "okay";
 
        max98927_codec: max98927@3a {