[PATCH v6 0/5] Add support for Nuvoton npcm845 i3c controller
From: Stanley Chu
Date: Tue Mar 04 2025 - 22:44:45 EST
This patchset adds support for the Nuvoton npcm845
Board Management controller (BMC) SoC family.
The Nuvoton npcm845 uses the same Silvico IP but an older version.
This patchset adds fixes for the npcm845 specific hardware issues.
--
v6:
- Define QUIRK when it is really used in the separate patches.
v5:
- Add default driver data
- Add helper function svc_has_daa_corrupt()
- Revise SVC_I3C_QUIRK_FIFO_EMPTY fix and add comments
v4:
- Fix kernel test robot build warning.
- Add SVC_I3C_QUIRK_DAA_CORRUPT fix
v3:
- Add more description in dt-binging commit message
- Add the svc_i3c_drvdata structure in struct svc_i3c_master
- Improve the do_daa
v2:
- Add a new compatible string in dt-binding doc.
- Add driver data for npcm845 to address the quirks.
- Modify svc_i3c_master_write to be reused by SVC_I3C_QUIRK_FIFO_EMPTY fix
- Fix typo of SVC_I3C_QUIRK_FALSE_SLVSTART fix.
- Remove the code changes in svc_i3c_master_do_daa_locked, will add it in
another patch series for common improvement.
---
Stanley Chu (5):
dt-bindings: i3c: silvaco: Add npcm845 compatible string
i3c: master: svc: Add support for Nuvoton npcm845 i3c
i3c: master: svc: Fix npcm845 FIFO empty issue
i3c: master: svc: Fix npcm845 invalid slvstart event
i3c: master: svc: Fix npcm845 DAA process corruption
.../bindings/i3c/silvaco,i3c-master.yaml | 4 +-
drivers/i3c/master/svc-i3c-master.c | 127 ++++++++++++++++--
2 files changed, 120 insertions(+), 11 deletions(-)
--
2.34.1