Skip to content
Snippets Groups Projects
Commit 01408932 authored by Shyam Sundar S K's avatar Shyam Sundar S K Committed by Alexandre Belloni
Browse files

i3c: mipi-i3c-hci: Add a quirk to set PIO mode


The AMD HCI controller currently only supports PIO mode but exposes DMA
rings to the OS, which leads to the controller being configured in DMA
mode. To address this, add a quirk to avoid configuring the controller in
DMA mode and default to PIO mode.

Additionally, introduce a generic quirk infrastructure to the mipi-i3c-hci
driver to facilitate seamless future quirk additions.

Reviewed-by: default avatarJarkko Nikula <jarkko.nikula@linux.intel.com>
Co-developed-by: default avatarKrishnamoorthi M <krishnamoorthi.m@amd.com>
Signed-off-by: default avatarKrishnamoorthi M <krishnamoorthi.m@amd.com>
Co-developed-by: default avatarGuruvendra Punugupati <Guruvendra.Punugupati@amd.com>
Signed-off-by: default avatarGuruvendra Punugupati <Guruvendra.Punugupati@amd.com>
Signed-off-by: default avatarShyam Sundar S K <Shyam-sundar.S-k@amd.com>
Link: https://lore.kernel.org/r/20240829091713.736217-4-Shyam-sundar.S-k@amd.com


Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
parent 039b2360
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment