Add MediaTek MT6873 devapc driver

Neal Liu
2020-06-19T09:42:20Z

These patch series introduce a MediaTek MT6873 devapc driver.

MT6873 bus frabric provides TrustZone security support and data protection to prevent slaves from being accessed by unexpected masters.
The security violations are logged and sent to the processor for further analysis or countermeasures.

Any occurrence of security violation would raise an interrupt, and it will be handled by devapc-mt6873 driver. The violation information is printed in order to find the murderer.

changes since v1:
- revise dt-bindings schema. (needs mt8192-clk.h to pass dt_binding_check)
- remove debugging functions and make driver more simple.

*** BLURB HERE ***

Neal Liu (2):
dt-bindings: devapc: add bindings for devapc-mt6873
soc: mediatek: devapc: add devapc-mt6873 driver

.../soc/mediatek/devapc/devapc-mt6873.yaml | 61 +
drivers/soc/mediatek/Kconfig | 6 +
drivers/soc/mediatek/Makefile | 1 +
drivers/soc/mediatek/devapc/Kconfig | 25 +
drivers/soc/mediatek/devapc/Makefile | 13 +
drivers/soc/mediatek/devapc/devapc-mt6873.c | 1652 +++++++++++++++++
drivers/soc/mediatek/devapc/devapc-mt6873.h | 111 ++
.../soc/mediatek/devapc/devapc-mtk-multi-ao.c | 756 ++++++++
.../soc/mediatek/devapc/devapc-mtk-multi-ao.h | 182 ++
9 files changed, 2807 insertions(+)
create mode 100644 Documentation/devicetree/bindings/soc/mediatek/devapc/devapc-mt6873.yaml
create mode 100644 drivers/soc/mediatek/devapc/Kconfig
create mode 100644 drivers/soc/mediatek/devapc/Makefile
create mode 100644 drivers/soc/mediatek/devapc/devapc-mt6873.c
create mode 100644 drivers/soc/mediatek/devapc/devapc-mt6873.h
create mode 100644 drivers/soc/mediatek/devapc/devapc-mtk-multi-ao.c
create mode 100644 drivers/soc/mediatek/devapc/devapc-mtk-multi-ao.h

--
2.18.0