| /kernel/linux/linux-5.10/drivers/power/reset/ |
| D | mt6323-poweroff.c | 28 struct mt6323_pwrc *pwrc = mt_pwrc; in mt6323_do_pwroff() local 32 regmap_write(pwrc->regmap, pwrc->base + RTC_BBPU, RTC_BBPU_KEY); in mt6323_do_pwroff() 33 regmap_write(pwrc->regmap, pwrc->base + RTC_WRTGR_MT6323, 1); in mt6323_do_pwroff() 35 ret = regmap_read_poll_timeout(pwrc->regmap, in mt6323_do_pwroff() 36 pwrc->base + RTC_BBPU, val, in mt6323_do_pwroff() 41 dev_err(pwrc->dev, "failed to write BBPU: %d\n", ret); in mt6323_do_pwroff() 52 struct mt6323_pwrc *pwrc; in mt6323_pwrc_probe() local 55 pwrc = devm_kzalloc(&pdev->dev, sizeof(*pwrc), GFP_KERNEL); in mt6323_pwrc_probe() 56 if (!pwrc) in mt6323_pwrc_probe() 63 pwrc->base = res->start; in mt6323_pwrc_probe() [all …]
|
| /kernel/linux/linux-5.10/drivers/soc/amlogic/ |
| D | meson-secure-pwrc.c | 23 struct meson_secure_pwrc *pwrc; member 48 if (meson_sm_call(pwrc_domain->pwrc->fw, SM_A1_PWRC_GET, &is_off, in pwrc_secure_is_off() 61 if (meson_sm_call(pwrc_domain->pwrc->fw, SM_A1_PWRC_SET, NULL, in meson_secure_pwrc_off() 76 if (meson_sm_call(pwrc_domain->pwrc->fw, SM_A1_PWRC_SET, NULL, in meson_secure_pwrc_on() 125 struct meson_secure_pwrc *pwrc; in meson_secure_pwrc_probe() local 140 pwrc = devm_kzalloc(&pdev->dev, sizeof(*pwrc), GFP_KERNEL); in meson_secure_pwrc_probe() 141 if (!pwrc) in meson_secure_pwrc_probe() 144 pwrc->fw = meson_sm_get(sm_np); in meson_secure_pwrc_probe() 146 if (!pwrc->fw) in meson_secure_pwrc_probe() 149 pwrc->xlate.domains = devm_kcalloc(&pdev->dev, match->count, in meson_secure_pwrc_probe() [all …]
|
| D | meson-ee-pwrc.c | 301 struct meson_ee_pwrc *pwrc; member 320 regmap_read(pwrc_domain->pwrc->regmap_ao, in pwrc_ee_get_power() 333 regmap_update_bits(pwrc_domain->pwrc->regmap_ao, in meson_ee_pwrc_off() 340 regmap_update_bits(pwrc_domain->pwrc->regmap_hhi, in meson_ee_pwrc_off() 348 regmap_update_bits(pwrc_domain->pwrc->regmap_ao, in meson_ee_pwrc_off() 369 regmap_update_bits(pwrc_domain->pwrc->regmap_ao, in meson_ee_pwrc_on() 375 regmap_update_bits(pwrc_domain->pwrc->regmap_hhi, in meson_ee_pwrc_on() 386 regmap_update_bits(pwrc_domain->pwrc->regmap_ao, in meson_ee_pwrc_on() 399 struct meson_ee_pwrc *pwrc, in meson_ee_pwrc_init_domain() argument 404 dom->pwrc = pwrc; in meson_ee_pwrc_init_domain() [all …]
|
| D | Makefile | 5 obj-$(CONFIG_MESON_GX_PM_DOMAINS) += meson-gx-pwrc-vpu.o 7 obj-$(CONFIG_MESON_EE_PM_DOMAINS) += meson-ee-pwrc.o 8 obj-$(CONFIG_MESON_SECURE_PM_DOMAINS) += meson-secure-pwrc.o
|
| D | meson-gx-pwrc-vpu.c | 360 { .compatible = "amlogic,meson-gx-pwrc-vpu", .data = &vpu_hdmi_pd }, 362 .compatible = "amlogic,meson-g12a-pwrc-vpu",
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/power/ |
| D | amlogic,meson-ee-pwrc.yaml | 5 $id: "http://devicetree.org/schemas/power/amlogic,meson-ee-pwrc.yaml#" 26 - amlogic,meson8-pwrc 27 - amlogic,meson8b-pwrc 28 - amlogic,meson8m2-pwrc 29 - amlogic,meson-gxbb-pwrc 30 - amlogic,meson-axg-pwrc 31 - amlogic,meson-g12a-pwrc 32 - amlogic,meson-sm1-pwrc 65 - amlogic,meson8b-pwrc 66 - amlogic,meson8m2-pwrc [all …]
|
| D | amlogic,meson-sec-pwrc.yaml | 6 $id: "http://devicetree.org/schemas/power/amlogic,meson-sec-pwrc.yaml#" 21 - amlogic,meson-a1-pwrc 37 pwrc: power-controller { 38 compatible = "amlogic,meson-a1-pwrc";
|
| D | amlogic,meson-gx-pwrc.txt | 20 - "amlogic,meson-gx-pwrc-vpu" for the Meson GX SoCs 21 - "amlogic,meson-g12a-pwrc-vpu" for the Meson G12A SoCs 42 compatible = "amlogic,meson-gx-pwrc-vpu";
|
| /kernel/linux/linux-5.10/drivers/input/misc/ |
| D | sirfsoc-onkey.c | 101 { .compatible = "sirf,prima2-pwrc" }, 121 * We can't use of_iomap because pwrc is not mapped in memory, in sirfsoc_pwrc_probe() 127 "unable to find base address of pwrc node in dtb\n"); in sirfsoc_pwrc_probe() 136 pwrcdrv->input->phys = "pwrc/input0"; in sirfsoc_pwrc_probe() 180 * Do not mask pwrc interrupt as we want pwrc work as a wakeup source in sirfsoc_pwrc_resume() 196 .name = "sirfsoc-pwrc", 206 MODULE_DESCRIPTION("CSR Prima2 PWRC Driver"); 207 MODULE_ALIAS("platform:sirfsoc-pwrc");
|
| /kernel/linux/linux-5.10/arch/arm/mach-prima2/ |
| D | pm.c | 91 { .compatible = "sirf,prima2-pwrc" }, 101 pr_err("unable to find compatible sirf pwrc node in dtb\n"); in sirfsoc_of_pwrc_init() 106 * pwrc behind rtciobrg is not located in memory space in sirfsoc_of_pwrc_init() 108 * offset for pwrc. then of_iomap is not suitable here. in sirfsoc_of_pwrc_init() 111 panic("unable to find base address of pwrc node in dtb\n"); in sirfsoc_of_pwrc_init()
|
| D | sleep.S | 23 @ r6: pwrc base offset
|
| D | rtciobrg.c | 4 * ARM access the registers of SYSRTC, GPSRTC and PWRC through this module
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/power/reset/ |
| D | mt6323-poweroff.txt | 8 "mediatek,mt6323-pwrc": for MT6323 PMIC 18 compatible = "mediatek,mt6323-pwrc";
|
| /kernel/linux/linux-5.10/arch/arm64/boot/dts/amlogic/ |
| D | meson-sm1.dtsi | 494 power-domains = <&pwrc PWRC_SM1_ETH_ID>; 503 power-domains = <&pwrc PWRC_SM1_PCIE_ID>; 506 &pwrc { 507 compatible = "amlogic,meson-sm1-pwrc"; 511 power-domains = <&pwrc PWRC_SM1_VPU_ID>; 515 power-domains = <&pwrc PWRC_SM1_VPU_ID>; 523 power-domains = <&pwrc PWRC_SM1_VPU_ID>; 527 power-domains = <&pwrc PWRC_SM1_USB_ID>;
|
| D | meson-g12.dtsi | 367 power-domains = <&pwrc PWRC_G12A_ETH_ID>; 371 power-domains = <&pwrc PWRC_G12A_VPU_ID>; 379 power-domains = <&pwrc PWRC_G12A_VPU_ID>; 383 power-domains = <&pwrc PWRC_G12A_VPU_ID>;
|
| D | meson-a1.dtsi | 64 pwrc: power-controller { label 65 compatible = "amlogic,meson-a1-pwrc";
|
| D | meson-gx.dtsi | 64 power-domains = <&pwrc PWRC_GXBB_VPU_ID>; 72 power-domains = <&pwrc PWRC_GXBB_VPU_ID>; 551 pwrc: power-controller { label 552 compatible = "amlogic,meson-gxbb-pwrc"; 578 power-domains = <&pwrc PWRC_GXBB_ETHERNET_MEM_ID>;
|
| D | meson-gxbb.dtsi | 722 &pwrc { 844 power-domains = <&pwrc PWRC_GXBB_VPU_ID>;
|
| D | meson-gxl.dtsi | 791 &pwrc { 913 power-domains = <&pwrc PWRC_GXBB_VPU_ID>;
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| D | meson8m2.dtsi | 64 &pwrc { 65 compatible = "amlogic,meson8m2-pwrc";
|
| D | meson8b.dtsi | 448 power-domains = <&pwrc PWRC_MESON8_ETHERNET_MEM_ID>; 466 pwrc: power-controller { label 467 compatible = "amlogic,meson8b-pwrc";
|
| D | meson8.dtsi | 471 power-domains = <&pwrc PWRC_MESON8_ETHERNET_MEM_ID>; 488 pwrc: power-controller { label 489 compatible = "amlogic,meson8-pwrc";
|
| /kernel/linux/linux-5.10/include/linux/rtc/ |
| D | sirfsoc_rtciobrg.h | 4 * ARM access the registers of SYSRTC, GPSRTC and PWRC through this module
|
| /kernel/linux/linux-5.10/drivers/mfd/ |
| D | mt6397-core.c | 80 .name = "mt6323-pwrc", 83 .of_compatible = "mediatek,mt6323-pwrc"
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/mfd/ |
| D | mt6397.txt | 60 - compatible: "mediatek,mt6323-pwrc"
|