Home
last modified time | relevance | path

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

12345

/openbmc/linux/Documentation/devicetree/bindings/power/reset/
H A Dregulator-poweroff.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/power/reset/regulator-poweroff.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Force-disable power regulator to turn the power off.
10 - Michael Klein <michael@fossekall.de>
13 When the power-off handler is called, a power regulator is disabled by
19 const: regulator-poweroff
21 cpu-supply:
23 regulator to disable on power-down
[all …]
/openbmc/linux/drivers/power/reset/
H A Dregulator-poweroff.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Force-disables a regulator to power down a device
9 * Based on the gpio-poweroff driver.
16 #include <linux/regulator/consumer.h>
24 static struct regulator *cpu_regulator;
41 dev_err(&pdev->dev, in regulator_poweroff_probe()
44 return -EBUSY; in regulator_poweroff_probe()
47 cpu_regulator = devm_regulator_get(&pdev->dev, "cpu"); in regulator_poweroff_probe()
64 { .compatible = "regulator-poweroff", },
73 .name = "poweroff-regulator",
[all …]
H A 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 …]
H A 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 …]
/openbmc/u-boot/arch/arm/dts/
H A Ddra71-evm.dts2 * Copyright (C) 2016 Texas Instruments Incorporated - http://www.ti.com/
9 #include "dra72-evm-common.dtsi"
10 #include "dra72x-mmc-iodelay.dtsi"
11 #include <dt-bindings/net/ti-dp83867.h>
14 compatible = "ti,dra718-evm", "ti,dra718", "ti,dra722", "ti,dra72", "ti,dra7";
22 vpo_sd_1v8_3v3: gpio-regulator-TPS74801 {
23 compatible = "regulator-gpio";
25 regulator-name = "vddshv8";
26 regulator-min-microvolt = <1800000>;
27 regulator-max-microvolt = <3000000>;
[all …]
H A Dkirkwood-netxbig.dtsi1 // SPDX-License-Identifier: GPL-2.0
9 * Based on netxbig_v2-setup.c,
14 #include <dt-bindings/leds/leds-netxbig.h>
16 #include "kirkwood-6281.dtsi"
21 stdout-path = &uart0;
33 #address-cells = <1>;
34 #size-cells = <1>;
35 compatible = "mxicy,mx25l4005a", "jedec,spi-nor", "spi-flash";
37 spi-max-frequency = <20000000>;
42 label = "u-boot";
[all …]
/openbmc/linux/arch/arm/boot/dts/amlogic/
H A Dmeson8b-ec100.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/input/input.h>
22 stdout-path = "serial0:115200n8";
30 emmc_pwrseq: emmc-pwrseq {
31 compatible = "mmc-pwrseq-emmc";
32 reset-gpios = <&gpio BOOT_9 GPIO_ACTIVE_LOW>;
35 gpio-keys {
36 compatible = "gpio-keys-polled";
[all …]
/openbmc/linux/arch/arm/boot/dts/marvell/
H A Dkirkwood-netgear_readynas_duo_v2.dts1 // SPDX-License-Identifier: GPL-2.0+
8 /dts-v1/;
11 #include "kirkwood-6282.dtsi"
15 …compatible = "netgear,readynas-duo-v2", "netgear,readynas", "marvell,kirkwood-88f6282", "marvell,k…
24 stdout-path = &uart0;
28 pinctrl: pin-controller@10000 {
29 pmx_button_power: pmx-button-power {
34 pmx_button_backup: pmx-button-backup {
39 pmx_button_reset: pmx-button-reset {
44 pmx_led_blue_power: pmx-led-blue-power {
[all …]
H A Dkirkwood-netgear_readynas_nv+_v2.dts1 // SPDX-License-Identifier: GPL-2.0+
8 /dts-v1/;
11 #include "kirkwood-6282.dtsi"
15 …compatible = "netgear,readynas-nv+-v2", "netgear,readynas", "marvell,kirkwood-88f6282", "marvell,k…
24 stdout-path = &uart0;
28 pinctrl: pin-controller@10000 {
29 pmx_button_power: pmx-button-power {
34 pmx_button_backup: pmx-button-backup {
39 pmx_button_reset: pmx-button-reset {
44 pmx_led_blue_power: pmx-led-blue-power {
[all …]
H A Dkirkwood-netxbig.dtsi1 // SPDX-License-Identifier: GPL-2.0
9 * Based on netxbig_v2-setup.c,
14 #include <dt-bindings/leds/leds-netxbig.h>
16 #include "kirkwood-6281.dtsi"
21 stdout-path = &uart0;
33 #address-cells = <1>;
34 #size-cells = <1>;
35 compatible = "mxicy,mx25l4005a", "jedec,spi-nor";
37 spi-max-frequency = <20000000>;
42 label = "u-boot";
[all …]
H A Darmada-385-synology-ds116.dts1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
8 /dts-v1/;
9 #include "armada-385.dtsi"
10 #include <dt-bindings/gpio/gpio.h>
14 compatible = "marvell,a385-gp", "marvell,armada385", "marvell,armada380";
17 stdout-path = "serial0:115200n8";
32 internal-regs {
34 pinctrl-names = "default";
35 pinctrl-0 = <&i2c0_pins>;
37 clock-frequency = <100000>;
[all …]
H A Dkirkwood-linkstation.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
12 stdout-path = &uart0;
16 pinctrl: pin-controller@10000 {
17 pmx_power_hdd0: pmx-power-hdd0 {
20 pmx_usb_vbus: pmx-usb-vbus {
23 pmx_led_alarm: pmx-led-alarm {
26 pmx_led_function_red: pmx-led-function-red {
29 pmx_led_function_blue: pmx-led-function-blue {
32 pmx_led_info: pmx-led-info {
35 pmx_led_power: pmx-led-power {
[all …]
/openbmc/linux/arch/arm/boot/dts/ti/omap/
H A Ddra71-evm.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2016 Texas Instruments Incorporated - https://www.ti.com/
7 #include "dra7-mmc-iodelay.dtsi"
8 #include "dra72x-mmc-iodelay.dtsi"
9 #include <dt-bindings/net/ti-dp83867.h>
12 compatible = "ti,dra718-evm", "ti,dra718", "ti,dra722", "ti,dra72", "ti,dra7";
20 reserved-memory {
21 #address-cells = <2>;
22 #size-cells = <2>;
25 ipu2_memory_region: ipu2-memory@95800000 {
[all …]
H A Dmotorola-mapphone-common.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
2 /dts-v1/;
4 #include <dt-bindings/input/input.h>
6 #include "motorola-cpcap-mapphone.dtsi"
10 stdout-path = &uart3;
19 * We seem to have only 1021 MB accessible, 1021 - 1022 is locked,
20 * then 1023 - 1024 seems to contain mbm.
27 /* Poweroff GPIO probably connected to CPCAP */
28 gpio-poweroff {
29 compatible = "gpio-poweroff";
[all …]
/openbmc/linux/arch/arm/boot/dts/intel/pxa/
H A Dpxa300-raumfeld-common.dtsi1 // SPDX-License-Identifier: GPL-2.0
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.h>
6 #include <dt-bindings/interrupt-controller/irq.h>
10 hw-revision = <0>;
14 stdout-path = &ffuart;
22 reg_3v3: regulator-3v3 {
23 compatible = "regulator-fixed";
24 regulator-name = "3v3-fixed-supply";
25 regulator-min-microvolt = <3300000>;
[all …]
/openbmc/linux/arch/riscv/boot/dts/sifive/
H A Dhifive-unmatched-a00.dts1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
4 #include "fu740-c000.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/interrupt-controller/irq.h>
7 #include <dt-bindings/leds/common.h>
8 #include <dt-bindings/pwm/pwm.h>
15 compatible = "sifive,hifive-unmatched-a00", "sifive,fu740-c000",
19 stdout-path = "serial0";
23 timebase-frequency = <RTCCLK_FREQ>;
32 #clock-cells = <0>;
[all …]
/openbmc/openbmc/meta-phosphor/recipes-phosphor/power/
H A Dphosphor-power-systemd-links-regulators.bb1 SUMMARY = "Phosphor Power Regulator services installation"
2 LICENSE = "Apache-2.0"
3 LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacd…
8 RDEPENDS:${PN} += "phosphor-power-regulators"
11 …LINK="$D$systemd_system_unitdir/obmc-chassis-poweron@${i}.target.requires/phosphor-regulators-conf…
14 …LINK="$D$systemd_system_unitdir/obmc-chassis-poweron@${i}.target.wants/phosphor-regulators-monitor
17 …LINK="$D$systemd_system_unitdir/obmc-chassis-poweroff@${i}.target.wants/phosphor-regulators-monito…
21 mkdir -p $D$systemd_system_unitdir/obmc-chassis-poweron@0.target.requires
22 …LINK="$D$systemd_system_unitdir/obmc-chassis-poweron@0.target.requires/phosphor-regulators-config.…
23 TARGET="../phosphor-regulators-config.service"
[all …]
/openbmc/linux/arch/arm/boot/dts/nxp/imx/
H A Dimx6qdl-udoo.dtsi1 // SPDX-License-Identifier: GPL-2.0
8 #include <dt-bindings/gpio/gpio.h>
19 stdout-path = &uart2;
23 compatible = "gpio-backlight";
25 default-on;
29 gpio-poweroff {
30 compatible = "gpio-poweroff";
32 pinctrl-0 = <&pinctrl_power_off>;
33 pinctrl-names = "default";
43 * in reality it is a -20t (parallel) model,
[all …]
H A Dimx6dl-b1x5pv2.dtsi1 // SPDX-License-Identifier: GPL-2.0 OR MIT
6 // Copyright 2018-2021 General Electric Company
7 // Copyright 2018-2021 Collabora
9 #include <dt-bindings/input/input.h>
10 #include "imx6dl-qmx6.dtsi"
14 stdout-path = &uart3;
20 operating-points = <
25 fsl,soc-operating-points = <
26 /* ARM kHz SOC-PU uV */
33 operating-points = <
[all …]
/openbmc/linux/arch/arm/boot/dts/allwinner/
H A Dsun8i-h2-plus-bananapi-m2-zero.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
5 * Based on sun8i-h3-bananapi-m2-plus.dts, which is:
6 * Copyright (C) 2016 Chen-Yu Tsai <wens@csie.org>
9 /dts-v1/;
10 #include "sun8i-h3.dtsi"
11 #include "sunxi-common-regulators.dtsi"
13 #include <dt-bindings/gpio/gpio.h>
14 #include <dt-bindings/input/input.h>
17 model = "Banana Pi BPI-M2-Zero";
18 compatible = "sinovoip,bpi-m2-zero", "allwinner,sun8i-h2-plus";
[all …]
/openbmc/linux/Documentation/devicetree/bindings/mfd/
H A Dmt6397.txt4 - Regulator
5 - RTC
6 - Audio codec
7 - GPIO
8 - Clock
9 - LED
10 - Keys
11 - Power controller
32 - rtc
34 - compatible: "mediatek,mt6323-rtc"
[all …]
/openbmc/linux/Documentation/driver-api/gpio/
H A Ddrivers-on-gpio.rst6 the right in-kernel and userspace APIs/ABIs for the job, and that these
10 - leds-gpio: drivers/leds/leds-gpio.c will handle LEDs connected to GPIO
13 - ledtrig-gpio: drivers/leds/trigger/ledtrig-gpio.c will provide a LED trigger,
15 (and that LED may in turn use the leds-gpio as per above).
17 - gpio-keys: drivers/input/keyboard/gpio_keys.c is used when your GPIO line
20 - gpio-keys-polled: drivers/input/keyboard/gpio_keys_polled.c is used when your
24 - gpio_mouse: drivers/input/mouse/gpio_mouse.c is used to provide a mouse with
29 - gpio-beeper: drivers/input/misc/gpio-beeper.c is used to provide a beep from
32 - extcon-gpio: drivers/extcon/extcon-gpio.c is used when you need to read an
36 - restart-gpio: drivers/power/reset/gpio-restart.c is used to restart/reboot
[all …]
/openbmc/linux/drivers/gpu/drm/panel/
H A Dpanel-sharp-lq101r1sx01.c1 // SPDX-License-Identifier: GPL-2.0-only
10 #include <linux/regulator/consumer.h>
21 /* the datasheet refers to them as DSI-LINK1 and DSI-LINK2 */
25 struct regulator *supply;
40 unsigned int refresh = drm_mode_vrefresh(sharp->mode); in sharp_wait_frames()
51 struct mipi_dsi_device *dsi = sharp->link1; in sharp_panel_write()
56 dev_err(&dsi->dev, "failed to write %02x to %04x: %zd\n", in sharp_panel_write()
63 dev_err(&dsi->dev, "failed to send DCS nop: %zd\n", err); in sharp_panel_write()
79 err = mipi_dsi_generic_read(sharp->link1, &offset, sizeof(offset), in sharp_panel_read()
82 dev_err(&sharp->link1->dev, "failed to read from %04x: %zd\n", in sharp_panel_read()
[all …]
/openbmc/linux/arch/arm/boot/dts/ti/davinci/
H A 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 …]
/openbmc/linux/arch/arm/boot/dts/nvidia/
H A Dtegra20-trimslice.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
4 #include <dt-bindings/input/input.h>
6 #include "tegra20-cpu-opp.dtsi"
19 stdout-path = "serial0:115200n8";
30 vdd-supply = <&hdmi_vdd_reg>;
31 pll-supply = <&hdmi_pll_reg>;
33 nvidia,ddc-i2c-bus = <&hdmi_ddc>;
34 nvidia,hpd-gpio = <&gpio TEGRA_GPIO(N, 7)
40 pinctrl-names = "default";
[all …]

12345