Home
last modified time | relevance | path

Searched full:pwrc (Results 1 – 23 of 23) sorted by relevance

/linux/drivers/power/reset/
H A Datc260x-poweroff.c19 int (*do_poweroff)(const struct atc260x_pwrc *pwrc, bool restart);
22 static int atc2603c_do_poweroff(const struct atc260x_pwrc *pwrc, bool restart) in atc2603c_do_poweroff() argument
30 dev_info(pwrc->dev, "Enabling S4-Deep Sleep Mode"); in atc2603c_do_poweroff()
38 ret = regmap_update_bits(pwrc->regmap, ATC2603C_PMU_SYS_CTL0, in atc2603c_do_poweroff()
41 dev_warn(pwrc->dev, "failed to write SYS_CTL0: %d\n", ret); in atc2603c_do_poweroff()
46 ret = regmap_update_bits(pwrc->regmap, ATC2603C_PMU_SYS_CTL3, reg_mask, in atc2603c_do_poweroff()
49 dev_err(pwrc->dev, "failed to write SYS_CTL3: %d\n", ret); in atc2603c_do_poweroff()
58 ret = regmap_update_bits(pwrc->regmap, in atc2603c_do_poweroff()
62 dev_err(pwrc->dev, "failed to write SYS_CTL%d: %d\n", in atc2603c_do_poweroff()
73 static int atc2609a_do_poweroff(const struct atc260x_pwrc *pwrc, bool restart) in atc2609a_do_poweroff() argument
[all …]
H A Dmt6323-poweroff.c27 struct mt6323_pwrc *pwrc = data->cb_data; in mt6323_do_pwroff() local
31 regmap_write(pwrc->regmap, pwrc->base + RTC_BBPU, RTC_BBPU_KEY); in mt6323_do_pwroff()
32 regmap_write(pwrc->regmap, pwrc->base + RTC_WRTGR_MT6323, 1); in mt6323_do_pwroff()
34 ret = regmap_read_poll_timeout(pwrc->regmap, in mt6323_do_pwroff()
35 pwrc->base + RTC_BBPU, val, in mt6323_do_pwroff()
40 dev_err(pwrc->dev, "failed to write BBPU: %d\n", ret); in mt6323_do_pwroff()
53 struct mt6323_pwrc *pwrc; in mt6323_pwrc_probe() local
57 pwrc = devm_kzalloc(&pdev->dev, sizeof(*pwrc), GFP_KERNEL); in mt6323_pwrc_probe()
58 if (!pwrc) in mt6323_pwrc_probe()
65 pwrc->base = res->start; in mt6323_pwrc_probe()
[all …]
/linux/Documentation/devicetree/bindings/power/
H A Damlogic,meson-ee-pwrc.yaml5 $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
64 - amlogic,meson8b-pwrc
65 - amlogic,meson8m2-pwrc
[all …]
H A Damlogic,meson-gx-pwrc.txt20 - "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";
H A Dstarfive,jh7110-pmu.yaml40 pwrc: power-controller@17030000 {
/linux/drivers/pmdomain/amlogic/
H A Dmeson-ee-pwrc.c334 struct meson_ee_pwrc *pwrc; member
353 regmap_read(pwrc_domain->pwrc->regmap_ao, in pwrc_ee_is_powered_off()
366 regmap_update_bits(pwrc_domain->pwrc->regmap_ao, in meson_ee_pwrc_off()
373 regmap_update_bits(pwrc_domain->pwrc->regmap_hhi, in meson_ee_pwrc_off()
381 regmap_update_bits(pwrc_domain->pwrc->regmap_ao, in meson_ee_pwrc_off()
402 regmap_update_bits(pwrc_domain->pwrc->regmap_ao, in meson_ee_pwrc_on()
408 regmap_update_bits(pwrc_domain->pwrc->regmap_hhi, in meson_ee_pwrc_on()
419 regmap_update_bits(pwrc_domain->pwrc->regmap_ao, in meson_ee_pwrc_on()
432 struct meson_ee_pwrc *pwrc, in meson_ee_pwrc_init_domain() argument
437 dom->pwrc = pwrc; in meson_ee_pwrc_init_domain()
[all …]
H A DMakefile2 obj-$(CONFIG_MESON_EE_PM_DOMAINS) += meson-ee-pwrc.o
3 obj-$(CONFIG_MESON_SECURE_PM_DOMAINS) += meson-secure-pwrc.o
/linux/arch/arm64/boot/dts/amlogic/
H A Damlogic-a5.dtsi8 #include <dt-bindings/power/amlogic,a5-pwrc.h>
46 pwrc: power-controller { label
47 compatible = "amlogic,a5-pwrc";
H A Dmeson-g12.dtsi363 power-domains = <&pwrc PWRC_G12A_ETH_ID>;
367 power-domains = <&pwrc PWRC_G12A_VPU_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>;
H A Dmeson-gxbb.dtsi318 power-domains = <&pwrc PWRC_GXBB_VPU_ID>;
767 &pwrc {
889 power-domains = <&pwrc PWRC_GXBB_VPU_ID>;
H A Dmeson-gxl.dtsi330 power-domains = <&pwrc PWRC_GXBB_VPU_ID>;
837 &pwrc {
959 power-domains = <&pwrc PWRC_GXBB_VPU_ID>;
H A Dmeson-s4.dtsi73 pwrc: power-controller { label
74 compatible = "amlogic,meson-s4-pwrc";
801 power-domains = <&pwrc PWRC_S4_ETH_ID>;
H A Dmeson-g12-common.dtsi1625 pwrc: power-controller { label
1626 compatible = "amlogic,meson-g12a-pwrc";
/linux/Documentation/devicetree/bindings/soc/amlogic/
H A Damlogic,meson-gx-hhi-sysctrl.yaml31 $ref: /schemas/power/amlogic,meson-ee-pwrc.yaml
130 compatible = "amlogic,meson-gxbb-pwrc";
189 compatible = "amlogic,meson-axg-pwrc";
/linux/arch/arm/boot/dts/amlogic/
H A Dmeson8m2.dtsi64 &pwrc {
65 compatible = "amlogic,meson8m2-pwrc";
H A Dmeson8b.dtsi581 power-domains = <&pwrc PWRC_MESON8_ETHERNET_MEM_ID>;
599 pwrc: power-controller { label
600 compatible = "amlogic,meson8b-pwrc";
H A Dmeson8.dtsi639 power-domains = <&pwrc PWRC_MESON8_ETHERNET_MEM_ID>;
656 pwrc: power-controller { label
657 compatible = "amlogic,meson8-pwrc";
/linux/Documentation/devicetree/bindings/firmware/
H A Damlogic,meson-gxbb-sm.yaml26 $ref: /schemas/power/amlogic,meson-sec-pwrc.yaml#
/linux/drivers/mfd/
H A Datc260x-core.c124 { .name = "atc260x-pwrc" },
134 { .name = "atc260x-pwrc" },
/linux/Documentation/devicetree/bindings/clock/
H A Dstarfive,jh7110-voutcrg.yaml89 power-domains = <&pwrc JH7110_PD_VOUT>;
H A Dstarfive,jh7110-ispcrg.yaml86 power-domains = <&pwrc JH7110_PD_ISP>;
/linux/Documentation/devicetree/bindings/media/
H A Dstarfive,jh7110-camss.yaml154 power-domains = <&pwrc 5>;
/linux/arch/arm/boot/dts/mediatek/
H A Dmt6323.dtsi262 compatible = "mediatek,mt6323-pwrc";