/linux/Documentation/devicetree/bindings/mmc/ |
H A D | mmc-spi-slot.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/mmc/mmc-spi-slot.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: MMC/SD/SDIO slot directly connected to a SPI bus 10 - Ulf Hansson <ulf.hansson@linaro.org> 13 - $ref: mmc-controller.yaml 14 - $ref: /schemas/spi/spi-peripheral-props.yaml 17 The extra properties used by an mmc connected via SPI. 21 const: mmc-spi-slot [all …]
|
H A D | cavium-mmc.txt | 1 * Cavium Octeon & ThunderX MMC controller 3 The highspeed MMC host controller on Caviums SoCs provides an interface 4 for MMC and SD types of memory cards. 10 - compatible : should be one of: 11 cavium,octeon-6130-mmc 12 cavium,octeon-7890-mmc 13 cavium,thunder-8190-mmc 14 cavium,thunder-8390-mmc 15 mmc-slot 16 - reg : mmc controller base registers [all …]
|
/linux/include/linux/spi/ |
H A D | mmc_spi.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 #include <linux/spi/spi.h> 11 /* Put this in platform_data of a device being used to manage an MMC/SD 12 * card slot. (Modeled after PXA mmc glue; see that for usage examples.) 14 * REVISIT This is not a spi-specific notion. Any card slot should be 15 * able to handle it. If the MMC core doesn't adopt this kind of notion, 25 /* Capabilities to pass into mmc core (e.g. MMC_CAP_NEEDS_POLL). */ 38 extern struct mmc_spi_platform_data *mmc_spi_get_pdata(struct spi_device *spi); 39 extern void mmc_spi_put_pdata(struct spi_device *spi);
|
/linux/arch/arm/mach-omap2/ |
H A D | board-n8x0.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * linux/arch/arm/mach-omap2/board-n8x0.c 5 * Copyright (C) 2005-2009 Nokia Corporation 8 * Modified from mach-omap2/board-generic.c 20 #include <linux/spi/spi.h> 22 #include <linux/mmc/host.h> 23 #include <linux/platform_data/spi-omap2-mcspi.h> 24 #include <linux/platform_data/mmc-omap.h> 28 #include <asm/mach-types.h> 31 #include "mmc.h" [all …]
|
/linux/arch/arm/boot/dts/microchip/ |
H A D | usb_a9g20_lpw.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * usb_a9g20_lpw.dts - Device Tree file for Caloa USB A9G20 Low Power board 5 * Copyright (C) 2013 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> 7 /dts-v1/; 12 compatible = "calao,usb-a9g20-lpw", "calao,usb-a9g20", "atmel,at91sam9g20", "atmel,at91sam9"; 16 spi1: spi@fffcc000 { 17 cs-gpios = <&pioB 3 GPIO_ACTIVE_HIGH>; 19 mmc-slot@0 { 20 compatible = "mmc-spi-slot"; 22 voltage-ranges = <3200 3400>; [all …]
|
H A D | sama5d3xmb.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * sama5d3xmb.dts - Device Tree file for SAMA5D3x mother board 15 mmc0: mmc@f0000000 { 16 pinctrl-names = "default"; 17 pinctrl-0 = <&pinctrl_mmc0_clk_cmd_dat0 &pinctrl_mmc0_dat1_3 &pinctrl_mmc0_cd>; 19 slot@0 { 21 bus-width = <4>; 22 cd-gpios = <&pioD 17 GPIO_ACTIVE_HIGH>; 26 spi0: spi@f0004000 { 31 spi-max-frequency = <50000000>; [all …]
|
H A D | sama5d3xmb_cmp.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * sama5d3xmb_cmp.dts - Device Tree file for SAMA5D3x CMP mother board 10 compatible = "atmel,sama5d3xmb-cmp", "atmel,sama5d3xcm-cmp", "atmel,sama5d3", "atmel,sama5"; 14 mmc0: mmc@f0000000 { 15 pinctrl-names = "default"; 16 pinctrl-0 = <&pinctrl_mmc0_clk_cmd_dat0 &pinctrl_mmc0_dat1_3 &pinctrl_mmc0_cd>; 18 slot@0 { 20 bus-width = <4>; 21 cd-gpios = <&pioD 17 GPIO_ACTIVE_HIGH>; 25 spi0: spi@f0004000 { [all …]
|
/linux/arch/arm64/boot/dts/freescale/ |
H A D | fsl-lx2162a-qds.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 7 /dts-v1/; 9 #include "fsl-lx2160a.dtsi" 13 compatible = "fsl,lx2162a-qds", "fsl,lx2160a"; 23 stdout-path = "serial0:115200n8"; 26 sb_3v3: regulator-sb3v3 { 27 compatible = "regulator-fixed"; 28 regulator-name = "LTM4619-3.3VSB"; 29 regulator-min-microvolt = <3300000>; 30 regulator-max-microvolt = <3300000>; [all …]
|
/linux/arch/arm64/boot/dts/toshiba/ |
H A D | tmpv7708-visrobo-vrc.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 9 /dts-v1/; 12 #include <dt-bindings/gpio/gpio.h> 29 mmc-slot@0 { 30 compatible = "mmc-spi-slot"; 33 voltage-ranges = <3200 3400>; 34 spi-max-frequency = <12000000>;
|
/linux/drivers/mmc/host/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 # MMC/SD host controller drivers 6 comment "MMC/SD/SDIO Host Controller Drivers" 9 bool "MMC host drivers debugging" 10 depends on MMC != n 13 say N here. This enables MMC host driver debugging. And further 18 tristate "Sunplus SP7021 MMC Controller" 32 platform with a Multimedia Card slot, say Y or M here. 43 Qcom SOCs and MMC, you would probably need this option to get DMA working. 62 If you have a PXA(R) platform with a Multimedia Card slot, [all …]
|
H A D | cavium.c | 2 * Shared part of driver for MMC/SDHC controller on Cavium OCTEON and 9 * Copyright (C) 2012-2017 Cavium Inc. 18 #include <linux/dma-direction.h> 19 #include <linux/dma-mapping.h> 22 #include <linux/mmc/mmc.h> 23 #include <linux/mmc/slot-gpio.h> 32 "MMC Buffer", 33 "MMC Command", 34 "MMC DMA", 35 "MMC Command Error", [all …]
|
/linux/arch/powerpc/platforms/83xx/ |
H A D | mpc832x_rdb.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 15 #include <linux/spi/spi.h> 16 #include <linux/spi/mmc_spi.h> 17 #include <linux/mmc/host.h> 69 prop = of_get_property(np, "cell-index", NULL); in of_fsl_spi_probe() 74 if (prop && !strcmp(prop, "cpu-qe")) in of_fsl_spi_probe() 124 void (*cs_control)(struct spi_device *spi, in fsl_spi_init() argument 127 u32 sysclk = -1; in fsl_spi_init() 130 /* SPI controller is either clocked from QE or SoC clock */ in fsl_spi_init() 132 if (sysclk == -1) { in fsl_spi_init() [all …]
|
/linux/Documentation/devicetree/bindings/spi/ |
H A D | atmel,at91rm9200-spi.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/spi/atmel,at91rm9200-spi.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: Atmel SPI device 11 - Tudor Ambarus <tudor.ambarus@linaro.org> 14 - $ref: spi-controller.yaml# 19 - const: atmel,at91rm9200-spi 20 - items: 21 - enum: [all …]
|
/linux/arch/arm64/boot/dts/amlogic/ |
H A D | meson-khadas-vim3.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 #include <dt-bindings/input/input.h> 9 #include <dt-bindings/leds/common.h> 10 #include <dt-bindings/gpio/meson-g12a-gpio.h> 11 #include <dt-bindings/sound/meson-g12a-tohdmitx.h> 22 stdout-path = "serial0:115200n8"; 30 adc-keys { 31 compatible = "adc-keys"; 32 io-channels = <&saradc 2>; 33 io-channel-names = "buttons"; [all …]
|
H A D | meson-libretech-cottonwood.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 #include <dt-bindings/clock/g12a-clkc.h> 8 #include <dt-bindings/input/input.h> 9 #include <dt-bindings/leds/common.h> 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/gpio/meson-g12a-gpio.h> 12 #include <dt-bindings/sound/meson-g12a-toacodec.h> 13 #include <dt-bindings/sound/meson-g12a-tohdmitx.h> 28 stdout-path = "serial0:115200n8"; 31 dioo2133: audio-amplifier-0 { [all …]
|
/linux/arch/riscv/boot/dts/sifive/ |
H A D | hifive-unleashed-a00.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 2 /* Copyright (c) 2018-2019 SiFive, Inc */ 4 #include "fu540-c000.dtsi" 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/leds/common.h> 7 #include <dt-bindings/pwm/pwm.h> 14 compatible = "sifive,hifive-unleashed-a00", "sifive,fu540-c000", 18 stdout-path = "serial0"; 22 timebase-frequency = <RTCCLK_FREQ>; 31 #clock-cells = <0>; [all …]
|
/linux/arch/powerpc/boot/dts/ |
H A D | mpc832x_rdb.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 8 /dts-v1/; 13 #address-cells = <1>; 14 #size-cells = <1>; 25 #address-cells = <1>; 26 #size-cells = <0>; 31 d-cache-line-size = <0x20>; // 32 bytes 32 i-cache-line-size = <0x20>; // 32 bytes 33 d-cache-size = <16384>; // L1, 16K 34 i-cache-size = <16384>; // L1, 16K [all …]
|
/linux/arch/mips/alchemy/devboards/ |
H A D | db1000.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 10 #include <linux/dma-mapping.h> 17 #include <linux/mmc/host.h> 21 #include <linux/spi/spi.h> 22 #include <linux/spi/spi_gpio.h> 23 #include <asm/mach-au1x00/au1000.h> 24 #include <asm/mach-au1x00/gpio-au1000.h> 25 #include <asm/mach-au1x00/au1000_dma.h> 26 #include <asm/mach-au1x00/au1100_mmc.h> 27 #include <asm/mach-db1x00/bcsr.h> [all …]
|
/linux/arch/riscv/boot/dts/canaan/ |
H A D | sipeed_maix_bit.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright (C) 2019-20 Sean Anderson <seanga2@gmail.com> 7 /dts-v1/; 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/input/input.h> 13 #include <dt-bindings/leds/common.h> 17 compatible = "sipeed,maix-bit", "sipeed,maix-bitm", 18 "canaan,kendryte-k210"; 26 stdout-path = "serial0:115200n8"; 29 gpio-leds { [all …]
|
H A D | canaan_kd233.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright (C) 2019-20 Sean Anderson <seanga2@gmail.com> 7 /dts-v1/; 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/input/input.h> 16 compatible = "canaan,kendryte-kd233", "canaan,kendryte-k210"; 24 stdout-path = "serial0:115200n8"; 27 gpio-leds { 28 compatible = "gpio-leds"; 39 gpio-keys { [all …]
|
H A D | sipeed_maix_dock.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright (C) 2019-20 Sean Anderson <seanga2@gmail.com> 7 /dts-v1/; 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/input/input.h> 13 #include <dt-bindings/leds/common.h> 17 compatible = "sipeed,maix-dock-m1", "sipeed,maix-dock-m1w", 18 "canaan,kendryte-k210"; 26 stdout-path = "serial0:115200n8"; 29 gpio-leds { [all …]
|
H A D | sipeed_maixduino.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright (C) 2019-20 Sean Anderson <seanga2@gmail.com> 7 /dts-v1/; 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/input/input.h> 16 compatible = "sipeed,maixduino", "canaan,kendryte-k210"; 24 stdout-path = "serial0:115200n8"; 27 gpio-keys { 28 compatible = "gpio-keys"; 30 key-boot { [all …]
|
H A D | sipeed_maix_go.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright (C) 2019-20 Sean Anderson <seanga2@gmail.com> 7 /dts-v1/; 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/input/input.h> 13 #include <dt-bindings/leds/common.h> 17 compatible = "sipeed,maix-go", "canaan,kendryte-k210"; 25 stdout-path = "serial0:115200n8"; 28 gpio-leds { 29 compatible = "gpio-leds"; [all …]
|
/linux/include/linux/mmc/ |
H A D | host.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * linux/include/linux/mmc/host.h 12 #include <linux/fault-inject.h> 15 #include <linux/mmc/core.h> 16 #include <linux/mmc/card.h> 17 #include <linux/mmc/pm.h> 18 #include <linux/dma-direction.h> 19 #include <linux/blk-crypto-profile.h> 20 #include <linux/mmc/sd_uhs2.h> 34 unsigned char chip_select; /* SPI chip select */ [all …]
|
/linux/arch/sh/boot/dts/ |
H A D | j2_mimas_v2.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 5 compatible = "jcore,j2-soc"; 8 #address-cells = <1>; 9 #size-cells = <1>; 11 interrupt-parent = <&aic>; 14 #address-cells = <1>; 15 #size-cells = <0>; 21 clock-frequency = <50000000>; 22 d-cache-size = <8192>; [all …]
|