New Linux Patches For AMD i2c Bus Sharing With The PSP
Written by Michael Larabel in AMD on 23 December 2021 at 04:58 AM EST. 3 Comments
AMD --
The newest Linux hardware support patches for the kernel revolve around i2c bus sharing support for newer SoCs where the i2c bus is being shared by AMD's Platform Security Processor (PSP). This i2c controller is based on common DesignWare IP but new kernel code is being crafted for handling that bus sharing between the kernel and the PSP co-processor.

A new patch series is extending the existing designware i2c Linux driver for supporting the i2c controller on some newer SoCs at least of Cezanne era. The x86 cores are sharing the i2c with the PSP with the latter acting as the arbitrator for access.


The in-progress kernel code is establishing a PSP semaphore arbitration mechanism for handling the sharing of i2c support between Linux and the PSP. The notion of i2c sharing isn't entirely new but existing hardware like Intel's Bay Trail employs a similar i2c bus sharing from the platform firmware when using the X-Powers AXP288 PMIC.

This in-progress patch series working on this Designware i2c PSP support isn't from AMD directly but from Jan Dabros of Semihalf, a Polish embedded systems engineering firm.
Related News
About The Author
Author picture

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter or contacted via MichaelLarabel.com.

Popular News This Week