| /kernel/linux/linux-5.10/drivers/mmc/core/ |
| D | pwrseq_simple.c | 1 // 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 …]
|
| D | pwrseq_emmc.c | 1 // 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 …]
|
| D | Kconfig | 1 # 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
|
| /kernel/linux/linux-4.19/drivers/mmc/core/ |
| D | pwrseq_simple.c | 8 * Simple MMC power sequence management 24 #include "pwrseq.h" 27 struct mmc_pwrseq pwrseq; member 35 #define to_pwrseq_simple(p) container_of(p, struct mmc_pwrseq_simple, pwrseq) 37 static void mmc_pwrseq_simple_set_gpios_value(struct mmc_pwrseq_simple *pwrseq, in mmc_pwrseq_simple_set_gpios_value() argument 40 struct gpio_descs *reset_gpios = pwrseq->reset_gpios; in mmc_pwrseq_simple_set_gpios_value() 44 int nvalues = reset_gpios->ndescs; in mmc_pwrseq_simple_set_gpios_value() 53 gpiod_set_array_value_cansleep(nvalues, reset_gpios->desc, values); in mmc_pwrseq_simple_set_gpios_value() 60 struct mmc_pwrseq_simple *pwrseq = to_pwrseq_simple(host->pwrseq); in mmc_pwrseq_simple_pre_power_on() local 62 if (!IS_ERR(pwrseq->ext_clk) && !pwrseq->clk_enabled) { in mmc_pwrseq_simple_pre_power_on() [all …]
|
| D | pwrseq_emmc.c | 8 * Simple eMMC hardware reset provider 23 #include "pwrseq.h" 26 struct mmc_pwrseq pwrseq; member 31 #define to_pwrseq_emmc(p) container_of(p, struct mmc_pwrseq_emmc, pwrseq) 35 struct mmc_pwrseq_emmc *pwrseq = to_pwrseq_emmc(host->pwrseq); in mmc_pwrseq_emmc_reset() local 37 gpiod_set_value_cansleep(pwrseq->reset_gpio, 1); in mmc_pwrseq_emmc_reset() 39 gpiod_set_value_cansleep(pwrseq->reset_gpio, 0); in mmc_pwrseq_emmc_reset() 46 struct mmc_pwrseq_emmc *pwrseq = container_of(this, in mmc_pwrseq_emmc_reset_nb() local 48 gpiod_set_value(pwrseq->reset_gpio, 1); in mmc_pwrseq_emmc_reset_nb() 50 gpiod_set_value(pwrseq->reset_gpio, 0); in mmc_pwrseq_emmc_reset_nb() [all …]
|
| D | Kconfig | 9 This selects Hardware reset support aka pwrseq-emmc for eMMC 26 tristate "Simple HW reset support for MMC" 30 This selects simple hardware reset support aka pwrseq-simple for MMC
|
| /kernel/linux/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 …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/mmc/ |
| 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-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# 7 title: Simple eMMC hardware reset provider binding 10 - Ulf Hansson <ulf.hansson@linaro.org> 25 const: mmc-pwrseq-emmc 27 reset-gpios: 36 - compatible 37 - reset-gpios [all …]
|
| /kernel/linux/linux-4.19/arch/arm64/boot/dts/rockchip/ |
| D | rk3399-sapphire-excavator.dts | 1 // 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"; 13 adc-keys { 14 compatible = "adc-keys"; 15 io-channels = <&saradc 1>; 16 io-channel-names = "buttons"; 17 keyup-threshold-microvolt = <1800000>; [all …]
|
| /kernel/linux/linux-5.10/arch/arm64/boot/dts/rockchip/ |
| D | rk3399-sapphire-excavator.dts | 1 // 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"; 13 adc-keys { 14 compatible = "adc-keys"; 15 io-channels = <&saradc 1>; 16 io-channel-names = "buttons"; 17 keyup-threshold-microvolt = <1800000>; [all …]
|
| D | rk3318-a95x-z2.dts | 1 // 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"; 12 stdout-path = "serial2:1500000n8"; 15 adc-keys { 16 compatible = "adc-keys"; 17 io-channels = <&saradc 0>; 18 io-channel-names = "buttons"; 19 keyup-threshold-microvolt = <1800000>; [all …]
|
| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/mmc/ |
| D | mmc-pwrseq-simple.txt | 1 * The simple MMC power sequence provider 3 The purpose of the simple MMC power sequence provider is to supports a set of 8 - compatible : contains "mmc-pwrseq-simple". 11 - reset-gpios : contains a list of GPIO specifiers. The reset GPIOs are asserted 13 They will be de-asserted right after the power has been provided to the 15 - clocks : Must contain an entry for the entry in clock-names. 16 See ../clocks/clock-bindings.txt for details. 17 - clock-names : Must include the following entry: 19 - post-power-on-delay-ms : Delay in ms after powering the card and 20 de-asserting the reset-gpios (if any) [all …]
|
| D | mmc.txt | 6 - reg: Registers location and length. 7 - interrupts: Interrupts used by the MMC controller. 12 - broken-cd: There is no card detection available; polling must be used. 13 - cd-gpios: Specify GPIOs for card detection, see gpio binding 14 - non-removable: non-removable slot (like eMMC); assume always present. 17 - bus-width: Number of data lines, can be <1>, <4>, or <8>. The default 19 - wp-gpios: Specify GPIOs for write protection, see gpio binding 20 - cd-inverted: when present, polarity on the CD line is inverted. See the note 22 - cd-debounce-delay-ms: Set delay time before detecting card after card insert interrupt. 23 It's only valid when cd-gpios is present. [all …]
|
| D | mmc-pwrseq-emmc.txt | 1 * The simple eMMC hardware reset provider 14 - compatible : contains "mmc-pwrseq-emmc". 15 - reset-gpios : contains a GPIO specifier. The reset GPIO is asserted 23 compatible = "mmc-pwrseq-emmc"; 24 reset-gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
|
| /kernel/linux/linux-4.19/arch/arm/boot/dts/ |
| 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 …]
|
| D | s5pv210-galaxys.dts | 1 // SPDX-License-Identifier: GPL-2.0 3 /dts-v1/; 4 #include <dt-bindings/gpio/gpio.h> 5 #include <dt-bindings/input/input.h> 6 #include "s5pv210-aries.dtsi" 9 model = "Samsung Galaxy S1 (GT-I9000) based on S5PV210"; 13 stdout-path = &uart2; 17 * Let's hardocde bootargs for now, till u-boot port is finished, 23 nand_pwrseq: nand-pwrseq { 24 compatible = "mmc-pwrseq-simple"; [all …]
|
| D | bcm2837-rpi-3-b.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include "bcm2835-rpi.dtsi" 5 #include "bcm283x-rpi-smsc9514.dtsi" 6 #include "bcm283x-rpi-usb-host.dtsi" 9 compatible = "raspberrypi,3-model-b", "brcm,bcm2837"; 14 stdout-path = "serial1:115200n8"; 27 wifi_pwrseq: wifi-pwrseq { 28 compatible = "mmc-pwrseq-simple"; 29 reset-gpios = <&expgpio 1 GPIO_ACTIVE_LOW>; [all …]
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| 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 …]
|
| /kernel/linux/linux-5.10/arch/arm64/boot/dts/amlogic/ |
| 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-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-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 …]
|
| /kernel/linux/linux-4.19/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-s905x.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-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-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"; 24 label = "vega-s95:blue:on"; 26 default-state = "on"; 27 panic-indicator; 31 usb_vbus: regulator-usb0-vbus { 32 compatible = "regulator-fixed"; [all …]
|