Home
last modified time | relevance | path

Searched +full:mmc +full:- +full:hs400 +full:- +full:enhanced +full:- +full:strobe (Results 1 – 25 of 44) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/mmc/host/
Dsdhci-xenon-phy.c1 // 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 …]
Dsdhci-brcmstb.c1 // 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 …]
Dsdhci-sprd.c1 // 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 …]
/kernel/linux/linux-4.19/drivers/mmc/host/
Dsdhci-xenon-phy.c7 * Date: 2016-8-24
19 #include "sdhci-pltfm.h"
20 #include "sdhci-xenon.h"
209 params = devm_kzalloc(mmc_dev(host->mmc), sizeof(*params), GFP_KERNEL); in xenon_alloc_emmc_phy()
211 return -ENOMEM; in xenon_alloc_emmc_phy()
213 priv->phy_params = params; in xenon_alloc_emmc_phy()
214 if (priv->phy_type == EMMC_5_0_PHY) in xenon_alloc_emmc_phy()
215 priv->emmc_phy_regs = &xenon_emmc_5_0_phy_regs; in xenon_alloc_emmc_phy()
217 priv->emmc_phy_regs = &xenon_emmc_5_1_phy_regs; in xenon_alloc_emmc_phy()
223 * eMMC 5.0/5.1 PHY init/re-init.
[all …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/mmc/
Dmmc.txt1 These properties are common to multiple MMC host controllers. Any host
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.
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/mmc/
Dbrcm,sdhci-brcmstb.txt3 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 …]
Dsdhci-sprd.txt1 * 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 …]
Dfsl-imx-esdhc.yaml1 # 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 …]
Dmmc-controller.yaml1 # 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 …]
/kernel/linux/linux-5.10/arch/arm64/boot/dts/rockchip/
Drk3399-nanopc-t4.dts1 // 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 …]
Drk3399pro-vmarc-som.dtsi1 // 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 …]
Drk3399-evb.dts1 // 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 …]
Drk3399-leez-p710.dts1 // 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 …]
/kernel/linux/linux-5.10/include/linux/mmc/
Dhost.h1 /* 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 …]
/kernel/linux/linux-4.19/arch/arm64/boot/dts/rockchip/
Drk3399-evb.dts1 // 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",
13 "google,rk3399evb-rev2";
16 compatible = "pwm-backlight";
17 brightness-levels = <
50 default-brightness-level = <200>;
51 enable-gpios = <&gpio1 RK_PB5 GPIO_ACTIVE_HIGH>;
55 clkin_gmac: external-gmac-clock {
[all …]
/kernel/linux/linux-4.19/include/linux/mmc/
Dhost.h2 * linux/include/linux/mmc/host.h
15 #include <linux/fault-inject.h>
17 #include <linux/mmc/core.h>
18 #include <linux/mmc/card.h>
19 #include <linux/mmc/pm.h>
20 #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)
128 * -ENOSYS when not supported (equal to NULL callback)
[all …]
/kernel/linux/linux-5.10/drivers/mmc/core/
Ddebugfs.c1 // 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 …]
Dhost.c1 // 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"
46 if (!host->bus_ops) in mmc_host_class_prepare()
50 if (host->bus_ops->pre_suspend) in mmc_host_class_prepare()
[all …]
Dmmc.c1 // 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 …]
Dbus.c1 // 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 …]
/kernel/linux/linux-5.10/arch/arm64/boot/dts/sprd/
Dwhale2.dtsi6 * 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 …]
/kernel/linux/linux-4.19/drivers/mmc/core/
Ddebugfs.c17 #include <linux/fault-inject.h>
19 #include <linux/mmc/card.h>
20 #include <linux/mmc/host.h>
57 struct mmc_host *host = s->private; in mmc_ios_show()
58 struct mmc_ios *ios = &host->ios; in mmc_ios_show()
61 seq_printf(s, "clock:\t\t%u Hz\n", ios->clock); in mmc_ios_show()
62 if (host->actual_clock) in mmc_ios_show()
63 seq_printf(s, "actual clock:\t%u Hz\n", host->actual_clock); in mmc_ios_show()
64 seq_printf(s, "vdd:\t\t%u ", ios->vdd); in mmc_ios_show()
65 if ((1 << ios->vdd) & MMC_VDD_165_195) in mmc_ios_show()
[all …]
Dhost.c2 * linux/drivers/mmc/core/host.c
5 * Copyright (C) 2007-2008 Pierre Ossman
12 * MMC host class device management
25 #include <linux/mmc/host.h>
26 #include <linux/mmc/card.h>
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()
[all …]
Dbus.c2 * linux/drivers/mmc/core/bus.c
11 * MMC card bus driver model
22 #include <linux/mmc/card.h>
23 #include <linux/mmc/host.h>
38 switch (card->type) { in type_show()
40 return sprintf(buf, "MMC\n"); in type_show()
48 return -EFAULT; in type_show()
60 * This currently matches any MMC driver to any MMC card - drivers
76 switch (card->type) { in mmc_bus_uevent()
78 type = "MMC"; in mmc_bus_uevent()
[all …]
Dmmc.c2 * linux/drivers/mmc/core/mmc.c
4 * Copyright (C) 2003-2004 Russell King, All Rights Reserved.
5 * Copyright (C) 2005-2007 Pierre Ossman, All Rights Reserved.
19 #include <linux/mmc/host.h>
20 #include <linux/mmc/card.h>
21 #include <linux/mmc/mmc.h>
57 const u32 __mask = (__size < 32 ? 1 << __size : 0) - 1; \
58 const int __off = 3 - ((start) / 32); \
64 __res |= resp[__off-1] << ((32 - __shft) % 32); \
73 u32 *resp = card->raw_cid; in mmc_decode_cid()
[all …]

12