/Linux-v6.1/drivers/soc/mediatek/ |
D | mtk-pm-domains.c | 41 struct scpsys *scpsys; member 51 struct scpsys { struct 63 struct scpsys *scpsys = pd->scpsys; in scpsys_domain_is_on() local 66 regmap_read(scpsys->base, pd->data->pwr_sta_offs, &status); in scpsys_domain_is_on() 69 regmap_read(scpsys->base, pd->data->pwr_sta2nd_offs, &status2); in scpsys_domain_is_on() 79 struct scpsys *scpsys = pd->scpsys; in scpsys_sram_enable() local 83 regmap_clear_bits(scpsys->base, pd->data->ctl_offs, pd->data->sram_pdn_bits); in scpsys_sram_enable() 86 ret = regmap_read_poll_timeout(scpsys->base, pd->data->ctl_offs, tmp, in scpsys_sram_enable() 92 regmap_set_bits(scpsys->base, pd->data->ctl_offs, PWR_SRAM_ISOINT_B_BIT); in scpsys_sram_enable() 94 regmap_clear_bits(scpsys->base, pd->data->ctl_offs, PWR_SRAM_CLKISO_BIT); in scpsys_sram_enable() [all …]
|
D | Kconfig | 48 bool "MediaTek SCPSYS Support" 55 Say yes here to add support for the MediaTek SCPSYS power domain 59 bool "MediaTek SCPSYS generic power domain" 67 Control Processor System (SCPSYS) has several power management related
|
D | mtk-scpsys.c | 1081 * scpsys driver init 1086 .compatible = "mediatek,mt2701-scpsys", 1089 .compatible = "mediatek,mt2712-scpsys", 1092 .compatible = "mediatek,mt6797-scpsys", 1095 .compatible = "mediatek,mt7622-scpsys", 1098 .compatible = "mediatek,mt7623a-scpsys", 1101 .compatible = "mediatek,mt8173-scpsys", 1141 .name = "mtk-scpsys",
|
D | Makefile | 6 obj-$(CONFIG_MTK_SCPSYS) += mtk-scpsys.o
|
/Linux-v6.1/Documentation/devicetree/bindings/soc/mediatek/ |
D | scpsys.txt | 1 MediaTek SCPSYS 4 The System Control Processor System (SCPSYS) has several power management 7 The System Power Manager (SPM) inside the SCPSYS is for the MTCMOS power 21 - "mediatek,mt2701-scpsys" 22 - "mediatek,mt2712-scpsys" 23 - "mediatek,mt6765-scpsys" 24 - "mediatek,mt6797-scpsys" 25 - "mediatek,mt7622-scpsys" 26 - "mediatek,mt7623-scpsys", "mediatek,mt2701-scpsys": For MT7623 SoC 27 - "mediatek,mt7623a-scpsys": For MT7623A SoC [all …]
|
/Linux-v6.1/arch/arm/boot/dts/ |
D | mt7623a.dtsi | 13 power-domains = <&scpsys MT7623A_POWER_DOMAIN_IFR_MSC>; 17 power-domains = <&scpsys MT7623A_POWER_DOMAIN_ETH>; 21 power-domains = <&scpsys MT7623A_POWER_DOMAIN_ETH>; 25 power-domains = <&scpsys MT7623A_POWER_DOMAIN_IFR_MSC>; 29 power-domains = <&scpsys MT7623A_POWER_DOMAIN_HIF>; 32 &scpsys { 33 compatible = "mediatek,mt7623a-scpsys"; 39 power-domains = <&scpsys MT7623A_POWER_DOMAIN_IFR_MSC>; 43 power-domains = <&scpsys MT7623A_POWER_DOMAIN_HIF>; 47 power-domains = <&scpsys MT7623A_POWER_DOMAIN_HIF>;
|
D | mt2701.dtsi | 151 scpsys: power-controller@10006000 { label 152 compatible = "mediatek,mt2701-scpsys", "syscon"; 197 power-domains = <&scpsys MT2701_POWER_DOMAIN_DISP>; 433 power-domains = <&scpsys MT2701_POWER_DOMAIN_IFR_MSC>; 538 power-domains = <&scpsys MT2701_POWER_DOMAIN_DISP>; 555 power-domains = <&scpsys MT2701_POWER_DOMAIN_ISP>; 566 power-domains = <&scpsys MT2701_POWER_DOMAIN_ISP>; 578 power-domains = <&scpsys MT2701_POWER_DOMAIN_ISP>; 597 power-domains = <&scpsys MT2701_POWER_DOMAIN_VDEC>; 616 power-domains = <&scpsys MT2701_POWER_DOMAIN_HIF>; [all …]
|
D | mt7623n.dtsi | 47 power-domains = <&scpsys MT2701_POWER_DOMAIN_MFG>; 68 power-domains = <&scpsys MT2701_POWER_DOMAIN_DISP>; 80 power-domains = <&scpsys MT2701_POWER_DOMAIN_VDEC>; 92 power-domains = <&scpsys MT2701_POWER_DOMAIN_ISP>; 123 power-domains = <&scpsys MT2701_POWER_DOMAIN_ISP>; 136 power-domains = <&scpsys MT2701_POWER_DOMAIN_DISP>;
|
D | mt7629.dtsi | 93 scpsys: power-controller@10006000 { label 94 compatible = "mediatek,mt7629-scpsys", 95 "mediatek,mt7622-scpsys"; 326 power-domains = <&scpsys MT7622_POWER_DOMAIN_HIF1>; 396 power-domains = <&scpsys MT7622_POWER_DOMAIN_HIF0>; 471 power-domains = <&scpsys MT7622_POWER_DOMAIN_ETHSYS>;
|
D | mt7623.dtsi | 271 scpsys: power-controller@10006000 { label 272 compatible = "mediatek,mt7623-scpsys", 273 "mediatek,mt2701-scpsys", 528 power-domains = <&scpsys MT2701_POWER_DOMAIN_IFR_MSC>; 600 power-domains = <&scpsys MT2701_POWER_DOMAIN_IFR_MSC>; 634 power-domains = <&scpsys MT2701_POWER_DOMAIN_IFR_MSC>; 783 power-domains = <&scpsys MT2701_POWER_DOMAIN_HIF>; 869 power-domains = <&scpsys MT2701_POWER_DOMAIN_HIF>; 910 power-domains = <&scpsys MT2701_POWER_DOMAIN_HIF>; 956 power-domains = <&scpsys MT2701_POWER_DOMAIN_ETH>; [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/mfd/ |
D | mediatek,mt8195-scpsys.yaml | 4 $id: http://devicetree.org/schemas/mfd/mediatek,mt8195-scpsys.yaml# 13 MediaTek System Control Processor System (SCPSYS) has several 21 - mediatek,mt8167-scpsys 22 - mediatek,mt8173-scpsys 23 - mediatek,mt8183-scpsys 24 - mediatek,mt8186-scpsys 25 - mediatek,mt8192-scpsys 26 - mediatek,mt8195-scpsys 48 compatible = "mediatek,mt8195-scpsys", "syscon", "simple-mfd";
|
/Linux-v6.1/Documentation/devicetree/bindings/media/ |
D | mediatek-mdp.txt | 38 power-domains = <&scpsys MT8173_POWER_DOMAIN_MM>; 48 power-domains = <&scpsys MT8173_POWER_DOMAIN_MM>; 56 power-domains = <&scpsys MT8173_POWER_DOMAIN_MM>; 63 power-domains = <&scpsys MT8173_POWER_DOMAIN_MM>; 70 power-domains = <&scpsys MT8173_POWER_DOMAIN_MM>; 77 power-domains = <&scpsys MT8173_POWER_DOMAIN_MM>; 85 power-domains = <&scpsys MT8173_POWER_DOMAIN_MM>; 93 power-domains = <&scpsys MT8173_POWER_DOMAIN_MM>;
|
/Linux-v6.1/arch/arm64/boot/dts/mediatek/ |
D | mt2712e.dtsi | 281 scpsys: power-controller@10006000 { label 282 compatible = "mediatek,mt2712-scpsys", "syscon"; 752 power-domains = <&scpsys MT2712_POWER_DOMAIN_AUDIO>; 805 power-domains = <&scpsys MT2712_POWER_DOMAIN_USB>; 820 power-domains = <&scpsys MT2712_POWER_DOMAIN_USB>; 869 power-domains = <&scpsys MT2712_POWER_DOMAIN_USB2>; 884 power-domains = <&scpsys MT2712_POWER_DOMAIN_USB2>; 1005 power-domains = <&scpsys MT2712_POWER_DOMAIN_MM>; 1014 power-domains = <&scpsys MT2712_POWER_DOMAIN_MM>; 1025 power-domains = <&scpsys MT2712_POWER_DOMAIN_MM>; [all …]
|
D | mt7622.dtsi | 240 scpsys: power-controller@10006000 { label 241 compatible = "mediatek,mt7622-scpsys", 536 power-domains = <&scpsys MT7622_POWER_DOMAIN_WB>; 733 power-domains = <&scpsys MT7622_POWER_DOMAIN_WB>; 751 power-domains = <&scpsys MT7622_POWER_DOMAIN_HIF1>; 827 power-domains = <&scpsys MT7622_POWER_DOMAIN_HIF0>; 865 power-domains = <&scpsys MT7622_POWER_DOMAIN_HIF0>; 898 power-domains = <&scpsys MT7622_POWER_DOMAIN_HIF0>; 942 power-domains = <&scpsys MT7622_POWER_DOMAIN_ETHSYS>; 990 power-domains = <&scpsys MT7622_POWER_DOMAIN_ETHSYS>;
|
D | mt8167.dtsi | 38 scpsys: syscon@10006000 { label 39 compatible = "mediatek,mt8167-scpsys", "syscon", "simple-mfd";
|
/Linux-v6.1/Documentation/devicetree/bindings/arm/mediatek/ |
D | mediatek,mipi0a.txt | 18 Documentation/devicetree/bindings/soc/mediatek/scpsys.txt 26 power-domains = <&scpsys MT6765_POWER_DOMAIN_CAM>;
|
D | mediatek,vcodecsys.txt | 17 Documentation/devicetree/bindings/soc/mediatek/scpsys.txt 25 power-domains = <&scpsys MT6765_POWER_DOMAIN_VCODEC>;
|
/Linux-v6.1/Documentation/devicetree/bindings/power/ |
D | mediatek,power-controller.yaml | 18 property that is a phandle for SCPSYS node representing the domain. 137 scpsys: syscon@10006000 { 138 compatible = "mediatek,mt8173-scpsys", "syscon", "simple-mfd";
|
/Linux-v6.1/Documentation/devicetree/bindings/usb/ |
D | mediatek,mtu3.yaml | 235 power-domains = <&scpsys MT8173_POWER_DOMAIN_USB>; 253 power-domains = <&scpsys MT8173_POWER_DOMAIN_USB>; 271 power-domains = <&scpsys MT2712_POWER_DOMAIN_USB2>; 285 power-domains = <&scpsys MT2712_POWER_DOMAIN_USB>;
|
/Linux-v6.1/Documentation/devicetree/bindings/pci/ |
D | mediatek-pcie.txt | 112 power-domains = <&scpsys MT2701_POWER_DOMAIN_HIF>; 235 power-domains = <&scpsys MT7622_POWER_DOMAIN_HIF0>; 273 power-domains = <&scpsys MT7622_POWER_DOMAIN_HIF0>;
|
/Linux-v6.1/Documentation/devicetree/bindings/crypto/ |
D | mediatek-crypto.txt | 24 power-domains = <&scpsys MT2701_POWER_DOMAIN_ETH>;
|
/Linux-v6.1/Documentation/devicetree/bindings/sound/ |
D | mt6797-afe-pcm.txt | 25 power-domains = <&scpsys MT6797_POWER_DOMAIN_AUDIO>;
|
D | mt8183-afe-pcm.txt | 29 power-domains = <&scpsys MT8183_POWER_DOMAIN_AUDIO>;
|
/Linux-v6.1/Documentation/devicetree/bindings/dma/ |
D | mtk-hsdma.txt | 29 power-domains = <&scpsys MT2701_POWER_DOMAIN_ETH>;
|
/Linux-v6.1/Documentation/devicetree/bindings/display/mediatek/ |
D | mediatek,ufoe.yaml | 65 power-domains = <&scpsys MT8173_POWER_DOMAIN_MM>;
|