/linux/drivers/mmc/core/ |
H A D | pwrseq.c | 1 // 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 D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 # MMC core configuration 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 38 tristate "MMC block device driver" 44 Say Y here to enable the MMC block device driver support. 46 mount the filesystem. Almost everyone wishing MMC support 58 Number of total MMC minors available is 256, so your number 75 tristate "MMC host test driver" [all …]
|
/linux/Documentation/devicetree/bindings/net/wireless/ |
H A D | silabs,wfx.yaml | 1 # 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 …]
|
/linux/Documentation/devicetree/bindings/mmc/ |
H A D | mmc-pwrseq-sd8787.yaml | 1 # 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 D | mmc-pwrseq-emmc.yaml | 1 # 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 D | mmc-pwrseq-simple.yaml | 1 # 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 …]
|
/linux/arch/arm64/boot/dts/amlogic/ |
H A D | meson-gxl-s805x-p241.dts | 1 // 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 D | meson-gxl-s905x-nexbox-a95x.dts | 1 // 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 D | meson-gxl-s905x-hwacom-amazetv.dts | 1 // 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 D | meson-gxl-s905w-jethome-jethub-j80.dts | 1 // 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 D | meson-gxm-rbox-pro.dts | 1 // 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 D | meson-gxbb-wetek.dtsi | 1 // 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 D | meson-gx-p23x-q20x.dtsi | 1 // 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 D | meson-sm1-ac2xx.dtsi | 1 // 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 D | meson-gxbb-nexbox-a95x.dts | 1 // 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 D | meson-gxbb-vega-s95.dtsi | 1 // 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"; 24 sound-name-prefix = "DIT"; 28 compatible = "gpio-leds"; [all …]
|
H A D | meson-axg-jethome-jethub-j1xx.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 10 /dts-v1/; 12 #include "meson-axg.dtsi" 13 #include <dt-bindings/input/input.h> 14 #include <dt-bindings/thermal/thermal.h> 24 stdout-path = "serial0:115200n8"; 27 reserved-memory { 33 emmc_pwrseq: emmc-pwrseq { 34 compatible = "mmc-pwrseq-emmc"; 35 reset-gpios = <&gpio BOOT_9 GPIO_ACTIVE_LOW>; [all …]
|
H A D | meson-g12b-bananapi-cm4.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include "meson-g12b-a311d.dtsi" 7 #include <dt-bindings/gpio/meson-g12a-gpio.h> 16 stdout-path = "serial0:115200n8"; 19 emmc_pwrseq: emmc-pwrseq { 20 compatible = "mmc-pwrseq-emmc"; 21 reset-gpios = <&gpio BOOT_12 GPIO_ACTIVE_LOW>; 29 sdio_pwrseq: sdio-pwrseq { 30 compatible = "mmc-pwrseq-simple"; 31 reset-gpios = <&gpio GPIOAO_6 GPIO_ACTIVE_LOW>; [all …]
|
H A D | meson-g12a-radxa-zero.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include "meson-g12a.dtsi" 9 #include <dt-bindings/gpio/meson-g12a-gpio.h> 10 #include <dt-bindings/sound/meson-g12a-tohdmitx.h> 21 stdout-path = "serial0:115200n8"; 29 cvbs-connector { 31 compatible = "composite-video-connector"; 35 remote-endpoint = <&cvbs_vdac_out>; 40 hdmi-connector { [all …]
|
H A D | meson-gxm-khadas-vim2.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 /dts-v1/; 10 #include "meson-gxm.dtsi" 11 #include <dt-bindings/input/input.h> 12 #include <dt-bindings/sound/meson-aiu.h> 15 compatible = "khadas,vim2", "amlogic,s912", "amlogic,meson-gxm"; 24 stdout-path = "serial0:115200n8"; 32 adc-keys { 33 compatible = "adc-keys"; 34 io-channels = <&saradc 0>; [all …]
|
/linux/arch/arm/boot/dts/allwinner/ |
H A D | sun7i-a20-olinuxino-lime-emmc.dts | 1 // 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 = <®_vcc3v3>; 21 vqmmc-supply = <®_vcc3v3>; 22 bus-width = <4>; [all …]
|
H A D | sun7i-a20-olimex-som-evb-emmc.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Device Tree Source for A20-Olimex-SOM-EVB-eMMC Board 9 /dts-v1/; 10 #include "sun7i-a20-olimex-som-evb.dts" 14 model = "Olimex A20-Olimex-SOM-EVB-eMMC"; 15 compatible = "olimex,a20-olimex-som-evb-emmc", "allwinner,sun7i-a20"; 17 mmc2_pwrseq: pwrseq { 18 compatible = "mmc-pwrseq-emmc"; 19 reset-gpios = <&pio 2 18 GPIO_ACTIVE_LOW>; 24 vmmc-supply = <®_vcc3v3>; [all …]
|
H A D | sun7i-a20-olimex-som204-evb-emmc.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Device Tree Source for A20-SOM204-EVB-eMMC Board 9 /dts-v1/; 10 #include "sun7i-a20-olimex-som204-evb.dts" 13 model = "Olimex A20-SOM204-EVB-eMMC"; 14 compatible = "olimex,a20-olimex-som204-evb-emmc", "allwinner,sun7i-a20"; 16 mmc2_pwrseq: pwrseq-1 { 17 compatible = "mmc-pwrseq-emmc"; 18 reset-gpios = <&pio 2 16 GPIO_ACTIVE_LOW>; 23 vmmc-supply = <®_vcc3v3>; [all …]
|
/linux/arch/arm64/boot/dts/rockchip/ |
H A D | rk3566-radxa-zero-3w.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 /dts-v1/; 5 #include "rk3566-radxa-zero-3.dtsi" 9 compatible = "radxa,zero-3w", "rockchip,rk3566"; 17 sdio_pwrseq: sdio-pwrseq { 18 compatible = "mmc-pwrseq-simple"; 20 clock-names = "ext_clock"; 21 pinctrl-names = "default"; 22 pinctrl-0 = <&wifi_reg_on_h>; 23 post-power-on-delay-ms = <100>; [all …]
|
/linux/arch/arm/boot/dts/broadcom/ |
H A D | bcm283x-rpi-wifi-bt.dtsi | 1 // 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 …]
|