Home
last modified time | relevance | path

Searched full:shdwc (Results 1 – 25 of 28) sorted by relevance

12

/linux-6.14.4/Documentation/devicetree/bindings/power/reset/
Datmel,at91sam9260-shdwc.yaml4 $id: http://devicetree.org/schemas/power/reset/atmel,at91sam9260-shdwc.yaml#
7 title: Microchip AT91 SHDWC Shutdown Controller
13 Microchip AT91 SHDWC shutdown controller controls the power supplies VDDIO
19 - atmel,at91sam9260-shdwc
20 - atmel,at91sam9rl-shdwc
21 - atmel,at91sam9x5-shdwc
58 const: atmel,at91sam9x5-shdwc
67 const: atmel,at91sam9260-shdwc
76 shdwc: poweroff@fffffd10 {
77 compatible = "atmel,at91sam9260-shdwc";
Datmel,sama5d2-shdwc.yaml4 $id: http://devicetree.org/schemas/power/reset/atmel,sama5d2-shdwc.yaml#
7 title: Microchip AT91 SAMA5D2 SHDWC Shutdown Controller
13 Microchip AT91 SHDWC shutdown controller controls the power supplies VDDIO
20 - const: microchip,sama7g5-shdwc
23 - atmel,sama5d2-shdwc
24 - microchip,sam9x60-shdwc
26 - const: microchip,sam9x7-shdwc
27 - const: microchip,sam9x60-shdwc
89 const: atmel,sama5d2-shdwc
98 shdwc: poweroff@f8048010 {
[all …]
/linux-6.14.4/drivers/power/reset/
Dat91-sama5d2_shdwc.c2 * Atmel SAMA5D2-Compatible Shutdown Controller (SHDWC) driver.
87 struct shdwc_reg_config shdwc; member
92 struct shdwc { struct
104 static struct shdwc *at91_shdwc; argument
112 struct shdwc *shdw = platform_get_drvdata(pdev); in at91_wakeup_status()
125 if (SHDW_WK_PIN(reg, &rcfg->shdwc)) in at91_wakeup_status()
127 else if (SHDW_RTCWK(reg, &rcfg->shdwc)) in at91_wakeup_status()
129 else if (SHDW_RTTWK(reg, &rcfg->shdwc)) in at91_wakeup_status()
234 struct shdwc *shdw = platform_get_drvdata(pdev); in at91_shdwc_dt_configure()
248 mode |= SHDW_RTCWKEN(&rcfg->shdwc); in at91_shdwc_dt_configure()
[all …]
Dat91-poweroff.c54 static struct shdwc { struct
129 dev_warn(&pdev->dev, "shdwc unknown wakeup mode\n"); in at91_poweroff_dt_set_wakeup_mode()
136 "shdwc wakeup counter 0x%x > 0x%x reduce it to 0x%x\n", in at91_poweroff_dt_set_wakeup_mode()
217 { .compatible = "atmel,at91sam9260-shdwc", },
218 { .compatible = "atmel,at91sam9rl-shdwc", },
219 { .compatible = "atmel,at91sam9x5-shdwc", },
/linux-6.14.4/arch/arm/mach-at91/
Dpm.c116 * @config_shdwc_ws: wakeup sources configuration function for SHDWC
126 int (*config_shdwc_ws)(void __iomem *shdwc, u32 *mode, u32 *polarity);
138 * @AT91_PM_IOMAP_SHDWC: SHDWC controller
254 if (!soc_pm.data.pmc || !soc_pm.data.shdwc || !soc_pm.ws_ids) in at91_pm_config_ws()
263 soc_pm.config_shdwc_ws(soc_pm.data.shdwc, &mode, &polarity); in at91_pm_config_ws()
265 /* SHDWC.MR */ in at91_pm_config_ws()
266 val = readl(soc_pm.data.shdwc + 0x04); in at91_pm_config_ws()
277 /* Check if enabled on SHDWC. */ in at91_pm_config_ws()
300 static int at91_sama5d2_config_shdwc_ws(void __iomem *shdwc, u32 *mode, in at91_sama5d2_config_shdwc_ws() argument
305 /* SHDWC.WUIR */ in at91_sama5d2_config_shdwc_ws()
[all …]
Dpm_data-offsets.c15 DEFINE(PM_DATA_SHDWC, offsetof(struct at91_pm_data, shdwc)); in main()
Dpm.h36 void __iomem *shdwc; member
Dpm_suspend.S1014 ldr r0, .shdwc
1076 str tmp1, .shdwc
1123 .shdwc: label
/linux-6.14.4/arch/arm/boot/dts/microchip/
Dusb_a9260.dts25 shdwc: poweroff@fffffd10 { label
Dat91sam9260ek.dts115 shdwc: poweroff@fffffd10 { label
Dat91-qil_a9260.dts111 shdwc: poweroff@fffffd10 { label
Dat91sam9g20ek_common.dtsi129 shdwc: poweroff@fffffd10 { label
Dat91sam9260.dtsi133 shdwc: poweroff@fffffd10 { label
134 compatible = "atmel,at91sam9260-shdwc";
Dat91-sama7g54_curiosity.dts498 &shdwc {
Dsama7g5.dtsi260 shdwc: poweroff@e001d010 { label
261 compatible = "microchip,sama7g5-shdwc", "syscon";
Dat91sam9261.dtsi618 compatible = "atmel,at91sam9260-shdwc";
Dsam9x7.dtsi1215 compatible = "microchip,sam9x7-shdwc", "microchip,sam9x60-shdwc";
Dat91-sama7g5ek.dts878 &shdwc {
Dat91sam9n12.dtsi144 compatible = "atmel,at91sam9x5-shdwc";
Dat91sam9rl.dtsi782 compatible = "atmel,at91sam9260-shdwc";
Dat91sam9263.dtsi162 compatible = "atmel,at91sam9260-shdwc";
Dat91sam9x5.dtsi145 compatible = "atmel,at91sam9x5-shdwc";
Dat91sam9g45.dtsi156 compatible = "atmel,at91sam9rl-shdwc";
Dsama5d3.dtsi1020 compatible = "atmel,at91sam9x5-shdwc";
Dsama5d2.dtsi684 compatible = "atmel,sama5d2-shdwc";

12