Re: [PATCH v4 5/6] i3c: mipi-i3c-hci: Add a quirk to set timing parameters

From: Jarkko Nikula
Date: Fri Aug 23 2024 - 06:15:43 EST


On 8/21/24 4:35 PM, Shyam Sundar S K wrote:
The AMD HCI controller is currently unstable at 12.5 MHz. To address this,
a quirk is added to configure the clock rate to 9 MHz as a workaround,
with proportional adjustments to the Open-Drain (OD) and Push-Pull (PP)
values.

Co-developed-by: Guruvendra Punugupati <Guruvendra.Punugupati@xxxxxxx>
Signed-off-by: Guruvendra Punugupati <Guruvendra.Punugupati@xxxxxxx>
Signed-off-by: Shyam Sundar S K <Shyam-sundar.S-k@xxxxxxx>
---
drivers/i3c/master/mipi-i3c-hci/Makefile | 3 +-
drivers/i3c/master/mipi-i3c-hci/core.c | 6 +++-
drivers/i3c/master/mipi-i3c-hci/hci.h | 2 ++
drivers/i3c/master/mipi-i3c-hci/hci_quirks.c | 33 ++++++++++++++++++++
4 files changed, 42 insertions(+), 2 deletions(-)
create mode 100644 drivers/i3c/master/mipi-i3c-hci/hci_quirks.c

Reviewed-by: Jarkko Nikula <jarkko.nikula@xxxxxxxxxxxxxxx>