summaryrefslogtreecommitdiff
path: root/arch/arm/mach-bcm283x/include/mach/msg.h
diff options
context:
space:
mode:
authorNicolas Saenz Julienne <nsaenzjulienne@suse.de>2020-06-29 18:37:22 +0200
committerMatthias Brugger <mbrugger@suse.com>2020-07-10 11:49:28 +0200
commitd774da08dcd6277d4b24092ccde9ba536504a7a8 (patch)
tree9e7b8a5f60b73fb0eb4b24bd734551e83d709f81 /arch/arm/mach-bcm283x/include/mach/msg.h
parent440bca81f0aaff58f16e75dc779a8e3da6bc2af4 (diff)
arm: rpi: Add function to trigger VL805's firmware load
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. Signed-off-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de> Signed-off-by: Matthias Brugger <mbrugger@suse.com>
Diffstat (limited to 'arch/arm/mach-bcm283x/include/mach/msg.h')
-rw-r--r--arch/arm/mach-bcm283x/include/mach/msg.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-bcm283x/include/mach/msg.h b/arch/arm/mach-bcm283x/include/mach/msg.h
index 4afb08631b..e45c1bf010 100644
--- a/arch/arm/mach-bcm283x/include/mach/msg.h
+++ b/arch/arm/mach-bcm283x/include/mach/msg.h
@@ -48,4 +48,11 @@ int bcm2835_set_video_params(int *widthp, int *heightp, int depth_bpp,
int pixel_order, int alpha_mode, ulong *fb_basep,
ulong *fb_sizep, int *pitchp);
+/**
+ * bcm2711_load_vl805_firmware() - get vl805's firmware loaded
+ *
+ * @return 0 if OK, -EIO on error
+ */
+int bcm2711_notify_vl805_reset(void);
+
#endif