Re: [PATCH 3/9] bus: Add SpacemiT K3 eSPI controller support
From: Aurelien Jarno
Date: Wed Nov 18 2026 - 16:11:05 EST
Hi,
On 2026-11-18 16:57, Wang Yang wrote:
> Initialize and recover the K3 eSPI peripheral channel before populating
> its children. Keep controller register programming, clock and reset
> handling in the controller driver rather than in the EC transport.
>
> Port the existing vendor-derived implementation separately from the EC
> client. The controller logic comes from the vendor BSP at revision
> 29b78afb484b, authored by goumin <min.gou@xxxxxxxxxxxx>. Preserve its
> register programming and link-recovery behavior.
>
> No matching SpacemiT eSPI submission was found in the archived SPI,
> RISC-V and Chrome platform searches used for this port.
While this is correct, please note that there was a try from AMD to
define a eSPI bus framework back in August [1]. However I haven't
spotted any further progress.
Anyway thanks for your work, I guess this can also be useful for the EC
controller on the K3 Pico-ITX boards, which drives among other things
the fan PWM.
Regards
Aurelien
[1] https://lore.kernel.org/all/20260804115259.4065638-1-krishnamoorthi.m@xxxxxxx/
--
Aurelien Jarno GPG: 4096R/1DDD8C9B
aurelien@xxxxxxxxxxx http://aurel32.net