/linux-5.10/drivers/mmc/host/ |
D | sdhci-xenon-phy.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 * Date: 2016-8-24 16 #include "sdhci-pltfm.h" 17 #include "sdhci-xenon.h" 206 params = devm_kzalloc(mmc_dev(host->mmc), sizeof(*params), GFP_KERNEL); in xenon_alloc_emmc_phy() 208 return -ENOMEM; in xenon_alloc_emmc_phy() 210 priv->phy_params = params; in xenon_alloc_emmc_phy() 211 if (priv->phy_type == EMMC_5_0_PHY) in xenon_alloc_emmc_phy() 212 priv->emmc_phy_regs = &xenon_emmc_5_0_phy_regs; in xenon_alloc_emmc_phy() 214 priv->emmc_phy_regs = &xenon_emmc_5_1_phy_regs; in xenon_alloc_emmc_phy() [all …]
|
D | sdhci-brcmstb.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * sdhci-brcmstb.c Support for SDHCI on Broadcom BRCMSTB SoC's 9 #include <linux/mmc/host.h> 15 #include "sdhci-pltfm.h" 32 void (*hs400es)(struct mmc_host *mmc, struct mmc_ios *ios); 37 static void sdhci_brcmstb_hs400es(struct mmc_host *mmc, struct mmc_ios *ios) in sdhci_brcmstb_hs400es() argument 39 struct sdhci_host *host = mmc_priv(mmc); in sdhci_brcmstb_hs400es() 43 dev_dbg(mmc_dev(mmc), "%s(): Setting HS400-Enhanced-Strobe mode\n", in sdhci_brcmstb_hs400es() 45 reg = readl(host->ioaddr + SDHCI_VENDOR); in sdhci_brcmstb_hs400es() 46 if (ios->enhanced_strobe) in sdhci_brcmstb_hs400es() [all …]
|
D | sdhci-sprd.c | 1 // SPDX-License-Identifier: GPL-2.0 9 #include <linux/dma-mapping.h> 21 #include "sdhci-pltfm.h" 91 { "sprd,phy-delay-legacy", MMC_TIMING_LEGACY, }, 92 { "sprd,phy-delay-sd-highspeed", MMC_TIMING_SD_HS, }, 93 { "sprd,phy-delay-sd-uhs-sdr50", MMC_TIMING_UHS_SDR50, }, 94 { "sprd,phy-delay-sd-uhs-sdr104", MMC_TIMING_UHS_SDR104, }, 95 { "sprd,phy-delay-mmc-highspeed", MMC_TIMING_MMC_HS, }, 96 { "sprd,phy-delay-mmc-ddr52", MMC_TIMING_MMC_DDR52, }, 97 { "sprd,phy-delay-mmc-hs200", MMC_TIMING_MMC_HS200, }, [all …]
|
/linux-5.10/Documentation/devicetree/bindings/mmc/ |
D | brcm,sdhci-brcmstb.txt | 3 This file documents differences between the core properties in mmc.txt 4 and the properties used by the sdhci-brcmstb driver. 11 - compatible: should be one of the following 12 - "brcm,bcm7425-sdhci" 13 - "brcm,bcm7445-sdhci" 14 - "brcm,bcm7216-sdhci" 16 Refer to clocks/clock-bindings.txt for generic clock consumer properties. 21 sd-uhs-sdr50; 22 sd-uhs-ddr50; 23 sd-uhs-sdr104; [all …]
|
D | sdhci-sprd.txt | 1 * Spreadtrum SDHCI controller (sdhci-sprd) 4 for MMC, SD and SDIO types of cards. 6 This file documents differences between the core properties in mmc.txt 7 and the properties used by the sdhci-sprd driver. 10 - compatible: Should contain "sprd,sdhci-r11". 11 - reg: physical base address of the controller and length. 12 - interrupts: Interrupts used by the SDHCI controller. 13 - clocks: Should contain phandle for the clock feeding the SDHCI controller 14 - clock-names: Should contain the following: 15 "sdio" - SDIO source clock (required) [all …]
|
D | fsl-imx-esdhc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/mmc/fsl-imx-esdhc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Freescale Enhanced Secure Digital Host Controller (eSDHC) for i.MX 10 - Shawn Guo <shawnguo@kernel.org> 13 - $ref: "mmc-controller.yaml" 16 The Enhanced Secure Digital Host Controller on Freescale i.MX family 17 provides an interface for MMC, SD, and SDIO types of memory cards. 20 by mmc.txt and the properties used by the sdhci-esdhc-imx driver. [all …]
|
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# 7 title: MMC Controller Generic Binding 10 - Ulf Hansson <ulf.hansson@linaro.org> 13 These properties are common to multiple MMC host controllers. Any host 17 It is possible to assign a fixed index mmcN to an MMC host controller 23 pattern: "^mmc(@.*)?$" 25 "#address-cells": [all …]
|
/linux-5.10/arch/arm64/boot/dts/rockchip/ |
D | rk3399-nanopc-t4.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * FriendlyElec NanoPC-T4 board device tree source 11 /dts-v1/; 12 #include "rk3399-nanopi4.dtsi" 15 model = "FriendlyElec NanoPC-T4"; 16 compatible = "friendlyarm,nanopc-t4", "rockchip,rk3399"; 18 vcc12v0_sys: vcc12v0-sys { 19 compatible = "regulator-fixed"; 20 regulator-always-on; 21 regulator-boot-on; [all …]
|
D | rk3399pro-vmarc-som.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/pinctrl/rockchip.h> 10 #include <dt-bindings/pwm/pwm.h> 13 compatible = "vamrs,rk3399pro-vmarc-som", "rockchip,rk3399pro"; 15 vcc3v3_pcie: vcc-pcie-regulator { 16 compatible = "regulator-fixed"; 17 enable-active-high; 19 pinctrl-names = "default"; 20 pinctrl-0 = <&pcie_pwr>; [all …]
|
D | rk3399-evb.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 7 #include <dt-bindings/pwm/pwm.h> 12 compatible = "rockchip,rk3399-evb", "rockchip,rk3399"; 15 compatible = "pwm-backlight"; 16 brightness-levels = < 49 default-brightness-level = <200>; 53 edp_panel: edp-panel { 54 compatible ="lg,lp079qx1-sp0v"; 56 enable-gpios = <&gpio1 RK_PB5 GPIO_ACTIVE_HIGH>; [all …]
|
D | rk3399-leez-p710.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 7 #include <dt-bindings/input/linux-event-codes.h> 8 #include <dt-bindings/pwm/pwm.h> 10 #include "rk3399-opp.dtsi" 17 stdout-path = "serial2:1500000n8"; 20 clkin_gmac: external-gmac-clock { 21 compatible = "fixed-clock"; 22 clock-frequency = <125000000>; 23 clock-output-names = "clkin_gmac"; [all …]
|
D | rk3399-rock960.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 9 #include "rk3399-opp.dtsi" 12 sdio_pwrseq: sdio-pwrseq { 13 compatible = "mmc-pwrseq-simple"; 15 clock-names = "ext_clock"; 16 pinctrl-names = "default"; 17 pinctrl-0 = <&wifi_enable_h>; 18 reset-gpios = <&gpio0 RK_PB2 GPIO_ACTIVE_LOW>; 21 vcc12v_dcin: vcc12v-dcin { 22 compatible = "regulator-fixed"; [all …]
|
D | rk3399-puma.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include <dt-bindings/pwm/pwm.h> 8 #include "rk3399-opp.dtsi" 12 compatible = "gpio-leds"; 13 pinctrl-names = "default"; 14 pinctrl-0 = <&module_led_pin>; 16 module_led: led-0 { 19 linux,default-trigger = "heartbeat"; 20 panic-indicator; 25 * Overwrite the opp-table for CPUB as this board uses a different [all …]
|
D | rk3399-sapphire.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include "dt-bindings/pwm/pwm.h" 7 #include "dt-bindings/input/input.h" 9 #include "rk3399-opp.dtsi" 12 compatible = "rockchip,rk3399-sapphire", "rockchip,rk3399"; 15 stdout-path = "serial2:1500000n8"; 18 clkin_gmac: external-gmac-clock { 19 compatible = "fixed-clock"; 20 clock-frequency = <125000000>; 21 clock-output-names = "clkin_gmac"; [all …]
|
D | rk3399-rock-pi-4.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 8 #include <dt-bindings/input/linux-event-codes.h> 9 #include <dt-bindings/pwm/pwm.h> 11 #include "rk3399-opp.dtsi" 15 stdout-path = "serial2:1500000n8"; 18 clkin_gmac: external-gmac-clock { 19 compatible = "fixed-clock"; 20 clock-frequency = <125000000>; 21 clock-output-names = "clkin_gmac"; [all …]
|
D | rk3399-hugsun-x99.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2 /dts-v1/; 3 #include <dt-bindings/pwm/pwm.h> 4 #include <dt-bindings/input/input.h> 6 #include "rk3399-opp.dtsi" 13 stdout-path = "serial2:1500000n8"; 16 clkin_gmac: external-gmac-clock { 17 compatible = "fixed-clock"; 18 clock-frequency = <125000000>; 19 clock-output-names = "clkin_gmac"; [all …]
|
D | rk3399-orangepi.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include "dt-bindings/pwm/pwm.h" 9 #include "dt-bindings/input/input.h" 11 #include "rk3399-opp.dtsi" 15 compatible = "rockchip,rk3399-orangepi", "rockchip,rk3399"; 18 stdout-path = "serial2:1500000n8"; 21 clkin_gmac: external-gmac-clock { 22 compatible = "fixed-clock"; 23 clock-frequency = <125000000>; [all …]
|
D | rk3399-firefly.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 7 #include <dt-bindings/input/linux-event-codes.h> 8 #include <dt-bindings/pwm/pwm.h> 10 #include "rk3399-opp.dtsi" 13 model = "Firefly-RK3399 Board"; 14 compatible = "firefly,firefly-rk3399", "rockchip,rk3399"; 17 stdout-path = "serial2:1500000n8"; 21 compatible = "pwm-backlight"; 22 enable-gpios = <&gpio1 RK_PB5 GPIO_ACTIVE_HIGH>; [all …]
|
D | rk3399-khadas-edge.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 8 #include <dt-bindings/input/linux-event-codes.h> 9 #include <dt-bindings/pwm/pwm.h> 11 #include "rk3399-opp.dtsi" 15 stdout-path = "serial2:1500000n8"; 18 clkin_gmac: external-gmac-clock { 19 compatible = "fixed-clock"; 20 clock-frequency = <125000000>; 21 clock-output-names = "clkin_gmac"; [all …]
|
/linux-5.10/include/linux/mmc/ |
D | host.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * linux/include/linux/mmc/host.h 12 #include <linux/fault-inject.h> 14 #include <linux/mmc/core.h> 15 #include <linux/mmc/card.h> 16 #include <linux/mmc/pm.h> 17 #include <linux/dma-direction.h> 108 * ios->clock might be 0. For some controllers, setting 0Hz 118 * 1 for a read-only card 119 * -ENOSYS when not supported (equal to NULL callback) [all …]
|
/linux-5.10/drivers/mmc/core/ |
D | debugfs.c | 1 // SPDX-License-Identifier: GPL-2.0-only 14 #include <linux/fault-inject.h> 16 #include <linux/mmc/card.h> 17 #include <linux/mmc/host.h> 54 struct mmc_host *host = s->private; in mmc_ios_show() 55 struct mmc_ios *ios = &host->ios; in mmc_ios_show() 58 seq_printf(s, "clock:\t\t%u Hz\n", ios->clock); in mmc_ios_show() 59 if (host->actual_clock) in mmc_ios_show() 60 seq_printf(s, "actual clock:\t%u Hz\n", host->actual_clock); in mmc_ios_show() 61 seq_printf(s, "vdd:\t\t%u ", ios->vdd); in mmc_ios_show() [all …]
|
D | host.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * linux/drivers/mmc/core/host.c 6 * Copyright (C) 2007-2008 Pierre Ossman 9 * MMC host class device management 23 #include <linux/mmc/host.h> 24 #include <linux/mmc/card.h> 25 #include <linux/mmc/slot-gpio.h> 29 #include "slot-gpio.h" 40 wakeup_source_unregister(host->ws); in mmc_host_classdev_release() 41 ida_simple_remove(&mmc_host_ida, host->index); in mmc_host_classdev_release() [all …]
|
D | mmc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * linux/drivers/mmc/core/mmc.c 5 * Copyright (C) 2003-2004 Russell King, All Rights Reserved. 6 * Copyright (C) 2005-2007 Pierre Ossman, All Rights Reserved. 16 #include <linux/mmc/host.h> 17 #include <linux/mmc/card.h> 18 #include <linux/mmc/mmc.h> 54 const u32 __mask = (__size < 32 ? 1 << __size : 0) - 1; \ 55 const int __off = 3 - ((start) / 32); \ 61 __res |= resp[__off-1] << ((32 - __shft) % 32); \ [all …]
|
D | bus.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * linux/drivers/mmc/core/bus.c 8 * MMC card bus driver model 19 #include <linux/mmc/card.h> 20 #include <linux/mmc/host.h> 35 switch (card->type) { in type_show() 37 return sprintf(buf, "MMC\n"); in type_show() 45 return -EFAULT; in type_show() 57 * This currently matches any MMC driver to any MMC card - drivers 74 switch (card->type) { in mmc_bus_uevent() [all …]
|
/linux-5.10/arch/arm64/boot/dts/sprd/ |
D | whale2.dtsi | 6 * SPDX-License-Identifier: (GPL-2.0+ OR MIT) 9 #include <dt-bindings/clock/sprd,sc9860-clk.h> 12 interrupt-parent = <&gic>; 13 #address-cells = <2>; 14 #size-cells = <2>; 17 compatible = "simple-bus"; 18 #address-cells = <2>; 19 #size-cells = <2>; 67 ap-apb { 68 compatible = "simple-bus"; [all …]
|