i3c: master: cdns: Update maximum prescaler value for i2c clock
authorHarshit Shah <harshitshah.opendev@gmail.com>
Sat, 30 Dec 2023 09:11:23 +0000 (14:41 +0530)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Sun, 7 Jan 2024 23:51:36 +0000 (00:51 +0100)
commit374c13f9080a1b9835a5ed3e7bea93cf8e2dc262
tree49a1417ddf57be6580f63a138499331b5e4ecc43
parent18e5794879905a788e06fb2bc40b6f5b58eae5c2
i3c: master: cdns: Update maximum prescaler value for i2c clock

As per the Cadence IP document fixed the I2C clock divider value limit from
16 bits instead of 10 bits. Without this change setting up the I2C clock to
low frequencies will not work as the prescaler value might be greater than
10 bit number.

I3C clock divider value is 10 bits only. Updating the macro names for both.

Signed-off-by: Harshit Shah <harshitshah.opendev@gmail.com>
Link: https://lore.kernel.org/r/1703927483-28682-1-git-send-email-harshitshah.opendev@gmail.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/i3c/master/i3c-master-cdns.c