mbox series

[GIT,PULL] soc: mediatek: updates for v6.3

Message ID 396d51fc-81f3-4a2b-d7a7-b966bfe3002a@gmail.com (mailing list archive)
State New, archived
Headers show
Series [GIT,PULL] soc: mediatek: updates for v6.3 | expand

Pull-request

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

Message

Matthias Brugger Feb. 1, 2023, 6:21 p.m. UTC
Hi Arnd and Olof,

Please see below for the list of updates to the MediaTek SoC drivers. Lost of 
things have happened.

We got support for MT8188 in the mutex, mmsys and power domain driver. Mutex and 
mmsys now also support the MT8195. There were several improvements for the SVS 
driver. Apart from that the PMIC wrapper binding finally was converted to yaml, 
this included some PMIC patches, which hold the corresponding Acked-by tags.

Please have a look.
Regards,
Matthias

---
The following changes since commit 1b929c02afd37871d5afb9d498426f83432e71c2:

   Linux 6.2-rc1 (2022-12-25 13:41:39 -0800)

are available in the Git repository at:

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

for you to fetch changes up to 6f42f5e73bb431c7e01c15dadfdc15872aa85db5:

   soc: mediatek: mtk-svs: add missing MODULE_DEVICE_TABLE (2023-02-01 14:35:12 
+0100)

----------------------------------------------------------------
Introduce MediaTek regulator coupler driver to ensure that the SRAM
voltage in par with the GPU voltage. This allows for a stable use of the
GPU.

mtk-mutex:
- add support for MT8188 vdosys0 path
- allow it to be build as module
- add support for MT8195 vdosys1 path

mmsys:
- add MT8188 vdosys0 path
- allow to be build as a module
- add MT8195 vdosys1 path
- add support for CMDQ
- allow for up to 64 reset bits
- add supprot for the MT8195 vppsys[0,1] pathes

pm-domains:
- keep power for the MT8186 ADSP on by default
- add support for MT8188
- add support for buck isolation needed in specific pm-domains for
   MT8188 and MT8192

mtk-svs:
- enable IRQ later to allow using kexec
- several improvments on the code base
- fix modalias

pmic wrapper:
- convert binding to yaml. As this is thightly coupled to the MT6357
   PMIC, I took patches regarding it as well.

----------------------------------------------------------------
Alexandre Mergnat (2):
       dt-bindings: soc: mediatek: convert pwrap documentation
       dt-bindings: mfd: mediatek: Add bindings for MT6357 PMIC

Allen-KH Cheng (2):
       soc: mediatek: pm-domains: Add buck isolation offset and mask to power 
domain data
       soc: mediatek: pm-domains: Add buck isolation setting in power domain

AngeloGioacchino Del Regno (2):
       soc: mediatek: Introduce mediatek-regulator-coupler driver
       soc: mediatek: mtk-devapc: Switch to devm_clk_get_enabled()

Fabien Parent (2):
       dt-bindings: input: mtk-pmic-keys: add binding for MT6357 PMIC
       Input: mtk-pmic-keys: add MT6357 support

Garmin.Chang (2):
       dt-bindings: power: Add MT8188 power domains
       soc: mediatek: pm-domains: Add support for mt8188

Matthias Brugger (4):
       soc: mediatek: mtk-svs: clean up platform probing
       soc: mediatek: mtk-svs: improve readability of platform_probe
       soc: mediatek: mtk-svs: move svs_platform_probe into probe
       soc: mediatek: mtk-svs: delete superfluous platform data entries

Moudy Ho (1):
       dt-bindings: arm: mediatek: mmsys: Add support for MT8195 VPPSYS

Nancy.Lin (11):
       dt-bindings: arm: mediatek: mmsys: add vdosys1 compatible for MT8195
       dt-bindings: reset: mt8195: add vdosys1 reset control bit
       soc: mediatek: add mtk-mmsys ethdr and mdp_rdma components
       soc: mediatek: add mtk-mmsys support for mt8195 vdosys1
       soc: mediatek: refine code to use mtk_mmsys_update_bits API
       soc: mediatek: add mtk-mmsys config API for mt8195 vdosys1
       soc: mediatek: add cmdq support of mtk-mmsys config API for mt8195 vdosys1
       soc: mediatek: mmsys: add mmsys for support 64 reset bits
       soc: mediatek: mmsys: add reset control for MT8195 vdosys1
       soc: mediatek: add mtk-mutex component - dp_intf1
       soc: mediatek: add mtk-mutex support for mt8195 vdosys1

