| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/mmc/ |
| 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 | fsl-esdhc.txt | 7 by mmc.txt and the properties used by the sdhci-esdhc driver. 10 - compatible : should be "fsl,esdhc", or "fsl,<chip>-esdhc". 12 "fsl,mpc8536-esdhc" 13 "fsl,mpc8378-esdhc" 14 "fsl,p2020-esdhc" 15 "fsl,p4080-esdhc" 16 "fsl,t1040-esdhc" 17 "fsl,t4240-esdhc" 19 "fsl,ls1012a-esdhc" 20 "fsl,ls1088a-esdhc" [all …]
|
| D | atmel-hsmci.txt | 7 by mmc.txt and the properties used by the atmel-mci driver. 12 - compatible: should be "atmel,hsmci" 13 - #address-cells: should be one. The cell is the slot id. 14 - #size-cells: should be zero. 15 - at least one slot node 16 - clock-names: tuple listing input clock names. 18 - clocks: phandles to input clocks. 28 #address-cells = <1>; 29 #size-cells = <0>; 30 clock-names = "mci_clk"; [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/mmc/ |
| 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# 10 - Ulf Hansson <ulf.hansson@linaro.org> 25 "#address-cells": 30 "#size-cells": 37 broken-cd: 42 cd-gpios: 46 non-removable: [all …]
|
| D | fsl-esdhc.txt | 7 by mmc.txt and the properties used by the sdhci-esdhc driver. 10 - compatible : should be "fsl,esdhc", or "fsl,<chip>-esdhc". 12 "fsl,mpc8536-esdhc" 13 "fsl,mpc8378-esdhc" 14 "fsl,p2020-esdhc" 15 "fsl,p4080-esdhc" 16 "fsl,t1040-esdhc" 17 "fsl,t4240-esdhc" 19 "fsl,ls1012a-esdhc" 20 "fsl,ls1028a-esdhc" [all …]
|
| D | atmel-hsmci.txt | 7 by mmc.txt and the properties used by the atmel-mci driver. 12 - compatible: should be "atmel,hsmci" 13 - #address-cells: should be one. The cell is the slot id. 14 - #size-cells: should be zero. 15 - at least one slot node 16 - clock-names: tuple listing input clock names. 18 - clocks: phandles to input clocks. 28 #address-cells = <1>; 29 #size-cells = <0>; 30 clock-names = "mci_clk"; [all …]
|
| /kernel/linux/linux-4.19/drivers/mmc/core/ |
| D | host.c | 5 * Copyright (C) 2007-2008 Pierre Ossman 27 #include <linux/mmc/slot-gpio.h> 31 #include "slot-gpio.h" 42 ida_simple_remove(&mmc_host_ida, host->index); in mmc_host_classdev_release() 63 host->can_retune = 1; in mmc_retune_enable() 64 if (host->retune_period) in mmc_retune_enable() 65 mod_timer(&host->retune_timer, in mmc_retune_enable() 66 jiffies + host->retune_period * HZ); in mmc_retune_enable() 70 * Pause re-tuning for a small set of operations. The pause begins after the 71 * next command and after first doing re-tuning. [all …]
|
| /kernel/linux/linux-4.19/arch/arm/boot/dts/ |
| D | omap5-sbc-t54.dts | 1 // SPDX-License-Identifier: GPL-2.0 3 * Suppport for CompuLab CM-T54 on SB-T54 baseboard 6 #include "omap5-cm-t54.dts" 9 model = "CompuLab CM-T54 on SB-T54"; 10 compatible = "compulab,omap5-sbc-t54", "compulab,omap5-cm-t54", "ti,omap5"; 15 pinctrl-single,pins = < 22 pinctrl-single,pins = < 30 pinctrl-names = "default"; 31 pinctrl-0 = < 35 cd-inverted; [all …]
|
| D | zynq-cc108.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * (C) Copyright 2007-2018 Xilinx, Inc. 6 * (C) Copyright 2007-2013 Michal Simek 7 * (C) Copyright 2007-2012 PetaLogix Qld Pty Ltd 11 /dts-v1/; 12 /include/ "zynq-7000.dtsi" 16 compatible = "xlnx,zynq-cc108", "xlnx,zynq-7000"; 25 stdout-path = "serial0:115200n8"; 34 compatible = "usb-nop-xceiv"; 35 #phy-cells = <0>; [all …]
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| D | omap5-sbc-t54.dts | 1 // SPDX-License-Identifier: GPL-2.0 3 * Suppport for CompuLab CM-T54 on SB-T54 baseboard 6 #include "omap5-cm-t54.dts" 9 model = "CompuLab CM-T54 on SB-T54"; 10 compatible = "compulab,omap5-sbc-t54", "compulab,omap5-cm-t54", "ti,omap5"; 15 pinctrl-single,pins = < 22 pinctrl-single,pins = < 30 pinctrl-names = "default"; 31 pinctrl-0 = < 35 cd-inverted; [all …]
|
| D | zynq-cc108.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * (C) Copyright 2007-2018 Xilinx, Inc. 6 * (C) Copyright 2007-2013 Michal Simek 7 * (C) Copyright 2007-2012 PetaLogix Qld Pty Ltd 11 /dts-v1/; 12 /include/ "zynq-7000.dtsi" 16 compatible = "xlnx,zynq-cc108", "xlnx,zynq-7000"; 25 stdout-path = "serial0:115200n8"; 34 compatible = "usb-nop-xceiv"; 35 #phy-cells = <0>; [all …]
|
| /kernel/linux/linux-5.10/drivers/mmc/host/ |
| D | sdhci-pltfm.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * sdhci-pltfm.c Support for SDHCI platform devices 16 * Inspired by sdhci-pci.c, by Pierre Ossman 26 #include "sdhci-pltfm.h" 32 return clk_get_rate(pltfm_host->clk); in sdhci_pltfm_clk_get_max_clock() 45 if (device_property_present(dev, "sdhci,wp-inverted") || in sdhci_wp_inverted() 46 device_property_present(dev, "wp-inverted")) in sdhci_wp_inverted() 49 /* Old device trees don't have the wp-inverted property. */ in sdhci_wp_inverted() 61 struct device_node *np = pdev->dev.of_node; in sdhci_get_compatibility() 66 if (of_device_is_compatible(np, "fsl,p2020-rev1-esdhc")) in sdhci_get_compatibility() [all …]
|
| /kernel/linux/linux-4.19/drivers/mmc/host/ |
| D | sdhci-pltfm.c | 2 * sdhci-pltfm.c Support for SDHCI platform devices 28 * Inspired by sdhci-pci.c, by Pierre Ossman 37 #include "sdhci-pltfm.h" 43 return clk_get_rate(pltfm_host->clk); in sdhci_pltfm_clk_get_max_clock() 57 if (of_get_property(np, "sdhci,wp-inverted", NULL) || in sdhci_of_wp_inverted() 58 of_get_property(np, "wp-inverted", NULL)) in sdhci_of_wp_inverted() 61 /* Old device trees don't have the wp-inverted property. */ in sdhci_of_wp_inverted() 71 struct device_node *np = pdev->dev.of_node; in sdhci_get_of_property() 76 if (of_get_property(np, "sdhci,auto-cmd12", NULL)) in sdhci_get_of_property() 77 host->quirks |= SDHCI_QUIRK_MULTIBLOCK_READ_ACMD12; in sdhci_get_of_property() [all …]
|
| /kernel/linux/linux-4.19/arch/arm64/boot/dts/amlogic/ |
| 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 …]
|
| 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. 18 stdout-path = "serial0:115200n8"; 26 hdmi_5v: regulator-hdmi-5v { 27 compatible = "regulator-fixed"; 29 regulator-name = "HDMI_5V"; 30 regulator-min-microvolt = <5000000>; 31 regulator-max-microvolt = <5000000>; 34 enable-active-high; 35 regulator-always-on; [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"; 40 label = "rbox-pro:blue:on"; [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" 23 stdout-path = "serial0:115200n8"; 31 hdmi_5v: regulator-hdmi-5v { 32 compatible = "regulator-fixed"; 34 regulator-name = "HDMI_5V"; 35 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 …]
|
| D | meson-gxm-nexbox-a1.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 10 /dts-v1/; 12 #include "meson-gxm.dtsi" 15 compatible = "nexbox,a1", "amlogic,s912", "amlogic,meson-gxm"; 24 stdout-path = "serial0:115200n8"; 32 vddio_boot: regulator-vddio-boot { 33 compatible = "regulator-fixed"; 34 regulator-name = "VDDIO_BOOT"; 35 regulator-min-microvolt = <1800000>; 36 regulator-max-microvolt = <1800000>; [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"; 29 label = "wetek-play:system-status"; 31 default-state = "on"; 32 panic-indicator; 36 usb_pwr: regulator-usb-pwrs { 37 compatible = "regulator-fixed"; 39 regulator-name = "USB_PWR"; [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-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"; 35 label = "a95x:system-status"; 37 linux,default-trigger = "heartbeat"; [all …]
|
| /kernel/linux/linux-4.19/arch/arm64/boot/dts/marvell/ |
| D | armada-3720-espressobin.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 * Romain Perier <romain.perier@free-electrons.com> 10 …* Schematic available at http://espressobin.net/wp-content/uploads/2017/08/ESPRESSObin_V5_Schemati… 13 /dts-v1/; 15 #include <dt-bindings/gpio/gpio.h> 16 #include "armada-372x.dtsi" 29 stdout-path = "serial0:115200n8"; 38 compatible = "regulator-gpio"; 39 regulator-name = "vcc_sd1"; 40 regulator-min-microvolt = <1800000>; [all …]
|
| /kernel/linux/linux-5.10/drivers/mmc/core/ |
| D | host.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Copyright (C) 2007-2008 Pierre Ossman 25 #include <linux/mmc/slot-gpio.h> 29 #include "slot-gpio.h" 46 if (!host->bus_ops) in mmc_host_class_prepare() 50 if (host->bus_ops->pre_suspend) in mmc_host_class_prepare() 51 return host->bus_ops->pre_suspend(host); in mmc_host_class_prepare() 76 wakeup_source_unregister(host->ws); in mmc_host_classdev_release() 77 if (of_alias_get_id(host->parent->of_node, "mmc") < 0) in mmc_host_classdev_release() 78 ida_simple_remove(&mmc_host_ida, host->index); in mmc_host_classdev_release() [all …]
|