Re: [PATCH v3 1/2] arm: rpi: Add function to trigger VL805's firmware load

From: Bin Meng
Date: Wed May 06 2020 - 01:33:44 EST


Hi Nicolas,

On Wed, May 6, 2020 at 12:26 AM Nicolas Saenz Julienne
<nsaenzjulienne@xxxxxxx> wrote:
>
> On the Raspberry Pi 4, after a PCI reset, VL805's (a xHCI chip) firmware
> may either be loaded directly from an EEPROM or, if not present, by the
> SoC's VideCore (the SoC's co-processor). Introduce the function that
> informs VideCore that VL805 may need its firmware loaded.
>

I still did not get it. Without the firmware being loaded, does xHCI
on RPi 4 still work? What exact functionality does the firmware
provide?

> Signed-off-by: Nicolas Saenz Julienne <nsaenzjulienne@xxxxxxx>
>
> ---
> Changes since v2:
> - Correct wrong function name in comment
> - Add better comment on rpi_firmware_init_vl805()
>
> Changes since v1:
> - Rename function so it's not mistaken with regular firmware loading
>
> arch/arm/mach-bcm283x/include/mach/mbox.h | 13 +++++++
> arch/arm/mach-bcm283x/include/mach/msg.h | 7 ++++
> arch/arm/mach-bcm283x/msg.c | 45 +++++++++++++++++++++++
> 3 files changed, 65 insertions(+)
>

Regards,
Bin