| /kernel/linux/linux-5.10/arch/arm64/boot/dts/mediatek/ |
| D | mt7622-rfb1.dts | 6 * SPDX-License-Identifier: (GPL-2.0 OR MIT) 9 /dts-v1/; 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/gpio/gpio.h> 18 compatible = "mediatek,mt7622-rfb1", "mediatek,mt7622"; 25 stdout-path = "serial0:115200n8"; 31 proc-supply = <&mt6380_vcpu_reg>; 32 sram-supply = <&mt6380_vm_reg>; 36 proc-supply = <&mt6380_vcpu_reg>; 37 sram-supply = <&mt6380_vm_reg>; [all …]
|
| D | mt7622-bananapi-bpi-r64.dts | 5 * SPDX-License-Identifier: (GPL-2.0 OR MIT) 8 /dts-v1/; 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/gpio/gpio.h> 16 model = "Bananapi BPI-R64"; 17 compatible = "bananapi,bpi-r64", "mediatek,mt7622"; 24 stdout-path = "serial0:115200n8"; 30 proc-supply = <&mt6380_vcpu_reg>; 31 sram-supply = <&mt6380_vm_reg>; 35 proc-supply = <&mt6380_vcpu_reg>; [all …]
|
| /kernel/linux/linux-4.19/arch/arm64/boot/dts/mediatek/ |
| D | mt7622-rfb1.dts | 6 * SPDX-License-Identifier: (GPL-2.0 OR MIT) 9 /dts-v1/; 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/gpio/gpio.h> 18 compatible = "mediatek,mt7622-rfb1", "mediatek,mt7622"; 25 stdout-path = "serial0:115200n8"; 31 proc-supply = <&mt6380_vcpu_reg>; 32 sram-supply = <&mt6380_vm_reg>; 36 proc-supply = <&mt6380_vcpu_reg>; 37 sram-supply = <&mt6380_vm_reg>; [all …]
|
| /kernel/linux/linux-4.19/arch/arm/boot/dts/ |
| D | mt7623.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2017-2018 MediaTek Inc. 9 #include <dt-bindings/interrupt-controller/irq.h> 10 #include <dt-bindings/interrupt-controller/arm-gic.h> 11 #include <dt-bindings/clock/mt2701-clk.h> 12 #include <dt-bindings/pinctrl/mt7623-pinfunc.h> 13 #include <dt-bindings/power/mt2701-power.h> 14 #include <dt-bindings/gpio/gpio.h> 15 #include <dt-bindings/phy/phy.h> 16 #include <dt-bindings/reset/mt2701-resets.h> [all …]
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| D | mt7623.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2017-2018 MediaTek Inc. 10 #include <dt-bindings/interrupt-controller/irq.h> 11 #include <dt-bindings/interrupt-controller/arm-gic.h> 12 #include <dt-bindings/clock/mt2701-clk.h> 13 #include <dt-bindings/pinctrl/mt7623-pinfunc.h> 14 #include <dt-bindings/power/mt2701-power.h> 15 #include <dt-bindings/gpio/gpio.h> 16 #include <dt-bindings/phy/phy.h> 17 #include <dt-bindings/reset/mt2701-resets.h> [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/pinctrl/ |
| D | mediatek,mt6779-pinctrl.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/mediatek,mt6779-pinctrl.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Andy Teng <andy.teng@mediatek.com> 15 - compatible: "syscon" 19 const: mediatek,mt6779-pinctrl 25 reg-names: 27 - const: "gpio" 28 - const: "iocfg_rm" [all …]
|
| /kernel/linux/linux-4.19/drivers/mtd/nand/raw/ |
| D | cs553x_nand.c | 14 * mtd-id for command line partitioning is cs553x_nand_cs[0-3] 15 * where 0-3 reflects the chip select for NAND. 55 /* Pin function selection MSR (IDE vs. flash on the IDE pins) */ 59 /* Registers within the NAND flash controller BAR -- memory mapped */ 61 #define MM_NAND_CTL 0x800 /* Any even address 0x800-0x80e */ 62 #define MM_NAND_IO 0x801 /* Any odd address 0x801-0x80f */ 70 /* Registers within the NAND flash controller BAR -- I/O mapped */ 101 memcpy_fromio(buf, this->IO_ADDR_R, 0x800); in cs553x_read_buf() 103 len -= 0x800; in cs553x_read_buf() 105 memcpy_fromio(buf, this->IO_ADDR_R, len); in cs553x_read_buf() [all …]
|
| /kernel/linux/linux-4.19/sound/soc/davinci/ |
| D | davinci-mcasp.c | 4 * Multi-channel Audio Serial Port Driver 6 * Author: Nirmal Pandey <n-pandey@ti.com>, 40 #include "edma-pcm.h" 41 #include "../omap/sdma-pcm.h" 42 #include "davinci-mcasp.h" 120 void __iomem *reg = mcasp->base + offset; in mcasp_set_bits() 127 void __iomem *reg = mcasp->base + offset; in mcasp_clr_bits() 134 void __iomem *reg = mcasp->base + offset; in mcasp_mod_bits() 141 __raw_writel(val, mcasp->base + offset); in mcasp_set_reg() 146 return (u32)__raw_readl(mcasp->base + offset); in mcasp_get_reg() [all …]
|
| /kernel/linux/linux-5.10/drivers/pinctrl/ |
| D | pinctrl-u300.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Copyright (C) 2009-2011 ST-Ericsson AB 11 * pins, so we enumerate the pads we can mux rather than actual pins. The pads 12 * are connected to different pins in different packaging types, so it would 25 #include <linux/pinctrl/pinconf-generic.h> 26 #include "pinctrl-coh901.h" 170 #define DRIVER_NAME "pinctrl-u300" 361 PINCTRL_PIN(171, "MMC CMD DIR LS"), 366 PINCTRL_PIN(176, "MMC CMD"), 623 PINCTRL_PIN(431, "PIO ACC SDIO0 CMD"), [all …]
|
| /kernel/linux/linux-4.19/drivers/pinctrl/ |
| D | pinctrl-u300.c | 5 * Copyright (C) 2009-2011 ST-Ericsson AB 10 * pins, so we enumerate the pads we can mux rather than actual pins. The pads 11 * are connected to different pins in different packaging types, so it would 24 #include <linux/pinctrl/pinconf-generic.h> 25 #include "pinctrl-coh901.h" 169 #define DRIVER_NAME "pinctrl-u300" 360 PINCTRL_PIN(171, "MMC CMD DIR LS"), 365 PINCTRL_PIN(176, "MMC CMD"), 622 PINCTRL_PIN(431, "PIO ACC SDIO0 CMD"), 630 PINCTRL_PIN(439, "PIO USB DAT VP"), [all …]
|
| /kernel/linux/linux-5.10/drivers/mmc/host/ |
| D | alcor.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright (C) 2018 Oleksij Rempel <linux@rempel-privat.de> 12 * thing what I did. 2018 Oleksij Rempel <linux@rempel-privat.de> 47 struct mmc_command *cmd; member 75 struct alcor_pci_priv *priv = host->alcor_pci; in alcor_rmw8() 89 struct alcor_pci_priv *priv = host->alcor_pci; in alcor_mask_sd_irqs() 96 struct alcor_pci_priv *priv = host->alcor_pci; in alcor_unmask_sd_irqs() 106 struct alcor_pci_priv *priv = host->alcor_pci; in alcor_reset() 116 dev_err(host->dev, "%s: timeout\n", __func__); in alcor_reset() 124 struct alcor_pci_priv *priv = host->alcor_pci; in alcor_data_set_dma() [all …]
|
| D | omap_hsmmc.c | 27 #include <linux/dma-mapping.h> 37 #include <linux/mmc/slot-gpio.h> 44 #include <linux/platform_data/hsmmc-omap.h> 153 #define mmc_pdata(host) host->pdata 173 struct mmc_command *cmd; member 220 struct mmc_ios *ios = &mmc->ios; in omap_hsmmc_enable_supply() 222 if (!IS_ERR(mmc->supply.vmmc)) { in omap_hsmmc_enable_supply() 223 ret = mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, ios->vdd); in omap_hsmmc_enable_supply() 229 if (!IS_ERR(mmc->supply.vqmmc) && !host->vqmmc_enabled) { in omap_hsmmc_enable_supply() 230 ret = regulator_enable(mmc->supply.vqmmc); in omap_hsmmc_enable_supply() [all …]
|
| D | sdhci.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * linux/drivers/mmc/host/sdhci.c - Secure Digital Host Controller Interface driver 5 * Copyright (C) 2005-2008 Pierre Ossman, All Rights Reserved. 9 * - JMicron (hardware and technical support) 19 #include <linux/dma-mapping.h> 34 #include <linux/mmc/slot-gpio.h> 41 pr_debug("%s: " DRIVER_NAME ": " f, mmc_hostname(host->mmc), ## x) 44 pr_err("%s: " DRIVER_NAME ": " f, mmc_hostname(host->mmc), ## x) 53 static bool sdhci_send_command(struct sdhci_host *host, struct mmc_command *cmd); 74 SDHCI_DUMP("Wake-up: 0x%08x | Clock: 0x%08x\n", in sdhci_dumpregs() [all …]
|
| /kernel/linux/linux-5.10/drivers/mtd/nand/raw/ |
| D | cs553x_nand.c | 1 // SPDX-License-Identifier: GPL-2.0-only 11 * mtd-id for command line partitioning is cs553x_nand_cs[0-3] 12 * where 0-3 reflects the chip select for NAND. 51 /* Pin function selection MSR (IDE vs. flash on the IDE pins) */ 55 /* Registers within the NAND flash controller BAR -- memory mapped */ 57 #define MM_NAND_CTL 0x800 /* Any even address 0x800-0x80e */ 58 #define MM_NAND_IO 0x801 /* Any odd address 0x801-0x80f */ 66 /* Registers within the NAND flash controller BAR -- I/O mapped */ 110 writeb(ctl, cs553x->mmio + MM_NAND_CTL); in cs553x_write_ctrl_byte() 111 writeb(data, cs553x->mmio + MM_NAND_IO); in cs553x_write_ctrl_byte() [all …]
|
| /kernel/linux/linux-5.10/drivers/pinctrl/zte/ |
| D | pinctrl-zx296718.c | 1 // SPDX-License-Identifier: GPL-2.0-only 14 #include "pinctrl-zx.h" 27 * The pin numbering starts from AON pins with reserved ones included, 28 * so that register data like offset and bit position for AON pins can 591 TOP_MUX(0x0, "SDIO1"), /* cmd */ 647 TOP_MUX(0x0, "USIM1"), /* dat */ 657 TOP_MUX(0x0, "SDIO0"), /* cmd */ 689 TOP_MUX(0x0, "TSI2"), /* dat */ 748 TOP_MUX(0x0, "TSI3"), /* dat */ 873 TOP_MUX(0x4, "USIM0"), /* dat */ [all …]
|
| /kernel/linux/linux-4.19/drivers/pinctrl/zte/ |
| D | pinctrl-zx296718.c | 17 #include "pinctrl-zx.h" 30 * The pin numbering starts from AON pins with reserved ones included, 31 * so that register data like offset and bit position for AON pins can 594 TOP_MUX(0x0, "SDIO1"), /* cmd */ 650 TOP_MUX(0x0, "USIM1"), /* dat */ 660 TOP_MUX(0x0, "SDIO0"), /* cmd */ 692 TOP_MUX(0x0, "TSI2"), /* dat */ 751 TOP_MUX(0x0, "TSI3"), /* dat */ 876 TOP_MUX(0x4, "USIM0"), /* dat */ 979 TOP_MUX(0x2, "USIM0"), /* dat */ [all …]
|
| /kernel/linux/linux-4.19/drivers/mmc/host/ |
| D | s3cmci.c | 2 * linux/drivers/mmc/s3cmci.h - Samsung S3C MCI driver 4 * Copyright (C) 2004-2006 maintech GmbH, Thomas Kleffel <tk@maintech.de> 7 * Copyright (C) 2008 Simtec Electronics <ben-linux@fluff.org> 16 #include <linux/dma-mapping.h> 30 #include <linux/mmc/slot-gpio.h> 32 #include <plat/gpio-cfg.h> 34 #include <mach/gpio-samsung.h> 36 #include <linux/platform_data/mmc-s3cmci.h> 40 #define DRIVER_NAME "s3c-mci" 142 dev_err(&host->pdev->dev, args); \ [all …]
|
| D | omap_hsmmc.c | 27 #include <linux/dma-mapping.h> 38 #include <linux/mmc/slot-gpio.h> 46 #include <linux/platform_data/hsmmc-omap.h> 155 #define mmc_pdata(host) host->pdata 175 struct mmc_command *cmd; member 214 * 0 - closed 215 * 1 - open 233 return mmc_gpio_get_cd(host->mmc); in omap_hsmmc_card_detect() 240 return mmc_gpio_get_cd(host->mmc); in omap_hsmmc_get_cover_state() 247 struct mmc_ios *ios = &mmc->ios; in omap_hsmmc_enable_supply() [all …]
|
| D | sdhci.c | 2 * linux/drivers/mmc/host/sdhci.c - Secure Digital Host Controller Interface driver 4 * Copyright (C) 2005-2008 Pierre Ossman, All Rights Reserved. 13 * - JMicron (hardware and technical support) 21 #include <linux/dma-mapping.h> 36 #include <linux/mmc/slot-gpio.h> 43 pr_debug("%s: " DRIVER_NAME ": " f, mmc_hostname(host->mmc), ## x) 46 pr_err("%s: " DRIVER_NAME ": " f, mmc_hostname(host->mmc), ## x) 76 SDHCI_DUMP("Wake-up: 0x%08x | Clock: 0x%08x\n", in sdhci_dumpregs() 91 SDHCI_DUMP("Cmd: 0x%08x | Max curr: 0x%08x\n", in sdhci_dumpregs() 103 if (host->flags & SDHCI_USE_ADMA) { in sdhci_dumpregs() [all …]
|
| /kernel/linux/linux-5.10/sound/soc/ti/ |
| D | davinci-mcasp.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Multi-channel Audio Serial Port Driver 7 * Author: Nirmal Pandey <n-pandey@ti.com>, 39 #include "edma-pcm.h" 40 #include "sdma-pcm.h" 41 #include "udma-pcm.h" 42 #include "davinci-mcasp.h" 131 void __iomem *reg = mcasp->base + offset; in mcasp_set_bits() 138 void __iomem *reg = mcasp->base + offset; in mcasp_clr_bits() 145 void __iomem *reg = mcasp->base + offset; in mcasp_mod_bits() [all …]
|
| /kernel/linux/linux-4.19/drivers/staging/mt7621-mmc/ |
| D | sd.c | 15 * AN "AS-IS" BASIS ONLY. MEDIATEK EXPRESSLY DISCLAIMS ANY AND ALL WARRANTIES, 38 #include <linux/dma-mapping.h> 47 #include <asm/mach-ralink/ralink_regs.h> 59 #define DRV_NAME "mtk-sd" 62 #define HOST_MAX_MCLK (48000000) /* +/- by chhung */ 64 #define HOST_MAX_MCLK (50000000) /* +/- by chhung */ 75 #if 0 /* --- by chhung */ 78 #endif /* end of --- */ 86 #define MAX_DMA_CNT (64 * 1024 - 512) /* a single transaction for WIFI may be 50K*/ 103 #if 0 /* --- by chhung */ [all …]
|
| /kernel/linux/linux-5.10/drivers/i2c/ |
| D | i2c-core-base.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright (C) 1995-99 Simon G. Vogl 10 * Copyright (C) 2013-2017 Wolfram Sang <wsa@kernel.org> 13 #define pr_fmt(fmt) "i2c-core: " fmt 15 #include <dt-bindings/i2c/i2c.h> 17 #include <linux/clk/clk-conf.h> 24 #include <linux/i2c-smbus.h> 44 #include "i2c-core.h" 86 while (id->name[0]) { in i2c_match_id() 87 if (strcmp(client->name, id->name) == 0) in i2c_match_id() [all …]
|
| /kernel/linux/patches/linux-4.19/hi3516dv300_patch/ |
| D | hi3516dv300.patch | 1 diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig 3 --- a/arch/arm/Kconfig 5 @@ -330,7 +330,7 @@ config ARCH_MULTIPLATFORM 9 - select AUTO_ZRELADDR 14 @@ -751,6 +751,8 @@ source "arch/arm/mach-highbank/Kconfig" 16 source "arch/arm/mach-hisi/Kconfig" 18 +source "arch/arm/mach-hibvt/Kconfig" 20 source "arch/arm/mach-imx/Kconfig" 22 source "arch/arm/mach-integrator/Kconfig" 23 diff --git a/arch/arm/Makefile b/arch/arm/Makefile [all …]
|
| /kernel/linux/linux-5.10/drivers/pinctrl/renesas/ |
| D | pfc-r8a7792.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * r8a7792 processor support - PFC hardware block. 5 * Copyright (C) 2013-2014 Renesas Electronics Corporation 731 /* - AVB -------------------------------------------------------------------- */ 812 /* - CAN -------------------------------------------------------------------- */ 834 /* - DU --------------------------------------------------------------------- */ 948 /* - INTC ------------------------------------------------------------------- */ 977 /* - LBSC ------------------------------------------------------------------- */ 1034 /* - MSIOF0 ----------------------------------------------------------------- */ 1063 /* - MSIOF1 ----------------------------------------------------------------- */ [all …]
|
| /kernel/linux/linux-4.19/drivers/pinctrl/sh-pfc/ |
| D | pfc-r8a7792.c | 2 * r8a7792 processor support - PFC hardware block. 4 * Copyright (C) 2013-2014 Renesas Electronics Corporation 734 /* - AVB -------------------------------------------------------------------- */ 815 /* - CAN -------------------------------------------------------------------- */ 837 /* - DU --------------------------------------------------------------------- */ 951 /* - INTC ------------------------------------------------------------------- */ 980 /* - LBSC ------------------------------------------------------------------- */ 1037 /* - MSIOF0 ----------------------------------------------------------------- */ 1066 /* - MSIOF1 ----------------------------------------------------------------- */ 1095 /* - QSPI ------------------------------------------------------------------- */ [all …]
|