/linux/Documentation/devicetree/bindings/mmc/ |
H A D | sdhci-st.txt | 1 * STMicroelectronics sdhci-st MMC/SD controller 5 used by the sdhci-st driver. 8 - compatible: Must be "st,sdhci" and it can be compatible to "st,sdhci-stih407" 13 - clock-names: Should be "mmc" and "icn". (NB: The latter is not compulsory) 14 See: Documentation/devicetree/bindings/resource-names.txt 15 - clocks: Phandle to the clock. 16 See: Documentation/devicetree/bindings/clock/clock-bindings.txt 18 - interrupts: One mmc interrupt should be described here. 19 - interrupt-names: Should be "mmcirq". 21 - pinctrl-names: A pinctrl state names "default" must be defined. [all …]
|
H A D | sdhci-am654.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 # Copyright (C) 2020 Texas Instruments Incorporated - http://www.ti.com/ 4 --- 5 $id: http://devicetree.org/schemas/mmc/sdhci-am654.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Ulf Hansson <ulf.hansson@linaro.org> 14 - $ref: sdhci-common.yaml# 19 - enum: 20 - ti,am62-sdhci 21 - ti,am64-sdhci-4bit [all …]
|
H A D | brcm,sdhci-brcmstb.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/mmc/brcm,sdhci-brcmstb.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Al Cooper <alcooperx@gmail.com> 11 - Florian Fainelli <f.fainelli@gmail.com> 16 - items: 17 - enum: 18 - brcm,bcm7216-sdhci 19 - const: brcm,bcm7445-sdhci [all …]
|
/linux/arch/arm/boot/dts/st/ |
H A D | stih410-b2120.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 6 /dts-v1/; 8 #include "stihxxx-b2120.dtsi" 11 compatible = "st,stih410-b2120", "st,stih410"; 14 stdout-path = &sbc_serial0; 38 max-frequency = <200000000>; 39 sd-uhs-sdr50; 40 sd-uhs-sdr104; 41 sd-uhs-ddr50; 60 sti-display-subsystem@0 { [all …]
|
H A D | stih418-b2199.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 6 /dts-v1/; 8 #include <dt-bindings/gpio/gpio.h> 11 compatible = "st,stih418-b2199", "st,stih418"; 14 stdout-path = &sbc_serial0; 28 compatible = "gpio-leds"; 29 led-red { 32 linux,default-trigger = "heartbeat"; 34 led-green { 36 default-state = "off"; [all …]
|
H A D | stm32mp157c-ed1.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 3 * Copyright (C) STMicroelectronics 2017 - All Rights Reserved 6 /dts-v1/; 10 #include "stm32mp15-pinctrl.dtsi" 11 #include "stm32mp15xxaa-pinctrl.dtsi" 12 #include <dt-bindings/gpio/gpio.h> 13 #include <dt-bindings/leds/common.h> 14 #include <dt-bindings/mfd/st,stpmic1.h> 18 compatible = "st,stm32mp157c-ed1", "st,stm32mp157"; 25 stdout-path = "serial0:115200n8"; [all …]
|
/linux/arch/arm64/boot/dts/broadcom/ |
H A D | bcm2712-rpi-5-b.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 2 /dts-v1/; 4 #include <dt-bindings/gpio/gpio.h> 8 compatible = "raspberrypi,5-model-b", "brcm,bcm2712"; 16 stdout-path = "serial10:115200n8"; 25 sd_io_1v8_reg: sd-io-1v8-reg { 26 compatible = "regulator-gpio"; 27 regulator-name = "vdd-sd-io"; 28 regulator-min-microvolt = <1800000>; 29 regulator-max-microvolt = <3300000>; [all …]
|
/linux/drivers/mmc/core/ |
H A D | host.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Copyright (C) 2007-2008 Pierre Ossman 23 #include <linux/mmc/slot-gpio.h> 28 #include "slot-gpio.h" 45 if (!host->bus_ops) in mmc_host_class_prepare() 49 if (host->bus_ops->pre_suspend) in mmc_host_class_prepare() 50 return host->bus_ops->pre_suspend(host); in mmc_host_class_prepare() 75 wakeup_source_unregister(host->ws); in mmc_host_classdev_release() 76 if (of_alias_get_id(host->parent->of_node, "mmc") < 0) in mmc_host_classdev_release() 77 ida_free(&mmc_host_ida, host->index); in mmc_host_classdev_release() [all …]
|
H A D | debugfs.c | 1 // SPDX-License-Identifier: GPL-2.0-only 14 #include <linux/fault-inject.h> 20 #include <linux/mmc/sd.h> 58 struct mmc_host *host = s->private; in mmc_ios_show() 59 struct mmc_ios *ios = &host->ios; in mmc_ios_show() 62 seq_printf(s, "clock:\t\t%u Hz\n", ios->clock); in mmc_ios_show() 63 if (host->actual_clock) in mmc_ios_show() 64 seq_printf(s, "actual clock:\t%u Hz\n", host->actual_clock); in mmc_ios_show() 65 seq_printf(s, "vdd:\t\t%u ", ios->vdd); in mmc_ios_show() 66 if ((1 << ios->vdd) & MMC_VDD_165_195) in mmc_ios_show() [all …]
|
H A D | bus.c | 1 // SPDX-License-Identifier: GPL-2.0-only 36 switch (card->type) { in type_show() 40 return sysfs_emit(buf, "SD\n"); in type_show() 46 return -EFAULT; in type_show() 65 switch (card->type) { in mmc_bus_uevent() 70 type = "SD"; in mmc_bus_uevent() 90 card->cis.vendor, card->cis.device); in mmc_bus_uevent() 95 card->major_rev, card->minor_rev); in mmc_bus_uevent() 99 for (i = 0; i < card->num_info; i++) { in mmc_bus_uevent() 100 retval = add_uevent_var(env, "SDIO_INFO%u=%s", i+1, card->info[i]); in mmc_bus_uevent() [all …]
|
H A D | sd.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * linux/drivers/mmc/core/sd.c 5 * Copyright (C) 2003-2004 Russell King, All Rights Reserved. 6 * SD support Copyright (C) 2004 Ian Molton, All Rights Reserved. 7 * Copyright (C) 2005-2007 Pierre Ossman, All Rights Reserved. 23 #include <linux/mmc/sd.h> 31 #include "sd.h" 73 u32 *resp = card->raw_cid; in mmc_decode_cid() 79 add_device_randomness(&card->raw_cid, sizeof(card->raw_cid)); in mmc_decode_cid() 82 * SD doesn't currently have a version field so we will in mmc_decode_cid() [all …]
|
/linux/arch/arm64/boot/dts/amlogic/ |
H A D | meson-gxl-s905x-libretech-cc-v2.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/leds/common.h> 11 #include <dt-bindings/sound/meson-aiu.h> 13 #include "meson-gxl-s905x.dtsi" 16 compatible = "libretech,aml-s905x-cc-v2", "amlogic,s905x", 17 "amlogic,meson-gxl"; 18 model = "Libre Computer AML-S905X-CC V2"; 27 stdout-path = "serial0:115200n8"; [all …]
|
H A D | meson-gx-libretech-pc.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 7 /* Libretech Amlogic GX PC form factor - AKA: Tartiflette */ 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/leds/common.h> 11 #include <dt-bindings/sound/meson-aiu.h> 14 adc-keys { 15 compatible = "adc-keys"; 16 io-channels = <&saradc 0>; 17 io-channel-names = "buttons"; 18 keyup-threshold-microvolt = <1800000>; [all …]
|
H A D | meson-gxbb-odroidc2.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/sound/meson-aiu.h> 15 compatible = "hardkernel,odroid-c2", "amlogic,meson-gxbb"; 16 model = "Hardkernel ODROID-C2"; 24 stdout-path = "serial0:115200n8"; 32 usb_otg_pwr: regulator-usb-pwrs { 33 compatible = "regulator-fixed"; [all …]
|
H A 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> 10 #include <dt-bindings/sound/meson-aiu.h> 13 compatible = "friendlyarm,nanopi-k2", "amlogic,meson-gxbb"; 22 stdout-path = "serial0:115200n8"; 31 compatible = "gpio-leds"; 33 led-stat { 34 label = "nanopi-k2:blue:stat"; [all …]
|
/linux/arch/arm64/boot/dts/amd/ |
H A D | elba.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 * Copyright 2020-2022 Advanced Micro Devices, Inc. 6 #include <dt-bindings/gpio/gpio.h> 7 #include "dt-bindings/interrupt-controller/arm-gic.h" 11 compatible = "amd,pensando-elba"; 12 interrupt-parent = <&gic>; 13 #address-cells = <2>; 14 #size-cells = <2>; 16 dma-coherent; 19 compatible = "fixed-clock"; [all …]
|
/linux/arch/arm/boot/dts/nxp/imx/ |
H A D | imx6qdl-skov-cpu.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/leds/common.h> 10 stdout-path = &uart2; 19 mdio-gpio0 = &mdio; 28 iio-hwmon { 29 compatible = "iio-hwmon"; 30 io-channels = <&adc 0>, /* 24V */ 35 compatible = "gpio-leds"; 37 led-0 { [all …]
|
/linux/arch/arm64/boot/dts/xilinx/ |
H A D | zynqmp-sck-kv-g-revB.dtso | 1 // SPDX-License-Identifier: GPL-2.0 5 * (C) Copyright 2020 - 2022, Xilinx, Inc. 6 * (C) Copyright 2022 - 2023, Advanced Micro Devices, Inc. 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/net/ti-dp83867.h> 13 #include <dt-bindings/phy/phy.h> 14 #include <dt-bindings/pinctrl/pinctrl-zynqmp.h> 16 /dts-v1/; 20 compatible = "xlnx,zynqmp-sk-kv260-rev2", 21 "xlnx,zynqmp-sk-kv260-rev1", [all …]
|
/linux/include/linux/mmc/ |
H A D | card.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 121 u8 raw_sectors[4]; /* 212 - 4 bytes */ 185 #define SD_SET_CURRENT_NO_CHANGE (-1) 306 #define MMC_TYPE_SD 1 /* SD card */ 308 #define MMC_TYPE_SD_COMBO 3 /* SD combo (IO+mem) card */ 313 #define MMC_QUIRK_BLKSZ_FOR_BYTE_MODE (1<<1) /* use func->cur_blksize */ 315 #define MMC_QUIRK_NONSTD_SDIO (1<<2) /* non-standard SDIO card attached */ 328 #define MMC_QUIRK_BROKEN_SD_DISCARD (1<<14) /* Disable broken SD discard support */ 329 #define MMC_QUIRK_BROKEN_SD_CACHE (1<<15) /* Disable broken SD cache support */ 331 #define MMC_QUIRK_BROKEN_SD_POWEROFF_NOTIFY (1<<17) /* Disable broken SD poweroff notify support */ [all …]
|
/linux/arch/arm64/boot/dts/rockchip/ |
H A D | rk3588-jaguar.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/input/input.h> 9 #include <dt-bindings/leds/common.h> 10 #include <dt-bindings/pinctrl/rockchip.h> 11 #include <dt-bindings/soc/rockchip,vop2.h> 12 #include <dt-bindings/usb/pd.h> 16 model = "Theobroma Systems RK3588-SBC Jaguar"; 17 compatible = "tsd,rk3588-jaguar", "rockchip,rk3588"; [all …]
|
/linux/arch/arm/boot/dts/samsung/ |
H A D | exynos5420-arndale-octa.dts | 1 // SPDX-License-Identifier: GPL-2.0 9 /dts-v1/; 11 #include "exynos5420-cpus.dtsi" 12 #include <dt-bindings/gpio/gpio.h> 13 #include <dt-bindings/interrupt-controller/irq.h> 14 #include <dt-bindings/input/input.h> 15 #include <dt-bindings/clock/samsung,s2mps11.h> 19 compatible = "insignal,arndale-octa", "samsung,exynos5420", "samsung,exynos5"; 32 stdout-path = "serial3:115200n8"; 36 compatible = "samsung,secure-firmware"; [all …]
|
H A D | exynos5422-odroid-core.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 * Hardkernel Odroid XU3/XU3-Lite/XU4/HC1 boards core device tree source 6 * Copyright (c) 2013-2017 Samsung Electronics Co., Ltd. 10 #include <dt-bindings/clock/samsung,s2mps11.h> 11 #include <dt-bindings/interrupt-controller/irq.h> 12 #include <dt-bindings/gpio/gpio.h> 14 #include "exynos5422-cpus.dtsi" 27 stdout-path = "serial2:115200n8"; 31 compatible = "samsung,secure-firmware"; 35 fixed-rate-clocks { [all …]
|
/linux/arch/powerpc/boot/dts/ |
H A D | fsp2.dts | 12 /dts-v1/; 15 #address-cells = <2>; 16 #size-cells = <1>; 19 dcr-parent = <&{/cpus/cpu@0}>; 28 #address-cells = <1>; 29 #size-cells = <0>; 35 clock-frequency = <0>; /* Filled in by cuboot */ 36 timebase-frequency = <0>; /* Filled in by cuboot */ 37 i-cache-line-size = <32>; 38 d-cache-line-size = <32>; [all …]
|
/linux/arch/arm64/boot/dts/qcom/ |
H A D | msm8916-samsung-serranove.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 6 /dts-v1/; 8 #include "msm8916-pm8916.dtsi" 9 #include "msm8916-modem-qdsp6.dtsi" 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/input/input.h> 13 #include <dt-bindings/interrupt-controller/irq.h> 24 * arch/arm/boot/dts/qcom-msm8916-samsung-serranove.dts 30 chassis-type = "handset"; 34 mmc1 = &sdhc_2; /* SD card */ [all …]
|
/linux/drivers/mmc/host/ |
H A D | sdhci.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * linux/drivers/mmc/host/sdhci.h - Secure Digital Host Controller Interface driver 7 * Copyright (C) 2005-2008 Pierre Ossman, All Rights Reserved. 130 * VDD2 - UHS2 or PCIe/NVMe 208 #define SDHCI_INT_ALL_MASK ((unsigned int)-1) 233 #define SDHCI_CTRL_HS400 0x0005 /* Non-standard */ 286 #define SDHCI_CAN_VDD2_180 0x10000000 /* UHS-2 1.8V VDD2 */ 287 #define SDHCI_SUPPORT_HS400 0x80000000 /* Non-standard */ 298 /* 4C-4F reserved for more max current */ 306 /* 55-57 reserved */ [all …]
|