[PATCH v3 2/5] misc: introduce Qcom GENI wrapper

Tom Rini trini at konsulko.com
Fri Jun 13 20:25:49 CEST 2025


On Fri, Jun 13, 2025 at 08:10:15PM +0200, Casey Connolly wrote:

> Qualcomm peripherals like UART, SPI, I2C, etc are all exposed under a
> common GENI Serial Engine wrapper device. Replace the stub driver we use
> for this currently with a full-on misc device and implement support for
> loading peripheral firmware.
> 
> Each of the peripherals has it's own protocol-specific firmware, this is
> stored on the internal storage of the device with a well-known partition
> type GUID.
> 
> To support this, GENI will bind peripherals in two stages. First the
> ones that already have firmware loaded (such as the serial port) are
> bound in the typical way. But devices that require firmware loading are
> deferred until EVT_LAST_STAGE_INIT. At this point we can be sure that
> the storage device is available, so we load the firmware and then bind
> and probe the remaining children.
> 
> Child devices are expected to determine if firmware loading is necessary
> and call qcom_geni_load_firmware().
> 
> Since Linux currently doesn't support loading firmware (and firmware may
> not be available), we probe all GENI peripherals to ensure that they
> always load firmware if necessary.
> 
> Signed-off-by: Casey Connolly <casey.connolly at linaro.org>
> ---
>  arch/arm/Kconfig                 |   1 +
>  drivers/misc/Kconfig             |   9 +

You forgot to change the Kconfig logic from last time, it's still
select'ing and not everyone has MISC enabled.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20250613/e0b2d374/attachment.sig>


More information about the U-Boot mailing list