/openbmc/linux/drivers/pmdomain/mediatek/ |
H A D | mtk-pm-domains.c | 42 struct scpsys *scpsys; member 52 struct scpsys { struct 64 struct scpsys *scpsys = pd->scpsys; in scpsys_domain_is_on() argument 67 regmap_read(scpsys->base, pd->data->pwr_sta_offs, &status); in scpsys_domain_is_on() 70 regmap_read(scpsys->base, pd->data->pwr_sta2nd_offs, &status2); in scpsys_domain_is_on() 80 struct scpsys *scpsys = pd->scpsys; in scpsys_sram_enable() local 84 regmap_clear_bits(scpsys->base, pd->data->ctl_offs, pd->data->sram_pdn_bits); in scpsys_sram_enable() 87 ret = regmap_read_poll_timeout(scpsys->base, pd->data->ctl_offs, tmp, in scpsys_sram_enable() 93 regmap_set_bits(scpsys->base, pd->data->ctl_offs, PWR_SRAM_ISOINT_B_BIT); in scpsys_sram_enable() 95 regmap_clear_bits(scpsys->base, pd->data->ctl_offs, PWR_SRAM_CLKISO_BIT); in scpsys_sram_enable() [all …]
|
H A 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",
|
H A D | Makefile | 2 obj-$(CONFIG_MTK_SCPSYS) += mtk-scpsys.o
|
/openbmc/linux/Documentation/devicetree/bindings/soc/mediatek/ |
H A 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 …]
|
/openbmc/linux/Documentation/devicetree/bindings/mfd/ |
H A 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";
|
/openbmc/linux/arch/arm/boot/dts/mediatek/ |
H A D | mt7623a.dtsi | 13 power-domains = <&scpsys MT7623A_POWER_DOMAIN_IFR_MSC>; 17 power-domains = <&scpsys MT7623A_POWER_DOMAIN_ETH>; 44 power-domains = <&scpsys MT7623A_POWER_DOMAIN_ETH>; 124 power-domains = <&scpsys MT7623A_POWER_DOMAIN_IFR_MSC>; 128 power-domains = <&scpsys MT7623A_POWER_DOMAIN_HIF>; 131 &scpsys { 132 compatible = "mediatek,mt7623a-scpsys"; 138 power-domains = <&scpsys MT7623A_POWER_DOMAIN_IFR_MSC>; 142 power-domains = <&scpsys MT7623A_POWER_DOMAIN_HIF>; 146 power-domains = <&scpsys MT7623A_POWER_DOMAIN_HIF>;
|
H A D | mt2701.dtsi | 151 scpsys: power-controller@10006000 { label 152 compatible = "mediatek,mt2701-scpsys", "syscon"; 196 power-domains = <&scpsys MT2701_POWER_DOMAIN_DISP>; 432 power-domains = <&scpsys MT2701_POWER_DOMAIN_IFR_MSC>; 537 power-domains = <&scpsys MT2701_POWER_DOMAIN_DISP>; 554 power-domains = <&scpsys MT2701_POWER_DOMAIN_ISP>; 565 power-domains = <&scpsys MT2701_POWER_DOMAIN_ISP>; 577 power-domains = <&scpsys MT2701_POWER_DOMAIN_ISP>; 596 power-domains = <&scpsys MT2701_POWER_DOMAIN_VDEC>; 615 power-domains = <&scpsys MT2701_POWER_DOMAIN_HIF>; [all …]
|
H A 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>;
|
H A D | mt7629.dtsi | 93 scpsys: power-controller@10006000 { label 94 compatible = "mediatek,mt7629-scpsys", 95 "mediatek,mt7622-scpsys"; 325 power-domains = <&scpsys MT7622_POWER_DOMAIN_HIF1>; 395 power-domains = <&scpsys MT7622_POWER_DOMAIN_HIF0>; 470 power-domains = <&scpsys MT7622_POWER_DOMAIN_ETHSYS>;
|
H A D | mt7623.dtsi | 270 scpsys: power-controller@10006000 { label 271 compatible = "mediatek,mt7623-scpsys", 272 "mediatek,mt2701-scpsys", 527 power-domains = <&scpsys MT2701_POWER_DOMAIN_IFR_MSC>; 599 power-domains = <&scpsys MT2701_POWER_DOMAIN_IFR_MSC>; 633 power-domains = <&scpsys MT2701_POWER_DOMAIN_IFR_MSC>; 782 power-domains = <&scpsys MT2701_POWER_DOMAIN_HIF>; 868 power-domains = <&scpsys MT2701_POWER_DOMAIN_HIF>; 909 power-domains = <&scpsys MT2701_POWER_DOMAIN_HIF>; 955 power-domains = <&scpsys MT2701_POWER_DOMAIN_ETH>; [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/media/ |
H A 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>;
|
/openbmc/linux/drivers/soc/mediatek/ |
H A D | Kconfig | 53 bool "MediaTek SCPSYS Support" 60 Say yes here to add support for the MediaTek SCPSYS power domain 64 bool "MediaTek SCPSYS generic power domain" 72 Control Processor System (SCPSYS) has several power management related
|
/openbmc/linux/arch/arm64/boot/dts/mediatek/ |
H A 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 …]
|
H A D | mt7622.dtsi | 241 scpsys: power-controller@10006000 { label 242 compatible = "mediatek,mt7622-scpsys", 534 power-domains = <&scpsys MT7622_POWER_DOMAIN_WB>; 731 power-domains = <&scpsys MT7622_POWER_DOMAIN_WB>; 748 power-domains = <&scpsys MT7622_POWER_DOMAIN_HIF1>; 823 power-domains = <&scpsys MT7622_POWER_DOMAIN_HIF0>; 861 power-domains = <&scpsys MT7622_POWER_DOMAIN_HIF0>; 894 power-domains = <&scpsys MT7622_POWER_DOMAIN_HIF0>; 939 power-domains = <&scpsys MT7622_POWER_DOMAIN_ETHSYS>; 985 power-domains = <&scpsys MT7622_POWER_DOMAIN_ETHSYS>;
|
H A D | mt8167.dtsi | 38 scpsys: syscon@10006000 { label 39 compatible = "mediatek,mt8167-scpsys", "syscon", "simple-mfd";
|
/openbmc/linux/Documentation/devicetree/bindings/arm/mediatek/ |
H A D | mediatek,mipi0a.txt | 18 Documentation/devicetree/bindings/soc/mediatek/scpsys.txt 26 power-domains = <&scpsys MT6765_POWER_DOMAIN_CAM>;
|
H A D | mediatek,vcodecsys.txt | 17 Documentation/devicetree/bindings/soc/mediatek/scpsys.txt 25 power-domains = <&scpsys MT6765_POWER_DOMAIN_VCODEC>;
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | mt7623.dtsi | 130 scpsys: scpsys@10006000 { label 131 compatible = "mediatek,mt7623-scpsys"; 267 power-domains = <&scpsys MT7623_POWER_DOMAIN_ETH>;
|
H A D | mt7629.dtsi | 91 scpsys: scpsys@10006000 { label 92 compatible = "mediatek,mt7629-scpsys"; 265 power-domains = <&scpsys MT7629_POWER_DOMAIN_ETHSYS>;
|
/openbmc/linux/Documentation/devicetree/bindings/usb/ |
H A D | mediatek,mtu3.yaml | 241 power-domains = <&scpsys MT8173_POWER_DOMAIN_USB>; 259 power-domains = <&scpsys MT8173_POWER_DOMAIN_USB>; 277 power-domains = <&scpsys MT2712_POWER_DOMAIN_USB2>; 291 power-domains = <&scpsys MT2712_POWER_DOMAIN_USB>;
|
/openbmc/linux/Documentation/devicetree/bindings/power/ |
H A D | mediatek,power-controller.yaml | 18 property that is a phandle for SCPSYS node representing the domain. 139 scpsys: syscon@10006000 { 140 compatible = "mediatek,mt8173-scpsys", "syscon", "simple-mfd";
|
/openbmc/linux/Documentation/devicetree/bindings/crypto/ |
H A D | mediatek-crypto.txt | 24 power-domains = <&scpsys MT2701_POWER_DOMAIN_ETH>;
|
/openbmc/linux/Documentation/devicetree/bindings/sound/ |
H A D | mt6797-afe-pcm.txt | 25 power-domains = <&scpsys MT6797_POWER_DOMAIN_AUDIO>;
|
H A D | mt8183-afe-pcm.txt | 29 power-domains = <&scpsys MT8183_POWER_DOMAIN_AUDIO>;
|
/openbmc/linux/Documentation/devicetree/bindings/pci/ |
H A 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>;
|