| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/mmc/ |
| 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 …]
|
| 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 …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/mmc/ |
| D | mmc-spi-slot.txt | 1 MMC/SD/SDIO slot directly connected to a SPI bus 4 by mmc.txt and the properties used by the mmc_spi driver. 7 - spi-max-frequency : maximum frequency for this device (Hz). 8 - voltage-ranges : two cells are required, first cell specifies minimum 9 slot voltage (mV), second cell specifies maximum slot voltage (mV). 13 - gpios : may specify GPIOs in this order: Card-Detect GPIO, 14 Write-Protect GPIO. Note that this does not follow the 15 binding from mmc.txt, for historical reasons. 19 mmc-slot@0 { 20 compatible = "fsl,mpc8323rdb-mmc-slot", [all …]
|
| 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 …]
|
| /kernel/linux/linux-5.10/include/linux/spi/ |
| 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). */ 39 extern struct mmc_spi_platform_data *mmc_spi_get_pdata(struct spi_device *spi); 40 extern void mmc_spi_put_pdata(struct spi_device *spi); 43 mmc_spi_get_pdata(struct spi_device *spi) in mmc_spi_get_pdata() argument [all …]
|
| /kernel/linux/linux-6.6/include/linux/spi/ |
| 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);
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/spi/ |
| D | spi_atmel.txt | 1 Atmel SPI device 4 - compatible : should be "atmel,at91rm9200-spi" or "microchip,sam9x60-spi". 5 - reg: Address and length of the register set for the device 6 - interrupts: Should contain spi interrupt 7 - cs-gpios: chipselects (optional for SPI controller version >= 2 with the 9 - clock-names: tuple listing input clock names. 11 - clocks: phandles to input clocks. 14 - atmel,fifo-size: maximum number of data the RX and TX FIFOs can store for FIFO 15 capable SPI controllers. 19 spi1: spi@fffcc000 { [all …]
|
| /kernel/linux/linux-5.10/arch/arm/mach-omap2/ |
| 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 19 #include <linux/spi/spi.h> 21 #include <linux/mmc/host.h> 22 #include <linux/platform_data/spi-omap2-mcspi.h> 23 #include <linux/platform_data/mmc-omap.h> 28 #include <asm/mach-types.h> 31 #include "mmc.h" [all …]
|
| /kernel/linux/linux-6.6/arch/arm/mach-omap2/ |
| 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 …]
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| 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 …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/microchip/ |
| 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 …]
|
| /kernel/linux/linux-6.6/arch/arm64/boot/dts/toshiba/ |
| 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>;
|
| /kernel/linux/linux-6.6/drivers/mmc/host/ |
| D | mmc_spi.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Access SD/MMC cards through SPI master controllers 7 * (C) Copyright 2006-2007, David Brownell 9 * Hans-Peter Nilsson (hp@axis.com) 18 #include <linux/dma-direction.h> 20 #include <linux/crc-itu-t.h> 23 #include <linux/mmc/host.h> 24 #include <linux/mmc/mmc.h> /* for R1_SPI_* bit values */ 25 #include <linux/mmc/slot-gpio.h> 27 #include <linux/spi/spi.h> [all …]
|
| 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 …]
|
| /kernel/linux/linux-6.6/arch/arm64/boot/dts/freescale/ |
| 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 …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/spi/ |
| 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 - const: microchip,sam9x60-spi [all …]
|
| /kernel/linux/linux-5.10/drivers/mmc/host/ |
| 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 23 platform with a Multimedia Card slot, say Y or M here. 34 Qcom SOCs and MMC, you would probably need this option to get DMA working. 53 If you have a PXA(R) platform with a Multimedia Card slot, 85 implements a hardware byte swapper using a 32-bit datum. [all …]
|
| D | mmc_spi.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Access SD/MMC cards through SPI master controllers 7 * (C) Copyright 2006-2007, David Brownell 9 * Hans-Peter Nilsson (hp@axis.com) 18 #include <linux/dma-mapping.h> 20 #include <linux/crc-itu-t.h> 23 #include <linux/mmc/host.h> 24 #include <linux/mmc/mmc.h> /* for R1_SPI_* bit values */ 25 #include <linux/mmc/slot-gpio.h> 27 #include <linux/spi/spi.h> [all …]
|
| /kernel/linux/linux-5.10/arch/powerpc/platforms/83xx/ |
| 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> 66 prop = of_get_property(np, "cell-index", NULL); in of_fsl_spi_probe() 71 if (prop && !strcmp(prop, "cpu-qe")) in of_fsl_spi_probe() 121 void (*cs_control)(struct spi_device *spi, in fsl_spi_init() argument 124 u32 sysclk = -1; in fsl_spi_init() 127 /* SPI controller is either clocked from QE or SoC clock */ in fsl_spi_init() 129 if (sysclk == -1) { in fsl_spi_init() [all …]
|
| /kernel/linux/linux-6.6/arch/powerpc/platforms/83xx/ |
| 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 …]
|
| /kernel/linux/linux-5.10/arch/arm64/boot/dts/amlogic/ |
| 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/gpio/meson-g12a-gpio.h> 10 #include <dt-bindings/sound/meson-g12a-tohdmitx.h> 19 stdout-path = "serial0:115200n8"; 27 adc-keys { 28 compatible = "adc-keys"; 29 io-channels = <&saradc 2>; 30 io-channel-names = "buttons"; 31 keyup-threshold-microvolt = <1710000>; [all …]
|
| /kernel/linux/linux-6.6/arch/arm64/boot/dts/amlogic/ |
| 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 …]
|
| /kernel/linux/linux-5.10/arch/riscv/boot/dts/sifive/ |
| 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> 13 #address-cells = <2>; 14 #size-cells = <2>; 16 compatible = "sifive,hifive-unleashed-a00", "sifive,fu540-c000"; 19 stdout-path = "serial0"; [all …]
|
| /kernel/linux/linux-6.6/arch/riscv/boot/dts/sifive/ |
| 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 …]
|
| /kernel/linux/linux-5.10/arch/arm/mach-s3c/ |
| D | Kconfig.s3c64xx | 1 # SPDX-License-Identifier: GPL-2.0 103 Common setup code for SPI GPIO configurations 192 # for the MMC/SD slots connected to the same input. This means that 194 # configuration or that only one slot can be used. 197 prompt "SMDK6410 MMC/SD slot setup" 204 Select CON7 (channel 0) as the MMC/SD slot, as 213 Select CON6 (channel 1) as the MMC/SD slot, as 221 bool "Support Wolfson Microelectronics 1190-EV1 PMIC card" 228 The Wolfson Microelectronics 1190-EV1 is a WM835x based PMIC 233 with or without the 1190-EV1 fitted. [all …]
|