Home
last modified time | relevance | path

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

12345678910>>...14

/OK3568_Linux_fs/kernel/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 (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 …]
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_sd8787.c1 // 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 …]
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 …]
/OK3568_Linux_fs/kernel/drivers/staging/wfx/Documentation/devicetree/bindings/net/wireless/
H A Dsilabs,wfx.yaml1 # 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 …]
/OK3568_Linux_fs/kernel/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>
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 …]
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-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"
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 …]
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-gxbb-vega-s95.dtsi1 // 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 …]
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>
18 stdout-path = "serial0:115200n8";
27 compatible = "gpio-leds";
29 led-system {
30 label = "wetek-play:system-status";
32 default-state = "on";
33 panic-indicator;
37 usb_pwr: regulator-usb-pwrs {
[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>
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 …]
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 …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/mmc/
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-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 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 …]
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 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 …]
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>
14 const: mmc-pwrseq-sd8787
16 powerdown-gpios:
21 reset-gpios:
27 - compatible
28 - powerdown-gpios
[all …]
/OK3568_Linux_fs/kernel/arch/arm/boot/dts/
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 …]
H A Drv1106g-evb1-v10-dual-cam.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
9 #include "rv1106-evb-v10.dtsi"
10 #include "rv1106-evb-dual-cam.dtsi"
14 compatible = "rockchip,rv1106g-evb1-v10-dual-cam", "rockchip,rv1106";
16 sdio_pwrseq: sdio-pwrseq {
17 compatible = "mmc-pwrseq-simple";
18 pinctrl-names = "default";
19 pinctrl-0 = <&wifi_enable_h &wifi_vbat>;
24 * - SDIO_RESET_L_WL_REG_ON
[all …]
H A Drv1106g-evb1-v10.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
9 #include "rv1106-evb-v10.dtsi"
10 #include "rv1106-evb-cam.dtsi"
14 compatible = "rockchip,rv1106g-evb1-v10", "rockchip,rv1106";
16 sdio_pwrseq: sdio-pwrseq {
17 compatible = "mmc-pwrseq-simple";
18 pinctrl-names = "default";
19 pinctrl-0 = <&wifi_enable_h &wifi_vbat>;
24 * - SDIO_RESET_L_WL_REG_ON
[all …]
H A Drk3229-at-gva.dts4 * This file is dual-licensed: you can use it either under the terms
43 /dts-v1/;
45 #include "rk3229-at-som.dtsi"
49 compatible = "rockchip,rk3229-at-gva", "rockchip,rk3229";
51 sdio_pwrseq: sdio-pwrseq {
52 compatible = "mmc-pwrseq-simple";
54 clock-names = "ext_clock";
55 pinctrl-names = "default";
56 pinctrl-0 = <&wifi_enable_h>;
61 * - SDIO_RESET_L_WL_REG_ON
[all …]
/OK3568_Linux_fs/kernel/arch/arm64/boot/dts/rockchip/
H A Drk3528-demo4-ddr4-v10.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7 /dts-v1/;
10 #include "rk3528-demo.dtsi"
14 compatible = "rockchip,rk3528-demo4-ddr4-v10", "rockchip,rk3528";
16 sdio_pwrseq: sdio-pwrseq {
17 compatible = "mmc-pwrseq-simple";
18 pinctrl-names = "default";
19 pinctrl-0 = <&wifi_enable_h &wifi_reset>;
20 reset-gpios = <&gpio3 RK_PB2 GPIO_ACTIVE_LOW>;
23 wireless_bluetooth: wireless-bluetooth {
[all …]
H A Drk3528-demo1-lp4-v10.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7 /dts-v1/;
10 #include "rk3528-demo.dtsi"
14 compatible = "rockchip,rk3528-demo1-lp4-v10", "rockchip,rk3528";
16 sdio_pwrseq: sdio-pwrseq {
17 compatible = "mmc-pwrseq-simple";
18 pinctrl-names = "default";
19 pinctrl-0 = <&wifi_enable_h &wifi_reset &clkm0_32k_out>;
20 reset-gpios = <&gpio3 RK_PB2 GPIO_ACTIVE_LOW>;
23 wireless_bluetooth: wireless-bluetooth {
[all …]

12345678910>>...14