Howto enable Altera SOCFPGA System Manager

Hi there,

I was trying to enable sys mgr shown as below:

CONFIG_ARCH_INTEL_SOCFPGA=y
CONFIG_HAS_IOMEM=y
CONFIG_MFD_ALTERA_SYSMGR=y
CONFIG_FPGA_BRIDGE=y
CONFIG_SOCFPGA_FPGA_BRIDGE=y
CONFIG_ALTERA_FREEZE_BRIDGE=y
CONFIG_MFD_SYSCON=y
CONFIG_REGMAP_MMIO=y

After enabling these configs, I am not aware howto find sysmgr driver and call driver to access SMC calls to EL3 for ARM64 parts.

Is there any example howto use sysmgr driver to make read/write to EL3 register?

Many thanks,
Lei

I use rsu_client to have access secured EL3 register instead. I resolved this issue eventually.