[PATCH v2] Add MediaTek MT6779 devapc driver

Neal Liu neal.liu at mediatek.com
Thu Jul 9 05:12:05 EDT 2020


These patch series introduce a MediaTek MT6779 devapc driver.

MediaTek bus fabric provides TrustZone security support and data protection
to prevent slaves from being accessed by unexpected masters.
The security violation is 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 mtk-devapc driver.
The violation information is printed in order to find the murderer.

changes since v1:
- move SoC specific part to DT data.
- remove unnecessary boundary check.
- remove unnecessary data type declaration.
- use read_poll_timeout() instread of for loop polling.
- revise coding style elegantly.

*** BLURB HERE ***

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

 .../bindings/soc/mediatek/devapc.yaml         |  82 +++
 drivers/soc/mediatek/Kconfig                  |   9 +
 drivers/soc/mediatek/Makefile                 |   1 +
 drivers/soc/mediatek/mtk-devapc.c             | 466 ++++++++++++
 drivers/soc/mediatek/mtk-devapc.h             | 670 ++++++++++++++++++
 5 files changed, 1228 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/soc/mediatek/devapc.yaml
 create mode 100644 drivers/soc/mediatek/mtk-devapc.c
 create mode 100644 drivers/soc/mediatek/mtk-devapc.h

-- 
2.18.0


More information about the Linux-mediatek mailing list