Home
last modified time | relevance | path

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

12345678910>>...13

/openbmc/linux/drivers/mmc/core/
H A Dpwrseq.c1 // SPDX-License-Identifier: GPL-2.0-only
7 * MMC power sequence management
14 #include <linux/mmc/host.h>
16 #include "pwrseq.h"
26 np = of_parse_phandle(host->parent->of_node, "mmc-pwrseq", 0); in mmc_pwrseq_alloc()
32 if (device_match_of_node(p->dev, np)) { in mmc_pwrseq_alloc()
33 if (!try_module_get(p->owner)) in mmc_pwrseq_alloc()
34 dev_err(host->parent, in mmc_pwrseq_alloc()
37 host->pwrseq = p; in mmc_pwrseq_alloc()
46 if (!host->pwrseq) in mmc_pwrseq_alloc()
[all …]
H A Dpwrseq_sd8787.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * pwrseq_sd8787.c - power sequence support for Marvell SD8787 BT + Wifi chip
23 #include <linux/mmc/host.h>
25 #include "pwrseq.h"
28 struct mmc_pwrseq pwrseq; member
33 #define to_pwrseq_sd8787(p) container_of(p, struct mmc_pwrseq_sd8787, pwrseq)
37 struct mmc_pwrseq_sd8787 *pwrseq = to_pwrseq_sd8787(host->pwrseq); in mmc_pwrseq_sd8787_pre_power_on() local
39 gpiod_set_value_cansleep(pwrseq->reset_gpio, 1); in mmc_pwrseq_sd8787_pre_power_on()
42 gpiod_set_value_cansleep(pwrseq->pwrdn_gpio, 1); in mmc_pwrseq_sd8787_pre_power_on()
47 struct mmc_pwrseq_sd8787 *pwrseq = to_pwrseq_sd8787(host->pwrseq); in mmc_pwrseq_sd8787_power_off() local
[all …]
H A Dpwrseq_simple.c1 // SPDX-License-Identifier: GPL-2.0-only
7 * Simple MMC power sequence management
21 #include <linux/mmc/host.h>
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()
[all …]
H A Dpwrseq_emmc.c1 // SPDX-License-Identifier: GPL-2.0-only
20 #include <linux/mmc/host.h>
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 …]
/openbmc/linux/Documentation/devicetree/bindings/mmc/
H A Dmmc-pwrseq-sd8787.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/mmc/mmc-pwrseq-sd8787.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Ulf Hansson <ulf.hansson@linaro.org>
15 - mmc-pwrseq-sd8787
16 - mmc-pwrseq-wilc1000
18 powerdown-gpios:
23 reset-gpios:
29 - compatible
[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#
10 - Ulf Hansson <ulf.hansson@linaro.org>
15 performed just after MMC core enabled power to the given mmc host (to
25 const: mmc-pwrseq-emmc
27 reset-gpios:
36 - compatible
37 - reset-gpios
[all …]
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-controller.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/mmc/mmc-controller.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: MMC Controller Common Properties
10 - Ulf Hansson <ulf.hansson@linaro.org>
13 These properties are common to multiple MMC host controllers. Any host
17 It is possible to assign a fixed index mmcN to an MMC host controller
23 pattern: "^mmc(@.*)?$"
25 "#address-cells":
[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 …]
H A Dmarvell-8xxx.txt2 ------
10 - compatible : should be one of the following:
21 - marvell,caldata* : A series of properties with marvell,caldata prefix,
23 initialization. This is an array of unsigned 8-bit values.
26 "marvell,caldata-txpwrlimit-2g" (length = 566).
27 "marvell,caldata-txpwrlimit-5g-sub0" (length = 502).
28 "marvell,caldata-txpwrlimit-5g-sub1" (length = 688).
29 "marvell,caldata-txpwrlimit-5g-sub2" (length = 750).
30 "marvell,caldata-txpwrlimit-5g-sub3" (length = 502).
31 - marvell,wakeup-pin : a wakeup pin number of wifi chip which will be configured
[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-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 …]
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-gxbb-p20x.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
8 #include "meson-gxbb.dtsi"
17 stdout-path = "serial0:115200n8";
25 usb_pwr: regulator-usb-pwrs {
26 compatible = "regulator-fixed";
28 regulator-name = "USB_PWR";
30 regulator-min-microvolt = <5000000>;
31 regulator-max-microvolt = <5000000>;
35 enable-active-high;
38 vddio_card: gpio-regulator {
[all …]
H A Dmeson-gxl-s905w-jethome-jethub-j80.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
10 /dts-v1/;
12 #include "meson-gxl.dtsi"
15 compatible = "jethome,jethub-j80", "amlogic,s905w", "amlogic,meson-gxl";
22 reserved-memory {
37 stdout-path = "serial0:115200n8";
40 vddio_ao18: regulator-vddio_ao18 {
41 compatible = "regulator-fixed";
42 regulator-name = "VDDIO_AO18";
43 regulator-min-microvolt = <1800000>;
[all …]
H A Dmeson-gxm-rbox-pro.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Copyright (c) 2016-2017 Andreas Färber
5 * Based on nexbox-a1:
14 /dts-v1/;
16 #include "meson-gxm.dtsi"
17 #include <dt-bindings/sound/meson-aiu.h>
20 compatible = "kingnovel,r-box-pro", "amlogic,s912", "amlogic,meson-gxm";
21 model = "R-Box Pro";
29 stdout-path = "serial0:115200n8";
37 spdif_dit: audio-codec-0 {
[all …]
H A Dmeson-gxbb-wetek.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
8 #include "meson-gxbb.dtsi"
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/leds/common.h>
19 stdout-path = "serial0:115200n8";
28 compatible = "gpio-leds";
30 led-power {
31 /* red in suspend or power-off */
35 default-state = "on";
36 panic-indicator;
[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-sm1-ac2xx.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
11 #include "meson-sm1.dtsi"
12 #include <dt-bindings/gpio/gpio.h>
13 #include <dt-bindings/gpio/meson-g12a-gpio.h>
14 #include <dt-bindings/input/input.h>
23 stdout-path = "serial0:115200n8";
26 emmc_pwrseq: emmc-pwrseq {
27 compatible = "mmc-pwrseq-emmc";
28 reset-gpios = <&gpio BOOT_12 GPIO_ACTIVE_LOW>;
31 cvbs-connector {
[all …]
H A Dmeson-gxbb-nexbox-a95x.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
8 /dts-v1/;
10 #include "meson-gxbb.dtsi"
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/input/input.h>
13 #include <dt-bindings/sound/meson-aiu.h>
16 compatible = "nexbox,a95x", "amlogic,meson-gxbb";
25 stdout-path = "serial0:115200n8";
34 compatible = "gpio-leds";
35 led-blue {
[all …]
H A Dmeson-gxbb-vega-s95.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 #include "meson-gxbb.dtsi"
7 #include <dt-bindings/sound/meson-aiu.h>
10 compatible = "tronsmart,vega-s95", "amlogic,meson-gxbb";
18 stdout-path = "serial0:115200n8";
21 spdif_dit: audio-codec-0 {
22 #sound-dai-cells = <0>;
23 compatible = "linux,spdif-dit";
25 sound-name-prefix = "DIT";
29 compatible = "gpio-leds";
[all …]
/openbmc/u-boot/arch/arm/dts/
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/allwinner/
H A Dsun7i-a20-olinuxino-lime-emmc.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7 #include "sun7i-a20-olinuxino-lime.dts"
10 model = "Olimex A20-OLinuXino-LIME-eMMC";
11 compatible = "olimex,a20-olinuxino-lime-emmc", "allwinner,sun7i-a20";
13 mmc2_pwrseq: pwrseq {
14 compatible = "mmc-pwrseq-emmc";
15 reset-gpios = <&pio 2 16 GPIO_ACTIVE_LOW>;
20 vmmc-supply = <&reg_vcc3v3>;
21 vqmmc-supply = <&reg_vcc3v3>;
22 bus-width = <4>;
[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 …]

12345678910>>...13