Adding support for power domain on Genio 520/720. This will be needed
for adding video support soon.

First, we make a cleanup to the Kconfig (similar to what we did for
clocks and pinctrl) so that we don't have to keep adding new Kconfig
entries for each new power domain.

Then we need to modify the shared power domain driver to support a
feature only seen on the MT8189 platform.

Then we can add the lookup tables and the devicetree entries for the
MT8189 power domains to make it actually work. Just the minimum of what
is currently used (and will be needed for video support) is added to the
devicetree for now since this is still under review in upstream Linux.

Signed-off-by: David Lechner <[email protected]>
---
David Lechner (6):
      power: domain: mtk: simplify Kconfig
      configs: mediatek: drop no longer needed POWER_DOMAIN options
      power: domain: mtk: support two-phase bus protection
      power: domain: mtk: add MT8189 power domain
      arm: dts: mediatek: mt8189: add the power controller
      configs: mt8189: enable the power domain driver

 arch/arm/dts/mt8189.dtsi                   |  52 +++-
 configs/mt7622_rfb_defconfig               |   1 -
 configs/mt7623a_unielec_u7623_02_defconfig |   1 -
 configs/mt7623n_bpir2_defconfig            |   1 -
 configs/mt7629_rfb_defconfig               |   1 -
 configs/mt8188.config                      |   1 -
 configs/mt8189.config                      |   1 +
 configs/mt8366_genio_360_evk_defconfig     |   1 -
 drivers/power/domain/Kconfig               |  47 +---
 drivers/power/domain/Makefile              |  12 +-
 drivers/power/domain/mt8189-power-domain.c | 419 +++++++++++++++++++++++++++++
 drivers/power/domain/mtk-power-domain.c    |  30 ++-
 drivers/power/domain/mtk-power-domain.h    |  19 +-
 13 files changed, 525 insertions(+), 61 deletions(-)
---
base-commit: e91d0b53e2678e0e6439370ead9bf2c71404b715
change-id: 20260903-mtk-power-domain-mt8189-495bc893a333

Best regards,
--  
David Lechner <[email protected]>

Reply via email to