Home
last modified time | relevance | path

Searched +full:syscon +full:- +full:poweroff (Results 1 – 25 of 63) sorted by relevance

123

/kernel/linux/linux-5.10/Documentation/devicetree/bindings/power/reset/
Dsyscon-poweroff.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/power/reset/syscon-poweroff.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Generic SYSCON mapped register poweroff driver
10 - Sebastian Reichel <sre@kernel.org>
13 This is a generic poweroff driver using syscon to map the poweroff register.
14 The poweroff is generally performed with a write to the poweroff register
15 defined by the register map pointed by syscon reference plus the offset
16 with the value and mask defined in the poweroff node.
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/power/reset/
Dsyscon-poweroff.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/power/reset/syscon-poweroff.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Generic SYSCON mapped register poweroff driver
10 - Sebastian Reichel <sre@kernel.org>
13 This is a generic poweroff driver using syscon to map the poweroff register.
14 The poweroff is generally performed with a write to the poweroff register
15 defined by the register map pointed by syscon reference plus the offset
16 with the value and mask defined in the poweroff node.
[all …]
Datmel,sama5d2-shdwc.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/power/reset/atmel,sama5d2-shdwc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Claudiu Beznea <claudiu.beznea@microchip.com>
14 and VDDCORE and the wake-up detection on debounced input lines.
19 - items:
20 - const: microchip,sama7g5-shdwc
21 - const: syscon
22 - enum:
[all …]
/kernel/linux/linux-6.6/drivers/power/reset/
DMakefile1 # SPDX-License-Identifier: GPL-2.0
2 obj-$(CONFIG_POWER_RESET_AS3722) += as3722-poweroff.o
3 obj-$(CONFIG_POWER_RESET_AT91_POWEROFF) += at91-poweroff.o
4 obj-$(CONFIG_POWER_RESET_AT91_RESET) += at91-reset.o
5 obj-$(CONFIG_POWER_RESET_AT91_SAMA5D2_SHDWC) += at91-sama5d2_shdwc.o
6 obj-$(CONFIG_POWER_RESET_ATC260X) += atc260x-poweroff.o
7 obj-$(CONFIG_POWER_RESET_AXXIA) += axxia-reset.o
8 obj-$(CONFIG_POWER_RESET_BRCMKONA) += brcm-kona-reset.o
9 obj-$(CONFIG_POWER_RESET_BRCMSTB) += brcmstb-reboot.o
10 obj-$(CONFIG_POWER_RESET_GEMINI_POWEROFF) += gemini-poweroff.o
[all …]
Dsyscon-poweroff.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Generic Syscon Poweroff Driver
12 #include <linux/mfd/syscon.h>
25 /* Issue the poweroff */ in syscon_poweroff()
30 pr_emerg("Unable to poweroff system\n"); in syscon_poweroff()
37 map = syscon_regmap_lookup_by_phandle(pdev->dev.of_node, "regmap"); in syscon_poweroff_probe()
39 dev_err(&pdev->dev, "unable to get syscon"); in syscon_poweroff_probe()
43 if (of_property_read_u32(pdev->dev.of_node, "offset", &offset)) { in syscon_poweroff_probe()
44 dev_err(&pdev->dev, "unable to read 'offset'"); in syscon_poweroff_probe()
45 return -EINVAL; in syscon_poweroff_probe()
[all …]
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
13 bool "ams AS3722 power-off driver"
16 This driver supports turning off board via a ams AS3722 power-off.
19 tristate "Atmel AT91 poweroff driver"
23 This driver supports poweroff for Atmel AT91SAM9 and SAMA5
35 tristate "Atmel AT91 SAMA5D2-Compatible shutdown controller driver"
43 tristate "Actions Semi ATC260x PMIC power-off driver"
46 This driver provides power-off and restart support for a system
64 Say Y here if you have a Broadcom Kona-based board and you wish
79 bool "Cortina Gemini power-off driver"
[all …]
/kernel/linux/linux-6.6/arch/arm/boot/dts/samsung/
Dexynos-syscon-restart.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 * Samsung's Exynos SoC syscon reboot/poweroff nodes common definition.
7 poweroff: syscon-poweroff { label
8 compatible = "syscon-poweroff";
14 reboot: syscon-reboot {
15 compatible = "syscon-reboot";
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dexynos-syscon-restart.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 * Samsung's Exynos SoC syscon reboot/poweroff nodes common definition.
7 poweroff: syscon-poweroff { label
8 compatible = "syscon-poweroff";
14 reboot: syscon-reboot {
15 compatible = "syscon-reboot";
/kernel/linux/linux-5.10/drivers/power/reset/
DMakefile1 # SPDX-License-Identifier: GPL-2.0
2 obj-$(CONFIG_POWER_RESET_AS3722) += as3722-poweroff.o
3 obj-$(CONFIG_POWER_RESET_AT91_POWEROFF) += at91-poweroff.o
4 obj-$(CONFIG_POWER_RESET_AT91_RESET) += at91-reset.o
5 obj-$(CONFIG_POWER_RESET_AT91_SAMA5D2_SHDWC) += at91-sama5d2_shdwc.o
6 obj-$(CONFIG_POWER_RESET_AXXIA) += axxia-reset.o
7 obj-$(CONFIG_POWER_RESET_BRCMKONA) += brcm-kona-reset.o
8 obj-$(CONFIG_POWER_RESET_BRCMSTB) += brcmstb-reboot.o
9 obj-$(CONFIG_POWER_RESET_GEMINI_POWEROFF) += gemini-poweroff.o
10 obj-$(CONFIG_POWER_RESET_GPIO) += gpio-poweroff.o
[all …]
Dsyscon-poweroff.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Generic Syscon Poweroff Driver
13 #include <linux/mfd/syscon.h>
27 /* Issue the poweroff */ in syscon_poweroff()
32 pr_emerg("Unable to poweroff system\n"); in syscon_poweroff()
40 map = syscon_regmap_lookup_by_phandle(pdev->dev.of_node, "regmap"); in syscon_poweroff_probe()
42 dev_err(&pdev->dev, "unable to get syscon"); in syscon_poweroff_probe()
46 if (of_property_read_u32(pdev->dev.of_node, "offset", &offset)) { in syscon_poweroff_probe()
47 dev_err(&pdev->dev, "unable to read 'offset'"); in syscon_poweroff_probe()
48 return -EINVAL; in syscon_poweroff_probe()
[all …]
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
13 bool "ams AS3722 power-off driver"
16 This driver supports turning off board via a ams AS3722 power-off.
19 tristate "Atmel AT91 poweroff driver"
23 This driver supports poweroff for Atmel AT91SAM9 and SAMA5
35 tristate "Atmel AT91 SAMA5D2-Compatible shutdown controller driver"
57 Say Y here if you have a Broadcom Kona-based board and you wish
72 bool "Cortina Gemini power-off driver"
81 bool "GPIO power-off driver"
97 bool "Hisilicon power-off driver"
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/soc/loongson/
Dloongson,ls2k-pmc.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/soc/loongson/loongson,ls2k-pmc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Loongson-2 Power Manager controller
10 - Yinbo Zhu <zhuyinbo@loongson.cn>
15 - items:
16 - const: loongson,ls2k0500-pmc
17 - const: syscon
18 - items:
[all …]
/kernel/linux/linux-5.10/arch/arm64/boot/dts/apm/
Dapm-merlin.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
8 /dts-v1/;
10 /include/ "apm-shadowcat.dtsi"
13 model = "APM X-Gene Merlin board";
14 compatible = "apm,merlin", "apm,xgene-shadowcat";
23 gpio-keys {
24 compatible = "gpio-keys";
28 linux,input-type = <0x1>;
29 interrupt-parent = <&sbgpio>;
35 compatible = "syscon";
[all …]
Dapm-mustang.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
8 /dts-v1/;
10 /include/ "apm-storm.dtsi"
13 model = "APM X-Gene Mustang board";
14 compatible = "apm,mustang", "apm,xgene-storm";
23 gpio-keys {
24 compatible = "gpio-keys";
28 linux,input-type = <0x1>;
29 interrupt-parent = <&sbgpio>;
35 compatible = "syscon";
[all …]
/kernel/linux/linux-6.6/arch/arm64/boot/dts/apm/
Dapm-merlin.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
8 /dts-v1/;
10 /include/ "apm-shadowcat.dtsi"
13 model = "APM X-Gene Merlin board";
14 compatible = "apm,merlin", "apm,xgene-shadowcat";
23 gpio-keys {
24 compatible = "gpio-keys";
28 linux,input-type = <0x1>;
29 interrupt-parent = <&sbgpio>;
35 compatible = "syscon";
[all …]
Dapm-mustang.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
8 /dts-v1/;
10 /include/ "apm-storm.dtsi"
13 model = "APM X-Gene Mustang board";
14 compatible = "apm,mustang", "apm,xgene-storm";
23 gpio-keys {
24 compatible = "gpio-keys";
28 linux,input-type = <0x1>;
29 interrupt-parent = <&sbgpio>;
35 compatible = "syscon";
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/arm/samsung/
Dpmu.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Krzysztof Kozlowski <krzk@kernel.org>
12 # Custom select to avoid matching all nodes with 'syscon'
18 - samsung,exynos3250-pmu
19 - samsung,exynos4210-pmu
20 - samsung,exynos4412-pmu
21 - samsung,exynos5250-pmu
22 - samsung,exynos5260-pmu
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/soc/samsung/
Dexynos-pmu.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/soc/samsung/exynos-pmu.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Krzysztof Kozlowski <krzk@kernel.org>
12 # Custom select to avoid matching all nodes with 'syscon'
18 - samsung,exynos3250-pmu
19 - samsung,exynos4210-pmu
20 - samsung,exynos4212-pmu
21 - samsung,exynos4412-pmu
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/crypto/
Dfsl,sec-v4.0-mon.yaml1 # SPDX-License-Identifier: GPL-2.0
2 # Copyright (C) 2008-2011 Freescale Semiconductor Inc.
4 ---
5 $id: http://devicetree.org/schemas/crypto/fsl,sec-v4.0-mon.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: Freescale Secure Non-Volatile Storage (SNVS)
11 - '"Horia Geantă" <horia.geanta@nxp.com>'
12 - Pankaj Gupta <pankaj.gupta@nxp.com>
13 - Gaurav Jain <gaurav.jain@nxp.com>
23 - items:
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/clock/
Dimx6q-clock.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/clock/imx6q-clock.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Anson Huang <Anson.Huang@nxp.com>
14 const: fsl,imx6q-ccm
24 - description: CCM interrupt request 1
25 - description: CCM interrupt request 2
27 '#clock-cells':
32 - description: 24m osc
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/clock/
Dimx6q-clock.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/clock/imx6q-clock.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Anson Huang <Anson.Huang@nxp.com>
14 const: fsl,imx6q-ccm
24 - description: CCM interrupt request 1
25 - description: CCM interrupt request 2
27 '#clock-cells':
32 - description: 24m osc
[all …]
/kernel/linux/linux-5.10/arch/mips/boot/dts/mti/
Dsead3.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
8 #include <dt-bindings/interrupt-controller/mips-gic.h>
11 #address-cells = <1>;
12 #size-cells = <1>;
13 compatible = "mti,sead-3";
14 model = "MIPS SEAD-3";
17 stdout-path = "serial1:115200";
36 cpu_intc: interrupt-controller {
37 compatible = "mti,cpu-interrupt-controller";
[all …]
/kernel/linux/linux-6.6/arch/mips/boot/dts/mti/
Dsead3.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
8 #include <dt-bindings/interrupt-controller/mips-gic.h>
11 #address-cells = <1>;
12 #size-cells = <1>;
13 compatible = "mti,sead-3";
14 model = "MIPS SEAD-3";
17 stdout-path = "serial1:115200";
36 cpu_intc: interrupt-controller {
37 compatible = "mti,cpu-interrupt-controller";
[all …]
/kernel/linux/linux-5.10/arch/arm/mach-u300/
Dregulator.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * arch/arm/mach-u300/regulator.c
5 * Copyright (C) 2009 ST-Ericsson AB
6 * Handle board-bound regulators and board power not related
18 #include <linux/mfd/syscon.h>
59 struct device_node *np = pdev->dev.of_node; in __u300_init_boardpower()
66 syscon_np = of_parse_phandle(np, "syscon", 0); in __u300_init_boardpower()
68 pr_crit("U300: no syscon node\n"); in __u300_init_boardpower()
69 return -ENODEV; in __u300_init_boardpower()
73 pr_crit("U300: could not locate syscon regmap\n"); in __u300_init_boardpower()
[all …]
/kernel/linux/linux-6.6/arch/arm/boot/dts/ti/davinci/
Dda850-lego-ev3.dts1 // SPDX-License-Identifier: GPL-2.0-only
8 /dts-v1/;
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/input/linux-event-codes.h>
11 #include <dt-bindings/pwm/pwm.h>
32 compatible = "gpio-keys";
34 pinctrl-names = "default";
35 pinctrl-0 = <&button_bias>;
75 * The EV3 has two built-in bi-color LEDs behind the buttons.
78 compatible = "gpio-leds";
[all …]

123