| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/power/reset/ |
| D | atmel,at91sam9260-shdwc.yaml | 4 $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";
|
| D | atmel,sama5d2-shdwc.yaml | 4 $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 86 const: atmel,sama5d2-shdwc 95 shdwc: poweroff@f8048010 { 96 compatible = "atmel,sama5d2-shdwc";
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/arm/ |
| D | atmel-sysregs.txt | 58 SHDWC Shutdown Controller 61 - compatible: Should be "atmel,<chip>-shdwc". 83 shdwc@fffffd10 { 84 compatible = "atmel,at91sam9260-shdwc"; 89 SHDWC SAMA5D2-Compatible Shutdown Controller 91 1) shdwc node 94 - compatible: should be "atmel,sama5d2-shdwc" or "microchip,sam9x60-shdwc". 106 optional microchip,sam9x60-shdwc properties: 128 shdwc@f8048010 { 129 compatible = "atmel,sama5d2-shdwc"; [all …]
|
| /kernel/linux/linux-6.6/drivers/power/reset/ |
| D | at91-sama5d2_shdwc.c | 2 * 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 …]
|
| D | at91-poweroff.c | 54 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() 219 { .compatible = "atmel,at91sam9260-shdwc", }, 220 { .compatible = "atmel,at91sam9rl-shdwc", }, 221 { .compatible = "atmel,at91sam9x5-shdwc", },
|
| /kernel/linux/linux-5.10/drivers/power/reset/ |
| D | at91-sama5d2_shdwc.c | 2 * Atmel SAMA5D2-Compatible Shutdown Controller (SHDWC) driver. 82 struct shdwc_reg_config shdwc; member 86 struct shdwc { struct 98 static struct shdwc *at91_shdwc; argument 106 struct shdwc *shdw = platform_get_drvdata(pdev); in at91_wakeup_status() 119 if (SHDW_WK_PIN(reg, &rcfg->shdwc)) in at91_wakeup_status() 121 else if (SHDW_RTCWK(reg, &rcfg->shdwc)) in at91_wakeup_status() 123 else if (SHDW_RTTWK(reg, &rcfg->shdwc)) in at91_wakeup_status() 228 struct shdwc *shdw = platform_get_drvdata(pdev); in at91_shdwc_dt_configure() 242 mode |= SHDW_RTCWKEN(&rcfg->shdwc); in at91_shdwc_dt_configure() [all …]
|
| D | at91-poweroff.c | 54 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() 221 { .compatible = "atmel,at91sam9260-shdwc", }, 222 { .compatible = "atmel,at91sam9rl-shdwc", }, 223 { .compatible = "atmel,at91sam9x5-shdwc", },
|
| /kernel/linux/linux-6.6/arch/arm/mach-at91/ |
| D | pm.c | 116 * @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 247 if (!soc_pm.data.pmc || !soc_pm.data.shdwc || !soc_pm.ws_ids) in at91_pm_config_ws() 256 soc_pm.config_shdwc_ws(soc_pm.data.shdwc, &mode, &polarity); in at91_pm_config_ws() 258 /* SHDWC.MR */ in at91_pm_config_ws() 259 val = readl(soc_pm.data.shdwc + 0x04); in at91_pm_config_ws() 270 /* Check if enabled on SHDWC. */ in at91_pm_config_ws() 293 static int at91_sama5d2_config_shdwc_ws(void __iomem *shdwc, u32 *mode, in at91_sama5d2_config_shdwc_ws() argument 298 /* SHDWC.WUIR */ in at91_sama5d2_config_shdwc_ws() [all …]
|
| D | pm_data-offsets.c | 15 DEFINE(PM_DATA_SHDWC, offsetof(struct at91_pm_data, shdwc)); in main()
|
| D | pm.h | 36 void __iomem *shdwc; member
|
| D | pm_suspend.S | 1014 ldr r0, .shdwc 1076 str tmp1, .shdwc 1123 .shdwc: label
|
| /kernel/linux/linux-5.10/arch/arm/mach-at91/ |
| D | pm.c | 40 int (*config_shdwc_ws)(void __iomem *shdwc, u32 *mode, u32 *polarity); 139 if (!soc_pm.data.pmc || !soc_pm.data.shdwc || !soc_pm.ws_ids) in at91_pm_config_ws() 148 soc_pm.config_shdwc_ws(soc_pm.data.shdwc, &mode, &polarity); in at91_pm_config_ws() 150 /* SHDWC.MR */ in at91_pm_config_ws() 151 val = readl(soc_pm.data.shdwc + 0x04); in at91_pm_config_ws() 162 /* Check if enabled on SHDWC. */ in at91_pm_config_ws() 185 static int at91_sama5d2_config_shdwc_ws(void __iomem *shdwc, u32 *mode, in at91_sama5d2_config_shdwc_ws() argument 190 /* SHDWC.WUIR */ in at91_sama5d2_config_shdwc_ws() 191 val = readl(shdwc + 0x0c); in at91_sama5d2_config_shdwc_ws() 711 { .compatible = "atmel,sama5d2-shdwc" }, [all …]
|
| D | pm_data-offsets.c | 13 DEFINE(PM_DATA_SHDWC, offsetof(struct at91_pm_data, shdwc)); in main()
|
| D | pm.h | 33 void __iomem *shdwc; member
|
| D | pm_suspend.S | 103 str tmp1, .shdwc 159 ldr r0, .shdwc 683 .shdwc: label
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/microchip/ |
| D | usb_a9260.dts | 25 shdwc: poweroff@fffffd10 { label
|
| D | at91sam9260ek.dts | 115 shdwc: poweroff@fffffd10 { label
|
| D | at91-qil_a9260.dts | 111 shdwc: poweroff@fffffd10 { label
|
| D | at91sam9g20ek_common.dtsi | 129 shdwc: poweroff@fffffd10 { label
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| D | usb_a9260.dts | 25 shdwc@fffffd10 {
|
| D | at91sam9260ek.dts | 115 shdwc@fffffd10 {
|
| D | usb_a9263.dts | 70 shdwc@fffffd10 {
|
| D | at91-qil_a9260.dts | 111 shdwc@fffffd10 {
|
| D | at91sam9g20ek_common.dtsi | 129 shdwc@fffffd10 {
|
| D | at91sam9261.dtsi | 612 shdwc@fffffd10 { 613 compatible = "atmel,at91sam9260-shdwc";
|