Nathan Lu (4):
       dt-bindings: mediatek: modify VDOSYS0 mmsys device tree Documentations 
for MT8188
       dt-bindings: mediatek: modify VDOSYS0 mutex device tree Documentations 
for MT8188
       soc: mediatek: add mtk-mmsys support for mt8188 vdosys0
       soc: mediatek: add mtk-mutex support for mt8188 vdosys0

Ricardo Ribalda (1):
       soc: mediatek: mtk-svs: Enable the IRQ later

Roger Lu (4):
       soc: mediatek: mtk-svs: restore default voltages when svs_init02() fail
       soc: mediatek: mtk-svs: reset svs when svs_resume() fail
       soc: mediatek: mtk-svs: keep svs alive if CONFIG_DEBUG_FS not supported
       soc: mtk-svs: mt8183: refactor o_slope calculation

Roy-CW.Yeh (1):
       soc: mediatek: mmsys: add support for MT8195 VPPSYS

Shang XiaoJing (1):
       soc: mediatek: mtk-svs: Use pm_runtime_resume_and_get() in svs_init01()

Tinghan Shen (1):
       soc: mediatek: mtk-pm-domains: Allow mt8186 ADSP default power on

Uwe Kleine-König (1):
       soc: mediatek: mutex: Drop empty platform remove function

Yongqiang Niu (1):
       mtk-mmsys: Change mtk-mmsys & mtk-mutex to modules

Zeng Heng (1):
       soc: mediatek: mtk-svs: add missing MODULE_DEVICE_TABLE

  .../bindings/arm/mediatek/mediatek,mmsys.yaml      |   4 +
  .../bindings/input/mediatek,pmic-keys.yaml         |   1 +
  .../devicetree/bindings/leds/leds-mt6323.txt       |   2 +-
  .../devicetree/bindings/mfd/mediatek,mt6357.yaml   | 111 ++++
  Documentation/devicetree/bindings/mfd/mt6397.txt   |   2 +-
  .../bindings/power/mediatek,power-controller.yaml  |   2 +
  .../bindings/soc/mediatek/mediatek,mutex.yaml      |   1 +
  .../bindings/soc/mediatek/mediatek,pwrap.yaml      | 147 +++++
  .../devicetree/bindings/soc/mediatek/pwrap.txt     |  75 ---
  drivers/input/keyboard/mtk-pmic-keys.c             |  17 +
  drivers/soc/mediatek/Kconfig                       |   7 +-
  drivers/soc/mediatek/Makefile                      |   1 +
  drivers/soc/mediatek/mt8186-pm-domains.h           |   4 +-
  drivers/soc/mediatek/mt8188-mmsys.h                | 149 +++++
  drivers/soc/mediatek/mt8188-pm-domains.h           | 623 +++++++++++++++++++++
  drivers/soc/mediatek/mt8195-mmsys.h                | 146 +++++
  drivers/soc/mediatek/mtk-devapc.c                  |  11 +-
  drivers/soc/mediatek/mtk-mmsys.c                   | 200 +++++--
  drivers/soc/mediatek/mtk-mmsys.h                   |   2 +
  drivers/soc/mediatek/mtk-mutex.c                   | 113 +++-
  drivers/soc/mediatek/mtk-pm-domains.c              |  13 +
  drivers/soc/mediatek/mtk-pm-domains.h              |   5 +
  drivers/soc/mediatek/mtk-regulator-coupler.c       | 159 ++++++
  drivers/soc/mediatek/mtk-svs.c                     | 155 ++---
  include/dt-bindings/power/mediatek,mt8188-power.h  |  44 ++
  include/dt-bindings/reset/mt8195-resets.h          |  45 ++
  include/linux/soc/mediatek/infracfg.h              | 121 ++++
  include/linux/soc/mediatek/mtk-mmsys.h             |  25 +
  28 files changed, 1975 insertions(+), 210 deletions(-)
  create mode 100644 Documentation/devicetree/bindings/mfd/mediatek,mt6357.yaml
  create mode 100644 
Documentation/devicetree/bindings/soc/mediatek/mediatek,pwrap.yaml
  delete mode 100644 Documentation/devicetree/bindings/soc/mediatek/pwrap.txt
  create mode 100644 drivers/soc/mediatek/mt8188-mmsys.h
  create mode 100644 drivers/soc/mediatek/mt8188-pm-domains.h
  create mode 100644 drivers/soc/mediatek/mtk-regulator-coupler.c
  create mode 100644 include/dt-bindings/power/mediatek,mt8188-power.h