/linux-5.10/drivers/mmc/core/ |
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 (p->dev->of_node == 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 …]
|
D | pwrseq_simple.c | 1 // 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 …]
|
D | pwrseq_sd8787.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * pwrseq_sd8787.c - power sequence support for Marvell SD8787 BT + Wifi chip 22 #include <linux/mmc/host.h> 24 #include "pwrseq.h" 27 struct mmc_pwrseq pwrseq; member 32 #define to_pwrseq_sd8787(p) container_of(p, struct mmc_pwrseq_sd8787, pwrseq) 36 struct mmc_pwrseq_sd8787 *pwrseq = to_pwrseq_sd8787(host->pwrseq); in mmc_pwrseq_sd8787_pre_power_on() local 38 gpiod_set_value_cansleep(pwrseq->reset_gpio, 1); in mmc_pwrseq_sd8787_pre_power_on() 41 gpiod_set_value_cansleep(pwrseq->pwrdn_gpio, 1); in mmc_pwrseq_sd8787_pre_power_on() 46 struct mmc_pwrseq_sd8787 *pwrseq = to_pwrseq_sd8787(host->pwrseq); in mmc_pwrseq_sd8787_power_off() local [all …]
|
D | pwrseq_emmc.c | 1 // 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 …]
|
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" 42 Say Y here to enable the MMC block device driver support. 44 mount the filesystem. Almost everyone wishing MMC support 56 Number of total MMC minors available is 256, so your number 73 tristate "MMC host test driver"
|
/linux-5.10/drivers/staging/wfx/Documentation/devicetree/bindings/net/wireless/ |
D | silabs,wfx.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 7 $schema: http://devicetree.org/meta-schemas/core.yaml# 12 - Jérôme Pouiller <jerome.pouiller@silabs.com> 24 In addition, it is recommended to declare a mmc-pwrseq on SDIO host above 25 WFx. Without it, you may encounter issues with warm boot. The mmc-pwrseq 26 should be compatible with mmc-pwrseq-simple. Please consult 27 Documentation/devicetree/bindings/mmc/mmc-pwrseq-simple.yaml for more 33 Documentation/devicetree/bindings/spi/spi-controller.yaml for optional SPI 37 `mac-address` and `local-mac-address` as described in [all …]
|
/linux-5.10/arch/arm64/boot/dts/amlogic/ |
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> 12 #include "meson-gxl-s805x.dtsi" 15 compatible = "amlogic,p241", "amlogic,s805x", "amlogic,meson-gxl"; 25 stdout-path = "serial0:115200n8"; 28 cvbs-connector { 29 compatible = "composite-video-connector"; 33 remote-endpoint = <&cvbs_vdac_out>; 38 emmc_pwrseq: emmc-pwrseq { [all …]
|
D | meson-gxl-s905x-p212.dtsi | 1 // 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 …]
|
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" 19 compatible = "kingnovel,r-box-pro", "amlogic,s912", "amlogic,meson-gxm"; 20 model = "R-Box Pro"; 28 stdout-path = "serial0:115200n8"; 37 compatible = "gpio-leds"; 39 led-blue { [all …]
|
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 …]
|
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 …]
|
D | meson-gxbb-p20x.dtsi | 1 // 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 …]
|
D | meson-gxbb-vega-s95.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include "meson-gxbb.dtsi" 9 compatible = "tronsmart,vega-s95", "amlogic,meson-gxbb"; 17 stdout-path = "serial0:115200n8"; 21 compatible = "gpio-leds"; 23 led-blue { 24 label = "vega-s95:blue:on"; 26 default-state = "on"; 27 panic-indicator; 31 usb_pwr: regulator-usb-pwrs { [all …]
|
D | meson-gxbb-wetek.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 #include "meson-gxbb.dtsi" 17 stdout-path = "serial0:115200n8"; 26 compatible = "gpio-leds"; 28 led-system { 29 label = "wetek-play:system-status"; 31 default-state = "on"; 32 panic-indicator; 36 usb_pwr: regulator-usb-pwrs { 37 compatible = "regulator-fixed"; [all …]
|
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> 15 compatible = "nexbox,a95x", "amlogic,meson-gxbb"; 24 stdout-path = "serial0:115200n8"; 33 compatible = "gpio-leds"; 34 led-blue { 35 label = "a95x:system-status"; [all …]
|
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 …]
|
D | meson-gxm-khadas-vim2.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 /dts-v1/; 10 #include <dt-bindings/input/input.h> 12 #include "meson-gxm.dtsi" 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>; 35 io-channel-names = "buttons"; [all …]
|
D | meson-gxbb-nanopi-k2.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include "meson-gxbb.dtsi" 9 #include <dt-bindings/gpio/gpio.h> 12 compatible = "friendlyarm,nanopi-k2", "amlogic,meson-gxbb"; 21 stdout-path = "serial0:115200n8"; 30 compatible = "gpio-leds"; 32 led-stat { 33 label = "nanopi-k2:blue:stat"; 35 default-state = "on"; [all …]
|
/linux-5.10/Documentation/devicetree/bindings/mmc/ |
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 …]
|
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> 14 const: mmc-pwrseq-sd8787 16 powerdown-gpios: 21 reset-gpios: 27 - compatible 28 - powerdown-gpios [all …]
|
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 binding 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 …]
|
D | mmc-controller.yaml | 1 # 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 Generic Binding 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 …]
|
/linux-5.10/arch/arm/boot/dts/ |
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 …]
|
D | imx6ull-colibri-wifi.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 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 pinctrl-names = "default"; 28 pinctrl-0 = <&pinctrl_gpio1 &pinctrl_gpio2 &pinctrl_gpio3 [all …]
|
/linux-5.10/Documentation/devicetree/bindings/net/wireless/ |
D | marvell-8xxx.txt | 2 ------ 10 - compatible : should be one of the following: 19 - marvell,caldata* : A series of properties with marvell,caldata prefix, 21 initialization. This is an array of unsigned 8-bit values. 24 "marvell,caldata-txpwrlimit-2g" (length = 566). 25 "marvell,caldata-txpwrlimit-5g-sub0" (length = 502). 26 "marvell,caldata-txpwrlimit-5g-sub1" (length = 688). 27 "marvell,caldata-txpwrlimit-5g-sub2" (length = 750). 28 "marvell,caldata-txpwrlimit-5g-sub3" (length = 502). 29 - marvell,wakeup-pin : a wakeup pin number of wifi chip which will be configured [all …]
|