Home
last modified time | relevance | path

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

123

/OK3568_Linux_fs/kernel/drivers/mmc/host/
H A 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 …]
H A 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-cqhci.h"
16 #include "sdhci-pltfm.h"
38 void (*hs400es)(struct mmc_host *mmc, struct mmc_ios *ios);
59 /* Reset will clear this, so re-enable it */ in brcmstb_reset()
60 if (priv->flags & BRCMSTB_PRIV_FLAGS_GATE_CLOCK) in brcmstb_reset()
64 static void sdhci_brcmstb_hs400es(struct mmc_host *mmc, struct mmc_ios *ios) in sdhci_brcmstb_hs400es() argument
66 struct sdhci_host *host = mmc_priv(mmc); in sdhci_brcmstb_hs400es()
[all …]
H A 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 …]
H A Dsdhci-of-dwcmshc.c1 // SPDX-License-Identifier: GPL-2.0
12 #include <linux/dma-mapping.h>
22 #include "sdhci-pltfm.h"
83 ((addr | (SZ_128M - 1)) == ((addr + len - 1) | (SZ_128M - 1)))
137 offset = addr & (SZ_128M - 1); in dwcmshc_adma_write_desc()
138 tmplen = SZ_128M - offset; in dwcmshc_adma_write_desc()
142 len -= tmplen; in dwcmshc_adma_write_desc()
150 if (pltfm_host->clk) in dwcmshc_get_max_clock()
153 return pltfm_host->clock; in dwcmshc_get_max_clock()
156 static void dwcmshc_check_auto_cmd23(struct mmc_host *mmc, in dwcmshc_check_auto_cmd23() argument
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/mmc/
H A 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 …]
H A 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 …]
H A 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 …]
H A 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 …]
/OK3568_Linux_fs/u-boot/drivers/mmc/
H A Drockchip_sdhci.c6 * SPDX-License-Identifier: GPL-2.0+
12 #include <dt-structs.h>
102 struct mmc mmc; member
141 writel(RK_CLRSETBITS(7 << 4, 0), &phy->emmcphy_con[6]); in rk3399_emmc_phy_power_on()
142 writel(RK_CLRSETBITS(1 << 11, 1 << 11), &phy->emmcphy_con[0]); in rk3399_emmc_phy_power_on()
143 writel(RK_CLRSETBITS(0xf << 7, 6 << 7), &phy->emmcphy_con[0]); in rk3399_emmc_phy_power_on()
151 writel(RK_CLRSETBITS(1, 1), &phy->emmcphy_con[6]); in rk3399_emmc_phy_power_on()
159 caldone = readl(&phy->emmcphy_status); in rk3399_emmc_phy_power_on()
177 writel(RK_CLRSETBITS(3 << 12, freqsel << 12), &phy->emmcphy_con[0]); in rk3399_emmc_phy_power_on()
178 writel(RK_CLRSETBITS(1 << 1, 1 << 1), &phy->emmcphy_con[6]); in rk3399_emmc_phy_power_on()
[all …]
/OK3568_Linux_fs/kernel/arch/arm64/boot/dts/rockchip/
H A 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 …]
H A Drk3588-vehicle-s66.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7 #include <dt-bindings/gpio/gpio.h>
8 #include <dt-bindings/pwm/pwm.h>
9 #include <dt-bindings/pinctrl/rockchip.h>
10 #include <dt-bindings/display/drm_mipi_dsi.h>
11 #include <dt-bindings/display/rockchip_vop.h>
12 #include <dt-bindings/sensor-dev.h>
15 compatible = "pwm-backlight";
16 brightness-levels = <
50 default-brightness-level = <200>;
[all …]
H A Drk3588-vehicle-v20.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7 #include <dt-bindings/gpio/gpio.h>
8 #include <dt-bindings/pwm/pwm.h>
9 #include <dt-bindings/pinctrl/rockchip.h>
10 #include <dt-bindings/input/rk-input.h>
11 #include <dt-bindings/display/drm_mipi_dsi.h>
12 #include <dt-bindings/display/rockchip_vop.h>
13 #include <dt-bindings/sensor-dev.h>
16 adc_keys: adc-keys {
17 compatible = "adc-keys";
[all …]
H A Drk3588-vehicle.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7 #include <dt-bindings/gpio/gpio.h>
8 #include <dt-bindings/pwm/pwm.h>
9 #include <dt-bindings/pinctrl/rockchip.h>
10 #include <dt-bindings/input/rk-input.h>
11 #include <dt-bindings/display/drm_mipi_dsi.h>
12 #include <dt-bindings/display/rockchip_vop.h>
13 #include <dt-bindings/sensor-dev.h>
16 adc_keys: adc-keys {
17 compatible = "adc-keys";
[all …]
H A Drk3528-demo.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/input/rk-input.h>
10 #include <dt-bindings/pinctrl/rockchip.h>
11 #include "rk-stb-ir-keymap.dtsi"
14 acodec_sound: acodec-sound {
16 compatible = "simple-audio-card";
17 simple-audio-card,name = "rk3528-acodec";
18 simple-audio-card,format = "i2s";
19 simple-audio-card,mclk-fs = <256>;
[all …]
/OK3568_Linux_fs/u-boot/arch/arm/dts/
H A Drk3528-u-boot.dtsi4 * SPDX-License-Identifier: GPL-2.0+
14 stdout-path = &uart2;
15 u-boot,spl-boot-order = &sdmmc, &sdhci, &spi_nand, &spi_nor;
18 secure-otp@ffcd0000 {
19 compatible = "rockchip,rk3528-secure-otp";
24 u-boot,dm-spl;
31 u-boot,dm-spl;
36 u-boot,dm-spl;
41 /delete-property/ assigned-clocks;
42 /delete-property/ assigned-clock-rates;
[all …]
H A Drk3562-u-boot.dtsi4 * SPDX-License-Identifier: GPL-2.0+
14 stdout-path = &uart2;
15 u-boot,spl-boot-order = &sdmmc0, &sdhci, &spi_nand, &spi_nor;
18 secure-otp@ff920000 {
19 compatible = "rockchip,rk3562-secure-otp";
24 u-boot,dm-spl;
30 u-boot,dm-spl;
35 u-boot,dm-spl;
40 u-boot,dm-spl;
45 u-boot,dm-pre-reloc;
[all …]
H A Drk3588-u-boot.dtsi4 * SPDX-License-Identifier: GPL-2.0+
7 #include <dt-bindings/gpio/gpio.h>
16 stdout-path = &uart2;
17 u-boot,spl-boot-order = &sdmmc, &sdhci, &spi_nand, &spi_nor;
20 secure-otp@fe3a0000 {
21 u-boot,dm-spl;
22 compatible = "rockchip,rk3588-secure-otp";
28 u-boot,dm-spl;
32 u-boot,dm-spl;
36 u-boot,dm-pre-reloc;
[all …]
H A Drk3399-evb.dts4 * SPDX-License-Identifier: GPL-2.0+
7 /dts-v1/;
8 #include <dt-bindings/pwm/pwm.h>
9 #include <dt-bindings/pinctrl/rockchip.h>
11 #include "rk3399-sdram-lpddr3-4GB-1600.dtsi"
12 #include "rk3399-u-boot.dtsi"
13 #include <linux/media-bus-format.h>
14 #include <dt-bindings/input/input.h>
18 compatible = "rockchip,rk3399-evb", "rockchip,rk3399",
19 "google,rk3399evb-rev2";
[all …]
/OK3568_Linux_fs/kernel/include/linux/mmc/
H A 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>
18 #include <linux/keyslot-manager.h>
112 * ios->clock might be 0. For some controllers, setting 0Hz
122 * 1 for a read-only card
[all …]
/OK3568_Linux_fs/kernel/drivers/mmc/core/
H A 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 …]
H A 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>
30 #include "slot-gpio.h"
47 if (!host->bus_ops) in mmc_host_class_prepare()
51 if (host->bus_ops->pre_suspend) in mmc_host_class_prepare()
[all …]
H A 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.
17 #include <linux/mmc/host.h>
18 #include <linux/mmc/card.h>
19 #include <linux/mmc/mmc.h>
56 const u32 __mask = (__size < 32 ? 1 << __size : 0) - 1; \
57 const int __off = 3 - ((start) / 32); \
63 __res |= resp[__off-1] << ((32 - __shft) % 32); \
[all …]
/OK3568_Linux_fs/kernel/arch/arm64/boot/dts/sprd/
H A 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 …]
/OK3568_Linux_fs/u-boot/include/
H A Dmmc.h7 * SPDX-License-Identifier: GPL-2.0+
18 /* SD/MMC version bits; 8 flags, 8 major, 8 minor, 8 change */
67 #define IS_SD(x) ((x)->version & SD_VERSION_SD)
68 #define IS_MMC(x) ((x)->version & MMC_VERSION_MMC)
142 #define MMC_VDD_165_195 0x00000080 /* VDD voltage 1.65 - 1.95 */
236 #define EXT_CSD_BUS_WIDTH_STROBE BIT(7) /* Enhanced strobe mode */
241 #define EXT_CSD_TIMING_HS400 3 /* HS400 */
263 #define EXT_CSD_ENH_USR (1 << 0) /* user data area is enhanced */
264 #define EXT_CSD_ENH_GP(x) (1 << ((x)+1)) /* GP part (x+1) is enhanced */
302 /* Maximum block size for MMC */
[all …]
H A Dsdhci.h5 * SPDX-License-Identifier: GPL-2.0+
8 * Murray.Jensen@cmst.csiro.au, 27-Jan-01.
14 #include <mmc.h>
145 #define SDHCI_INT_ALL_MASK ((unsigned int)-1)
149 /* 3E-3F reserved */
193 /* 4C-4F reserved for more max current */
200 /* 55-57 reserved */
204 /* 60-FB reserved */
217 #define SDHCI_GET_VERSION(x) (x->version & SDHCI_SPEC_VER_MASK)
261 * set_enhanced_strobe() - Set HS400 Enhanced Strobe config
[all …]

123