Home
last modified time | relevance | path

Searched +full:pwrseq +full:- +full:simple (Results 1 – 25 of 271) sorted by relevance

1234567891011

/openbmc/linux/drivers/mmc/core/
H A Dpwrseq_simple.c1 // SPDX-License-Identifier: GPL-2.0-only
7 * Simple MMC power sequence management
23 #include "pwrseq.h"
26 struct mmc_pwrseq pwrseq; member
34 #define to_pwrseq_simple(p) container_of(p, struct mmc_pwrseq_simple, pwrseq)
36 static void mmc_pwrseq_simple_set_gpios_value(struct mmc_pwrseq_simple *pwrseq, in mmc_pwrseq_simple_set_gpios_value() argument
39 struct gpio_descs *reset_gpios = pwrseq->reset_gpios; in mmc_pwrseq_simple_set_gpios_value()
43 int nvalues = reset_gpios->ndescs; in mmc_pwrseq_simple_set_gpios_value()
54 gpiod_set_array_value_cansleep(nvalues, reset_gpios->desc, in mmc_pwrseq_simple_set_gpios_value()
55 reset_gpios->info, values); in mmc_pwrseq_simple_set_gpios_value()
[all …]
H A Dpwrseq_emmc.c1 // SPDX-License-Identifier: GPL-2.0-only
7 * Simple eMMC hardware reset provider
22 #include "pwrseq.h"
25 struct mmc_pwrseq pwrseq; member
30 #define to_pwrseq_emmc(p) container_of(p, struct mmc_pwrseq_emmc, pwrseq)
34 struct mmc_pwrseq_emmc *pwrseq = to_pwrseq_emmc(host->pwrseq); in mmc_pwrseq_emmc_reset() local
36 gpiod_set_value_cansleep(pwrseq->reset_gpio, 1); in mmc_pwrseq_emmc_reset()
38 gpiod_set_value_cansleep(pwrseq->reset_gpio, 0); in mmc_pwrseq_emmc_reset()
45 struct mmc_pwrseq_emmc *pwrseq = container_of(this, in mmc_pwrseq_emmc_reset_nb() local
47 gpiod_set_value(pwrseq->reset_gpio, 1); in mmc_pwrseq_emmc_reset_nb()
[all …]
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
10 This selects Hardware reset support aka pwrseq-emmc for eMMC
27 tristate "Simple HW reset support for MMC"
31 This selects simple hardware reset support aka pwrseq-simple for MMC
/openbmc/linux/Documentation/devicetree/bindings/mmc/
H A Dmmc-pwrseq-simple.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/mmc/mmc-pwrseq-simple.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Simple MMC power sequence provider
10 - Ulf Hansson <ulf.hansson@linaro.org>
13 The purpose of the simple MMC power sequence provider is to supports a set
19 const: mmc-pwrseq-simple
21 reset-gpios:
28 They will be de-asserted right after the power has been provided to the
[all …]
H A Dmmc-pwrseq-emmc.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/mmc/mmc-pwrseq-emmc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Simple eMMC hardware reset provider
10 - Ulf Hansson <ulf.hansson@linaro.org>
25 const: mmc-pwrseq-emmc
27 reset-gpios:
36 - compatible
37 - reset-gpios
[all …]
/openbmc/linux/Documentation/devicetree/bindings/net/wireless/
H A Dsilabs,wfx.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 ---
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
11 - Jérôme Pouiller <jerome.pouiller@silabs.com>
16 https://www.silabs.com/documents/public/data-sheets/wf200-datasheet.pdf
25 It is recommended to declare a mmc-pwrseq on SDIO host above WFx. Without
26 it, you may encounter issues during reboot. The mmc-pwrseq should be
27 compatible with mmc-pwrseq-simple. Please consult
28 Documentation/devicetree/bindings/mmc/mmc-pwrseq-simple.yaml for more
34 - enum:
[all …]
/openbmc/linux/arch/riscv/boot/dts/allwinner/
H A Dsun20i-d1-lichee-rv-dock.dts1 // SPDX-License-Identifier: (GPL-2.0+ or MIT)
5 #include <dt-bindings/input/input.h>
7 #include "sun20i-d1-lichee-rv.dts"
11 compatible = "sipeed,lichee-rv-dock", "sipeed,lichee-rv",
12 "allwinner,sun20i-d1";
18 dmic_codec: dmic-codec {
19 compatible = "dmic-codec";
20 num-channels = <2>;
21 #sound-dai-cells = <0>;
24 dmic-sound {
[all …]
H A Dsun20i-d1-lichee-rv-86-panel.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ or MIT)
4 #include "sun20i-d1-lichee-rv.dts"
12 dmic_codec: dmic-codec {
13 compatible = "dmic-codec";
14 num-channels = <2>;
15 #sound-dai-cells = <0>;
18 dmic-sound {
19 compatible = "simple-audio-card";
20 simple-audio-card,name = "DMIC";
21 #address-cells = <1>;
[all …]
/openbmc/linux/arch/arm64/boot/dts/rockchip/
H A Drk3399-sapphire-excavator.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
7 #include "rk3399-sapphire.dtsi"
10 model = "Excavator-RK3399 Board";
11 compatible = "rockchip,rk3399-sapphire-excavator", "rockchip,rk3399";
17 adc-keys {
18 compatible = "adc-keys";
19 io-channels = <&saradc 1>;
20 io-channel-names = "buttons";
21 keyup-threshold-microvolt = <1800000>;
[all …]
H A Drk3318-a95x-z2.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 /dts-v1/;
4 #include <dt-bindings/input/input.h>
9 compatible = "zkmagic,a95x-z2", "rockchip,rk3318";
18 stdout-path = "serial2:1500000n8";
21 adc-keys {
22 compatible = "adc-keys";
23 io-channels = <&saradc 0>;
24 io-channel-names = "buttons";
25 keyup-threshold-microvolt = <1800000>;
[all …]
H A Drk3326-odroid-go2-v11.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
8 /dts-v1/;
9 #include "rk3326-odroid-go.dtsi"
12 model = "ODROID-GO Advance Black Edition";
13 compatible = "hardkernel,rk3326-odroid-go2-v11", "rockchip,rk3326";
19 analog_sticks: adc-joystick {
20 compatible = "adc-joystick";
21 io-channels = <&saradc 1>,
23 poll-interval = <60>;
24 #address-cells = <1>;
[all …]
/openbmc/linux/arch/arm64/boot/dts/allwinner/
H A Dsun50i-h6-tanix.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
4 /dts-v1/;
6 #include "sun50i-h6.dtsi"
7 #include "sun50i-h6-cpu-opp.dtsi"
9 #include <dt-bindings/gpio/gpio.h>
17 stdout-path = "serial0:115200n8";
21 compatible = "hdmi-connector";
22 ddc-en-gpios = <&pio 7 2 GPIO_ACTIVE_HIGH>; /* PH2 */
27 remote-endpoint = <&hdmi_out_con>;
34 compatible = "i2c-gpio";
[all …]
H A Dsun50i-a64-pinephone-1.2.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
4 /dts-v1/;
6 #include "sun50i-a64-pinephone.dtsi"
10 compatible = "pine64,pinephone-1.2", "pine64,pinephone", "allwinner,sun50i-a64";
12 wifi_pwrseq: wifi-pwrseq {
13 compatible = "mmc-pwrseq-simple";
14 reset-gpios = <&r_pio 0 2 GPIO_ACTIVE_LOW>; /* PL2 */
19 power-supply = <&reg_ldo_io0>;
27 brightness-levels = <
34 num-interpolated-steps = <50>;
[all …]
/openbmc/linux/arch/arm64/boot/dts/amlogic/
H A Dmeson-gxl-s805x-p241.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
8 /dts-v1/;
10 #include <dt-bindings/input/input.h>
11 #include <dt-bindings/sound/meson-aiu.h>
13 #include "meson-gxl-s805x.dtsi"
16 compatible = "amlogic,p241", "amlogic,s805x", "amlogic,meson-gxl";
25 au2: analog-amplifier {
26 compatible = "simple-audio-amplifier";
27 sound-name-prefix = "AU2";
28 VCC-supply = <&vcc_5v>;
[all …]
H A Dmeson-gx-p23x-q20x.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
8 * the pin-compatible S912 (GXM) or S905D (GXL) SoCs.
11 #include <dt-bindings/sound/meson-aiu.h>
19 dio2133: analog-amplifier {
20 compatible = "simple-audio-amplifier";
21 sound-name-prefix = "AU2";
22 VCC-supply = <&hdmi_5v>;
23 enable-gpios = <&gpio GPIOH_5 GPIO_ACTIVE_HIGH>;
26 spdif_dit: audio-codec-0 {
27 #sound-dai-cells = <0>;
[all …]
H A Dmeson-gxl-s905x-hwacom-amazetv.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
8 /dts-v1/;
10 #include "meson-gxl-s905x.dtsi"
13 compatible = "hwacom,amazetv", "amlogic,s905x", "amlogic,meson-gxl";
22 stdout-path = "serial0:115200n8";
30 vddio_card: gpio-regulator {
31 compatible = "regulator-gpio";
33 regulator-name = "VDDIO_CARD";
34 regulator-min-microvolt = <1800000>;
35 regulator-max-microvolt = <3300000>;
[all …]
H A Dmeson-gxl-s905x-p212.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
4 * Based on meson-gx-p23x-q20x.dtsi:
5 * - Copyright (c) 2016 Endless Computers, Inc.
7 * - Copyright (c) 2016 BayLibre, SAS.
13 #include "meson-gxl-s905x.dtsi"
22 stdout-path = "serial0:115200n8";
30 hdmi_5v: regulator-hdmi-5v {
31 compatible = "regulator-fixed";
33 regulator-name = "HDMI_5V";
34 regulator-min-microvolt = <5000000>;
[all …]
H A Dmeson-gxl-s905x-nexbox-a95x.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
8 /dts-v1/;
10 #include "meson-gxl-s905x.dtsi"
13 compatible = "nexbox,a95x", "amlogic,s905x", "amlogic,meson-gxl";
22 stdout-path = "serial0:115200n8";
30 vddio_card: gpio-regulator {
31 compatible = "regulator-gpio";
33 regulator-name = "VDDIO_CARD";
34 regulator-min-microvolt = <1800000>;
35 regulator-max-microvolt = <3300000>;
[all …]
/openbmc/linux/arch/arm/boot/dts/broadcom/
H A Dbcm283x-rpi-wifi-bt.dtsi1 // SPDX-License-Identifier: GPL-2.0
4 wifi_pwrseq: wifi-pwrseq {
5 compatible = "mmc-pwrseq-simple";
11 #address-cells = <1>;
12 #size-cells = <0>;
13 pinctrl-names = "default";
14 pinctrl-0 = <&emmc_gpio34>;
15 bus-width = <4>;
16 non-removable;
17 mmc-pwrseq = <&wifi_pwrseq>;
[all …]
/openbmc/linux/arch/arm64/boot/dts/ti/
H A Dk3-am62-verdin-wifi.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
7 * https://www.toradex.com/computer-on-modules/verdin-arm-family/ti-am62
11 wifi_pwrseq: wifi-pwrseq {
12 compatible = "mmc-pwrseq-simple";
13 pinctrl-names = "default";
14 pinctrl-0 = <&pinctrl_wifi_en>;
15 reset-gpios = <&main_gpio0 22 GPIO_ACTIVE_LOW>;
19 /* On-module Wi-Fi */
21 pinctrl-names = "default";
22 pinctrl-0 = <&pinctrl_sdhci2>;
[all …]
/openbmc/u-boot/arch/arm/dts/
H A Dimx6q-cm-fx6.dts6 * This file is dual-licensed: you can use it either under the terms
44 /dts-v1/;
45 #include <dt-bindings/gpio/gpio.h>
49 model = "CompuLab CM-FX6";
50 compatible = "compulab,cm-fx6", "fsl,imx6q";
57 compatible = "gpio-leds";
59 heartbeat-led {
62 linux,default-trigger = "heartbeat";
66 awnh387_pwrseq: pwrseq {
67 pinctrl-names = "default";
[all …]
H A Dmeson-gxl-s905x-p212.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
4 * Based on meson-gx-p23x-q20x.dtsi:
5 * - Copyright (c) 2016 Endless Computers, Inc.
7 * - Copyright (c) 2016 BayLibre, SAS.
13 #include "meson-gxl-s905x.dtsi"
23 stdout-path = "serial0:115200n8";
31 hdmi_5v: regulator-hdmi-5v {
32 compatible = "regulator-fixed";
34 regulator-name = "HDMI_5V";
35 regulator-min-microvolt = <5000000>;
[all …]
/openbmc/linux/arch/arm/boot/dts/rockchip/
H A Drk3288-rock2-square.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 /dts-v1/;
4 #include <dt-bindings/input/input.h>
5 #include "rk3288-rock2-som.dtsi"
9 compatible = "radxa,rock2-square", "rockchip,rk3288";
12 stdout-path = "serial2:115200n8";
15 adc-keys {
16 compatible = "adc-keys";
17 io-channels = <&saradc 1>;
18 io-channel-names = "buttons";
[all …]
H A Drk3036-kylin.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 /dts-v1/;
9 compatible = "rockchip,rk3036-kylin", "rockchip,rk3036";
16 leds: gpio-leds {
17 compatible = "gpio-leds";
19 work_led: led-0 {
22 pinctrl-names = "default";
23 pinctrl-0 = <&led_ctl>;
27 sdio_pwrseq: sdio-pwrseq {
28 compatible = "mmc-pwrseq-simple";
[all …]
/openbmc/linux/arch/arm/boot/dts/nxp/imx/
H A Dimx6ull-colibri-wifi.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 * Copyright 2018-2022 Toradex
6 #include "imx6ull-colibri.dtsi"
14 wifi_pwrseq: sdio-pwrseq {
15 compatible = "mmc-pwrseq-simple";
16 pinctrl-names = "default";
17 pinctrl-0 = <&pinctrl_snvs_wifi_pdn>;
18 reset-gpios = <&gpio5 11 GPIO_ACTIVE_LOW>;
23 clock-frequency = <792000000>;
27 gpio-line-names = "SODIMM_8",
[all …]

1234567891011