[GIT PULL] soc: mediatek: changes for v5.11

Matthias Brugger matthias.bgg at gmail.com
Sun Nov 29 16:22:22 EST 2020


Hi Olof and Arnd,

Please find below the commit for the MediaTek SoC drivers. The most important 
changes are the inclusion of two new drivers. Devapc is an TrustZone interface 
found on the mobile phone chips to identify malicious accesses from bus 
controllers. Apart from that you can find a new power domain driver. We have the 
old scpsys driver for quite some time around, But it has some limitations, that 
we could only overcome with a brand new driver with a new binding. Right now 
these new driver supports mt8192 and mt8183 but the plan is, to move all SoCs to 
the new driver model and later on retire the old driver.

Please beware that I had to create a stable branch to share some include files 
for the driver between the dts64 and this branch.

Regards,
Matthias

---

The following changes since commit 3650b228f83adda7e5ee532e2b90429c03f7b9ec:

   Linux 5.10-rc1 (2020-10-25 15:14:11 -0700)

are available in the Git repository at:

   https://git.kernel.org/pub/scm/linux/kernel/git/matthias.bgg/linux.git/ 
tags/v5.10-next-soc

for you to fetch changes up to cc6576029aedc79ce87b9fcb22cbd396d47f2852:

   soc: mediatek: mmsys: Use devm_platform_ioremap_resource() (2020-11-28 
00:37:12 +0100)

----------------------------------------------------------------
power-domains:
- add support for new power domain driver.
- add support for mt8183 and mt8192

devapc:
- add support for the devapc device found on mt6779 to identify of
   malicious bus accesses from a controller to a device

mmsys:
- move DDP routing IDs into the driver

cmdq:
- drop timeout handler support as not usefull

scpsys:
- print warning on theoretical error

----------------------------------------------------------------
Chun-Kuang Hu (1):
       soc / drm: mediatek: cmdq: Remove timeout handler in helper function

Enric Balletbo i Serra (5):
       mfd: syscon: Add syscon_regmap_lookup_by_phandle_optional() function.
       dt-bindings: power: Add bindings for the Mediatek SCPSYS power domains 
controller
       dt-bindings: power: Add MT8183 power domains
       soc: mediatek: Add MediaTek SCPSYS power domains
       soc: mediatek: mmsys: Use devm_platform_ioremap_resource()

Matthias Brugger (10):
       MAINTAINERS: change mediatek wiki page
       Merge tag 'ib-mfd-mediatek-v5.11' into HEAD
       Merge tag 'v5.10-next-pm-domains-stable' into HEAD
       soc: mediatek: pm-domains: Add bus protection protocol
       soc: mediatek: pm_domains: Make bus protection generic
       soc: mediatek: pm-domains: Add SMI block as bus protection block
       soc: mediatek: pm-domains: Add extra sram control
       soc: mediatek: pm-domains: Add subsystem clocks
       soc: mediatek: pm-domains: Allow bus protection to ignore clear ack
       soc: mediatek: pm-domains: Add support for mt8183

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

Nicolas Boichat (1):
       soc: mediatek: Check if power domains can be powered on at boot time

Weiyi Lu (3):
       dt-bindings: power: Add MT8192 power domains
       soc: mediatek: pm-domains: Add default power off flag
       soc: mediatek: pm-domains: Add support for mt8192

Yongqiang Niu (1):
       soc / drm: mediatek: Move DDP component defines into mtk-mmsys.h

  .../bindings/power/mediatek,power-controller.yaml  | 293 ++++++++++
  .../devicetree/bindings/soc/mediatek/devapc.yaml   |  58 ++
  MAINTAINERS                                        |   2 +-
  drivers/gpu/drm/mediatek/mtk_drm_crtc.c            |   3 +-
  drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.h        |  34 +-
  drivers/mfd/syscon.c                               |  18 +
  drivers/soc/mediatek/Kconfig                       |  21 +
  drivers/soc/mediatek/Makefile                      |   2 +
  drivers/soc/mediatek/mt8173-pm-domains.h           |  94 ++++
  drivers/soc/mediatek/mt8183-pm-domains.h           | 221 ++++++++
  drivers/soc/mediatek/mt8192-pm-domains.h           | 292 ++++++++++
  drivers/soc/mediatek/mtk-cmdq-helper.c             |  41 +-
  drivers/soc/mediatek/mtk-devapc.c                  | 308 +++++++++++
  drivers/soc/mediatek/mtk-infracfg.c                |   5 -
  drivers/soc/mediatek/mtk-mmsys.c                   |  11 +-
  drivers/soc/mediatek/mtk-pm-domains.c              | 614 +++++++++++++++++++++
  drivers/soc/mediatek/mtk-pm-domains.h              | 102 ++++
  drivers/soc/mediatek/mtk-scpsys.c                  |   5 +-
  include/dt-bindings/power/mt8183-power.h           |  26 +
  include/dt-bindings/power/mt8192-power.h           |  32 ++
  include/linux/mfd/syscon.h                         |  11 +
  include/linux/soc/mediatek/infracfg.h              | 107 ++++
  include/linux/soc/mediatek/mtk-cmdq.h              |  10 +-
  include/linux/soc/mediatek/mtk-mmsys.h             |  33 ++
  24 files changed, 2243 insertions(+), 100 deletions(-)
  create mode 100644 
Documentation/devicetree/bindings/power/mediatek,power-controller.yaml
  create mode 100644 Documentation/devicetree/bindings/soc/mediatek/devapc.yaml
  create mode 100644 drivers/soc/mediatek/mt8173-pm-domains.h
  create mode 100644 drivers/soc/mediatek/mt8183-pm-domains.h
  create mode 100644 drivers/soc/mediatek/mt8192-pm-domains.h
  create mode 100644 drivers/soc/mediatek/mtk-devapc.c
  create mode 100644 drivers/soc/mediatek/mtk-pm-domains.c
  create mode 100644 drivers/soc/mediatek/mtk-pm-domains.h
  create mode 100644 include/dt-bindings/power/mt8183-power.h
  create mode 100644 include/dt-bindings/power/mt8192-power.h



More information about the Linux-mediatek mailing list