soc: microchip: mpfs: add auto-update subdev to system controller
authorConor Dooley <conor.dooley@microchip.com>
Fri, 20 Oct 2023 13:18:42 +0000 (14:18 +0100)
committerConor Dooley <conor.dooley@microchip.com>
Wed, 6 Dec 2023 12:06:18 +0000 (12:06 +0000)
commitfad13b5b73e0689d19316e5d62341d8396bb261e
treeb4b11ea4ac51253039ceba59ad0af5122de4fab3
parenta8f00589be7b9dfeae801bd3087ec7da57c1913e
soc: microchip: mpfs: add auto-update subdev to system controller

The PolarFire SoC's system controller offers the ability to re-program
the FPGA from a user application via two, related, mechanisms.
In-Application Programming (IAP) is not ideal for use in Linux, as it
will immediately take down the system when requested. Auto Update is
preferred, as it will only take affect at device power up*, allowing the
OS (and potential applications in AMP) to be shut down gracefully.

* Auto Update occurs at device initialisation, which can also be
  triggered by device reset - possible with the v2023.02 version of the
  Hart Software Services (HSS) and reference design.

Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
drivers/soc/microchip/mpfs-sys-controller.c