]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
i2c: qcom-geni: Update i2c frequency table to match hardware guidance
authorMukesh Kumar Savaliya <quic_msavaliy@quicinc.com>
Wed, 22 Jan 2025 06:46:34 +0000 (12:16 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 29 May 2025 09:12:30 +0000 (11:12 +0200)
commit0511976e3be6fd49faeee25998207616322f83a5
tree5f9a7ac1c99196786d71ef8615a762718b7ce7f0
parent4348049b5efcf4e3b0f8335c69b579fa39dc491d
i2c: qcom-geni: Update i2c frequency table to match hardware guidance

[ Upstream commit a815975cbaeb4ab29f45312ef23be2871b2e8b82 ]

With the current settings, the I2C buses are achieving around 370KHz
instead of the expected 400KHz. For 100KHz and 1MHz, the settings are
now more compliant and adhere to the Qualcomm’s internal programming
guide.

Update the I2C frequency table to align with the recommended values
outlined in the I2C hardware programming guide, ensuring proper
communication and performance.

Signed-off-by: Mukesh Kumar Savaliya <quic_msavaliy@quicinc.com>
Reviewed-by: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
Link: https://lore.kernel.org/r/20250122064634.2864432-1-quic_msavaliy@quicinc.com
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/i2c/busses/i2c-qcom-geni.c