Home
last modified time | relevance | path

Searched +full:pxa +full:- +full:mmc (Results 1 – 25 of 47) sorted by relevance

12

/openbmc/linux/drivers/mmc/host/
H A Dsdhci-pxav3.c1 // SPDX-License-Identifier: GPL-2.0-only
15 #include <linux/mmc/card.h>
16 #include <linux/mmc/host.h>
28 #include "sdhci-pltfm.h"
80 dev_err(&pdev->dev, "no mbus dram info\n"); in mv_conf_mbus_windows()
81 return -EINVAL; in mv_conf_mbus_windows()
86 dev_err(&pdev->dev, "cannot get mbus registers\n"); in mv_conf_mbus_windows()
87 return -EINVAL; in mv_conf_mbus_windows()
90 regs = ioremap(res->start, resource_size(res)); in mv_conf_mbus_windows()
92 dev_err(&pdev->dev, "cannot map mbus registers\n"); in mv_conf_mbus_windows()
[all …]
H A Dpxamci.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * linux/drivers/mmc/host/pxa.c - PXA MMCI driver
8 * - No way to clear interrupts.
9 * - Have to turn off the clock whenever we touch the device.
10 * - Doesn't tell you how many data blocks were transferred.
23 #include <linux/dma-mapping.h>
26 #include <linux/mmc/host.h>
27 #include <linux/mmc/slot-gpio.h>
33 #include <linux/soc/pxa/cpu.h>
37 #include <linux/platform_data/mmc-pxamci.h>
[all …]
H A DKconfig1 # 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"
43 Qcom SOCs and MMC, you would probably need this option to get DMA working.
61 This selects the Intel(R) PXA(R) Multimedia card Interface.
62 If you have a PXA(R) platform with a Multimedia Card slot,
[all …]
/openbmc/linux/Documentation/devicetree/bindings/mmc/
H A Dpxa-mmc.txt1 * PXA MMC drivers
3 Driver bindings for the PXA MCI (MMC/SDIO) interfaces
6 - compatible: Should be "marvell,pxa-mmc".
7 - vmmc-supply: A regulator for VMMC
10 - marvell,detect-delay-ms: sets the detection delay timeout in ms.
13 described in mmc.txt are supported.
17 mmc0: mmc@41100000 {
18 compatible = "marvell,pxa-mmc";
21 vmmc-supply = <&mmc_regulator>;
22 cd-gpios = <&gpio 23 0>;
[all …]
H A Dsdhci-pxa.yaml1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
4 $id: http://devicetree.org/schemas/mmc/sdhci-pxa.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Marvell PXA SDHCI v1/v2/v3
10 - Ulf Hansson <ulf.hansson@linaro.org>
13 - $ref: mmc-controller.yaml#
14 - if:
18 const: marvell,armada-380-sdhci
23 reg-names:
[all …]
/openbmc/linux/arch/arm/boot/dts/intel/pxa/
H A Dpxa2xx.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * pxa2xx.dtsi - Device Tree Include file for Marvell PXA2xx family SoC
8 #include "dt-bindings/clock/pxa-clock.h"
12 mux- ## func { \
17 mux- ## func { \
20 low-power-disable; \
23 mux- ## func { \
26 low-power-enable; \
30 #address-cells = <1>;
31 #size-cells = <1>;
[all …]
H A Dpxa3xx.dtsi1 // SPDX-License-Identifier: GPL-2.0
7 (gpio <= 26) ? (0x027c + 4 * (gpio - 3)) : \
8 (gpio <= 98) ? (0x0400 + 4 * (gpio - 27)) : \
9 (gpio <= 127) ? (0x0600 + 4 * (gpio - 99)) : \
18 (gpio <= 26) ? (0x027c + 4 * (gpio - 3)) : \
19 (gpio <= 29) ? (0x0400 + 4 * (gpio - 27)) : \
20 (gpio <= 98) ? (0x0418 + 4 * (gpio - 30)) : \
21 (gpio <= 127) ? (0x0600 + 4 * (gpio - 99)) : \
23 (gpio <= 268) ? (0x052c + 4 * (gpio - 263)) : \
33 (gpio <= 9) ? (0x028c + 4 * (gpio - 5)) : \
[all …]
H A Dpxa300-raumfeld-common.dtsi1 // SPDX-License-Identifier: GPL-2.0
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.h>
6 #include <dt-bindings/interrupt-controller/irq.h>
10 hw-revision = <0>;
14 stdout-path = &ffuart;
22 reg_3v3: regulator-3v3 {
23 compatible = "regulator-fixed";
24 regulator-name = "3v3-fixed-supply";
25 regulator-min-microvolt = <3300000>;
[all …]
/openbmc/u-boot/drivers/mmc/
H A Dpxa_mmc_gen.c1 // SPDX-License-Identifier: GPL-2.0+
5 * Loosely based on the old code and Linux's PXA MMC driver
10 #include <asm/arch/regs-mmc.h>
14 #include <mmc.h>
34 #error "This CPU isn't supported by PXA MMC!"
50 static int pxa_mmc_wait(struct mmc *mmc, uint32_t mask) in pxa_mmc_wait() argument
52 struct pxa_mmc_priv *priv = mmc->priv; in pxa_mmc_wait()
53 struct pxa_mmc_regs *regs = priv->regs; in pxa_mmc_wait()
57 while (--timeout) { in pxa_mmc_wait()
58 if (readl(&regs->stat) & mask) in pxa_mmc_wait()
[all …]
H A Dmxsmmc.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Freescale i.MX28 SSP MMC driver
9 * (C) Copyright 2008-2010 Freescale Semiconductor, Inc.
15 * Based vaguely on the pxa mmc code:
17 * Kyle Harris, Nexus Technologies, Inc. kharris@nexus-tech.net
21 #include <mmc.h>
25 #include <asm/arch/imx-regs.h>
27 #include <asm/mach-imx/dma.h>
37 struct mmc_config cfg; /* mmc configuration */
45 struct mxs_ssp_regs *ssp_regs = priv->regs; in mxsmmc_cd()
[all …]
/openbmc/linux/arch/arm/mach-pxa/
H A Dgumstix.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * linux/arch/arm/mach-pxa/gumstix.c
30 #include <asm/mach-types.h>
40 #include <linux/platform_data/mmc-pxamci.h>
48 .end = SZ_64M - 1,
57 .mask_flags = MTD_WRITEABLE /* force read-only */
73 .name = "pxa2xx-flash",
98 pr_debug("Gumstix mmc disabled\n"); in gumstix_mmc_init()
104 .dev_id = "gpio-vbus",
106 GPIO_LOOKUP("gpio-pxa", GPIO_GUMSTIX_USB_GPIOn,
[all …]
H A Dgumstix.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * arch/arm/mach-pxa/include/mach/gumstix.h
8 /* BTRESET - Reset line to Bluetooth module, active low signal. */
14 GPIOn - Input from MAX823 (or equiv), normalizing USB +5V into a clean
18 /* GPIOx - Connects to USB D+ and used as a pull-up after GPIOn
32 * SD/MMC definitions
35 #define GUMSTIX_GPIO_nSD_DETECT 11 /* MMC/SD Card Detect */
41 * ETH is the IRQ line in from the ethernet chip to the PXA
H A Ddevices.c1 // SPDX-License-Identifier: GPL-2.0
7 #include <linux/clk-provider.h>
8 #include <linux/dma-mapping.h>
11 #include <linux/platform_data/i2c-pxa.h>
12 #include <linux/soc/pxa/cpu.h>
15 #include <linux/platform_data/video-pxafb.h>
16 #include <linux/platform_data/mmc-pxamci.h>
18 #include <linux/platform_data/usb-ohci-pxa27x.h>
21 #include "regs-ost.h"
30 dev->dev.platform_data = data; in pxa_register_device()
[all …]
/openbmc/linux/include/linux/platform_data/
H A Dpxa_sdhci.h1 /* SPDX-License-Identifier: GPL-2.0-only */
8 * PXA Platform - SDHCI platform data definitions
14 /* pxa specific flag */
17 /* card always wired to host, like on-chip emmc */
19 /* Board design supports 8-bit data on SD/SDIO BUS */
23 * struct pxa_sdhci_platdata() - Platform device data for PXA SDHCI
34 * @host_caps: Standard MMC host capabilities bit field.
/openbmc/linux/include/linux/spi/
H A Dmmc_spi.h1 /* SPDX-License-Identifier: GPL-2.0 */
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). */
/openbmc/u-boot/include/configs/
H A Dpxa-common.h1 /* SPDX-License-Identifier: GPL-2.0+ */
21 * MMC Card Configuration
40 #define CONFIG_SYS_USB_OHCI_SLOT_NAME "pxa-ohci"
H A Dzipitz2.h1 /* SPDX-License-Identifier: GPL-2.0+ */
5 * Copyright (C) 2009-2010 Marek Vasut <marek.vasut@gmail.com>
30 "if mmc rescan && ext2load mmc 0 0xa0000000 boot/uboot.script ;"\
42 * STUART - the lower serial port on Colibri board
51 * MMC Card Configuration
184 #include "pxa-common.h"
/openbmc/linux/Documentation/arch/arm/pxa/
H A Dmfp.rst7 MFP stands for Multi-Function Pin, which is the pin-mux logic on PXA3xx and
8 later PXA series processors. This document describes the existing MFP API,
15 mechanism is introduced from PXA3xx to completely move the pin-mux functions
16 out of the GPIO controller. In addition to pin-mux configurations, the MFP
17 also controls the low power state, driving strength, pull-up/down and event
21 +--------+
22 | |--(GPIO19)--+
24 | |--(GPIO...) |
25 +--------+ |
26 | +---------+
[all …]
/openbmc/linux/drivers/clk/pxa/
H A Dclk-pxa25x.c1 // SPDX-License-Identifier: GPL-2.0-only
7 * Heavily inspired from former arch/arm/mach-pxa/pxa25x.c.
9 * For non-devicetree platforms. Once pxa is fully converted to devicetree, this
12 #include <linux/clk-provider.h>
14 #include <linux/clk/pxa.h>
18 #include <linux/soc/pxa/smemc.h>
19 #include <linux/soc/pxa/cpu.h>
21 #include <dt-bindings/clock/pxa-clock.h>
22 #include "clk-pxa.h"
23 #include "clk-pxa2xx.h"
[all …]
H A Dclk-pxa27x.c1 // SPDX-License-Identifier: GPL-2.0-only
7 * Heavily inspired from former arch/arm/mach-pxa/clock.c.
9 #include <linux/clk-provider.h>
14 #include <linux/soc/pxa/smemc.h>
15 #include <linux/clk/pxa.h>
17 #include <dt-bindings/clock/pxa-clock.h>
18 #include "clk-pxa.h"
19 #include "clk-pxa2xx.h"
67 return (interval - 31) / 32; in mdrefr_dri()
132 PXA27X_PBUS_CKEN("pxa2xx-uart.0", NULL, FFUART, 2, 42, 1),
[all …]
/openbmc/u-boot/board/toradex/common/
H A Dtdx-cfg-block.c1 // SPDX-License-Identifier: GPL-2.0+
7 #include "tdx-cfg-block.h"
15 #include <asm/arch-pxa/pxa.h>
23 #include <mmc.h>
25 #include <asm/mach-types.h>
95 [37] = "Apalis iMX8 QuadMax 4GB Wi-Fi / Bluetooth",
98 [40] = "Colibri iMX6ULL 512MB Wi-Fi / Bluetooth IT",
106 struct mmc *mmc; in tdx_cfg_block_mmc_storage() local
114 mmc = find_mmc_device(dev); in tdx_cfg_block_mmc_storage()
115 if (!mmc) { in tdx_cfg_block_mmc_storage()
[all …]
/openbmc/u-boot/
H A DMAINTAINERS8 W: Web-page with status/info
24 N: [^a-z]tegra all files whose path contains the word tegra
52 -----------------------------------
57 L: uboot-snps-arc@synopsys.com
58 T: git git://git.denx.de/u-boot-arc.git
65 L: uboot-snps-arc@synopsys.com
66 F: drivers/clk/clk-hsdk-cgu.c
67 F: include/dt-bindings/clock/snps,hsdk-cgu.h
68 F: doc/device-tree-bindings/clock/snps,hsdk-cgu.txt
73 L: uboot-snps-arc@synopsys.com
[all …]
/openbmc/linux/drivers/clk/mxs/
H A Dclk-ssp.c1 // SPDX-License-Identifier: GPL-2.0-or-later
6 * Portions copyright (C) 2003 Russell King, PXA MMCI Driver
7 * Portions copyright (C) 2004-2005 Pierre Ossman, W83L51xD SD/MMC driver
10 * Copyright 2009-2011 Freescale Semiconductor, Inc.
19 #include <linux/spi/mxs-spi.h>
27 ssp_clk = clk_get_rate(ssp->clk); in mxs_ssp_set_clk_rate()
31 clock_rate = (clock_rate > 0) ? clock_rate - 1 : 0; in mxs_ssp_set_clk_rate()
37 dev_err(ssp->dev, in mxs_ssp_set_clk_rate()
44 val = readl(ssp->base + HW_SSP_TIMING(ssp)); in mxs_ssp_set_clk_rate()
48 writel(val, ssp->base + HW_SSP_TIMING(ssp)); in mxs_ssp_set_clk_rate()
[all …]
/openbmc/linux/sound/arm/
H A Dpxa2xx-ac97-lib.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Based on sound/arm/pxa2xx-ac97.c and sound/soc/pxa/pxa2xx-ac97.c
20 #include <linux/soc/pxa/cpu.h>
22 #include <sound/pxa2xx-lib.h>
24 #include <linux/platform_data/asoc-pxa.h>
26 #include "pxa2xx-ac97-regs.h"
48 int val = -ENODEV; in pxa2xx_ac97_read()
52 return -ENODEV; in pxa2xx_ac97_read()
75 val = -ETIMEDOUT; in pxa2xx_ac97_read()
114 ret = -EIO; in pxa2xx_ac97_write()
[all …]
/openbmc/u-boot/board/toradex/colibri_pxa270/
H A Dcolibri_pxa270.c1 // SPDX-License-Identifier: GPL-2.0+
12 #include <asm/arch/pxa.h>
13 #include <asm/arch/regs-mmc.h>
14 #include <asm/arch/regs-uart.h>
21 #include <asm/mach-types.h>
22 #include "../common/tdx-common.h"
33 gd->bd->bi_arch_number = MACH_TYPE_COLIBRI; in board_init()
36 gd->bd->bi_boot_params = 0xa0000100; in board_init()
58 gd->ram_size = PHYS_SDRAM_1_SIZE; in dram_init()

12