]> git.ipfire.org Git - thirdparty/linux.git/commit
i2c: qcom-geni: Support systems with 32MHz serial engine clock
authorManikanta Mylavarapu <quic_mmanikan@quicinc.com>
Mon, 30 Sep 2024 14:47:09 +0000 (20:17 +0530)
committerAndi Shyti <andi.shyti@kernel.org>
Sun, 17 Nov 2024 10:58:14 +0000 (11:58 +0100)
commit506bb2ab00753a59c8a63b02e898098815dc3141
tree92d5432b60d4ef3871fce2dd9542877e09c01e66
parent8284750a182937bf805f703311501730f02eb40e
i2c: qcom-geni: Support systems with 32MHz serial engine clock

In existing socs, I2C serial engine is sourced from XO (19.2MHz).
Where as in IPQ5424, I2C serial engine is sourced from GPLL0 (32MHz).

The existing map table is based on 19.2MHz. This patch incorporates
the clock map table to derive the SCL clock from the 32MHz source
clock frequency.

Signed-off-by: Manikanta Mylavarapu <quic_mmanikan@quicinc.com>
Reviewed-by: Bjorn Andersson <andersson@kernel.org>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
drivers/i2c/busses/i2c-qcom-geni.c