| /kernel/linux/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 …]
|
| /kernel/linux/linux-6.6/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 (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 …]
|
| 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 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 …]
|
| 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_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 …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/mmc/ |
| 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 …]
|
| 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-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 …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/net/wireless/ |
| 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 …]
|
| /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/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 …]
|
| /kernel/linux/linux-6.6/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> 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 …]
|
| 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-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 …]
|
| /kernel/linux/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 …]
|