]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
arm64: dts: qcom: qcs6490-rb3gen2: Specify i2c1 clock frequency
authorBjorn Andersson <bjorn.andersson@oss.qualcomm.com>
Sat, 5 Oct 2024 04:09:05 +0000 (21:09 -0700)
committerBjorn Andersson <andersson@kernel.org>
Mon, 7 Oct 2024 22:01:44 +0000 (17:01 -0500)
Per the binding, omitting the clock frequency from a Geni I2C controller
node defaults the bus to 100Khz. 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.

Signed-off-by: Bjorn Andersson <bjorn.andersson@oss.qualcomm.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20241004-i2c1-frequency-v1-1-77a359015d54@oss.qualcomm.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts

index 6716c0682d48ca8ebc19453566d6fc4f41950921..bef184f10b46e1ccd10b232164eb4590dbc9ada0 100644 (file)
 };
 
 &i2c1 {
+       clock-frequency = <100000>;
        status = "okay";
 
        typec-mux@1c {