On 2026-06-23T06:47:53, Varadarajan Narayanan
<[email protected]> wrote:
> misc: qcom_geni: Add minicore support
>
> The qcom_geni driver reads an ELF from storage and configures a set of
> registers and programs the firmware to the GENI Serial Engine (GENI-SE)
> wrapper device for the expected functionality.
>
> Unlike the GENI-SE wrapper found in MSM SoCs, the IPQ5210's GENI-SE
> wrapper is pre-configured for one of the functions defined in 'enum
> geni_se_protocol_type'. Hence, the firmware download is not needed.
> Only the register configuration part is needed.
>
> Earlier, the boot stages before U-Boot would configure the GENI-SE (to
> access UART/SPI etc). Since for IPQ5210 U-Boot SPL, the previous stage
> (i.e. boot ROM) doesn't do that modify the driver to do the register
> configuration part alone without reading an ELF from the storage.
>
> Signed-off-by: Varadarajan Narayanan <[email protected]>
>
> drivers/misc/Kconfig              |   6 +++
>  drivers/misc/Makefile             |   1 +
>  drivers/misc/qcom_geni-minicore.c | 102 
> ++++++++++++++++++++++++++++++++++++++
>  drivers/misc/qcom_geni.c          | 100 ++++++++++++++++++++++++++++++++-----
>  include/soc/qcom/geni-se.h        |   5 ++
>  include/soc/qcom/qup-fw-load.h    |  12 +++++
>  6 files changed, 214 insertions(+), 12 deletions(-)

Reviewed-by: Simon Glass <[email protected]>

Reply via email to