| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/spi/ |
| D | spi-peripheral-props.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/spi/spi-peripheral-props.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Peripheral-specific properties for a SPI bus. 10 Many SPI controllers need to add properties to peripheral devices. They could 11 be common properties like spi-max-frequency, spi-cpha, etc. or they could be 12 controller specific like delay in clock or data lines, etc. These properties 13 need to be defined in the peripheral node because they are per-peripheral and 19 - Mark Brown <broonie@kernel.org> [all …]
|
| /kernel/linux/linux-5.10/drivers/spi/ |
| D | spi-bitbang.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * polling/bitbanging SPI master controller driver utilities 10 #include <linux/delay.h> 15 #include <linux/spi/spi.h> 16 #include <linux/spi/spi_bitbang.h> 21 /*----------------------------------------------------------------------*/ 24 * FIRST PART (OPTIONAL): word-at-a-time spi_transfer support. 25 * Use this for GPIO or shift-register level hardware APIs. 27 * spi_bitbang_cs is in spi_device->controller_state, which is unavailable 28 * to glue code. These bitbang setup() and cleanup() routines are always [all …]
|
| D | spi-dw-core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Designware SPI core controller driver (refer pxa2xx_spi.c) 8 #include <linux/dma-mapping.h> 13 #include <linux/delay.h> 15 #include <linux/spi/spi.h> 16 #include <linux/spi/spi-mem.h> 20 #include "spi-dw.h" 29 u32 rx_sample_dly; /* RX sample delay */ 63 snprintf(name, 32, "dw_spi%d", dws->master->bus_num); in dw_spi_debugfs_init() 64 dws->debugfs = debugfs_create_dir(name, NULL); in dw_spi_debugfs_init() [all …]
|
| D | spi-cadence-quadspi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 // Copyright Altera Corporation (C) 2012-2014. All rights reserved. 6 // Copyright Intel Corporation (C) 2019-2020. All rights reserved. 7 // Copyright (C) 2020 Texas Instruments Incorporated - http://www.ti.com 11 #include <linux/delay.h> 12 #include <linux/dma-mapping.h> 28 #include <linux/spi/spi.h> 29 #include <linux/spi/spi-mem.h> 32 #define CQSPI_NAME "cadence-qspi" 55 u8 cs; member [all …]
|
| D | spi.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 // SPI init/core code 11 #include <linux/dma-mapping.h> 16 #include <linux/clk/clk-conf.h> 19 #include <linux/spi/spi.h> 20 #include <linux/spi/spi-mem.h> 29 #include <linux/delay.h> 38 #include <trace/events/spi.h> 48 struct spi_device *spi = to_spi_device(dev); in spidev_release() local 50 spi_controller_put(spi->controller); in spidev_release() [all …]
|
| D | spi-fsl-dspi.c | 1 // SPDX-License-Identifier: GPL-2.0+ 10 #include <linux/delay.h> 12 #include <linux/dma-mapping.h> 19 #include <linux/spi/spi.h> 20 #include <linux/spi/spi-fsl-dspi.h> 22 #define DRIVER_NAME "fsl-dspi" 105 #define SPI_FRAME_BITS(bits) SPI_CTAR_FMSZ((bits) - 1) 106 #define SPI_FRAME_EBITS(bits) SPI_CTARE_FMSZE(((bits) - 1) >> 4) 145 /* Has A-011218 DMA erratum */ 151 /* Has A-011218 DMA erratum */ [all …]
|
| D | spi-loopback-test.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * linux/drivers/spi/spi-loopback-test.c 12 #include <linux/delay.h> 21 #include <linux/spi/spi.h> 23 #include "spi-test.h" 28 MODULE_PARM_DESC(simulate_only, "if not 0 do not execute the spi message"); 30 /* dump spi messages */ 37 /* the device is jumpered for loopback - enabling some rx_buf tests */ 54 "if set Chip Select (CS) will not be used"); 57 static int run_only_test = -1; [all …]
|
| D | spi-stm32.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // STMicroelectronics STM32 SPI Controller driver (master mode only) 5 // Copyright (C) 2017, STMicroelectronics - All Rights Reserved 10 #include <linux/delay.h> 19 #include <linux/spi/spi.h> 23 /* STM32F4 SPI registers */ 72 /* STM32F4 SPI Baud Rate min/max divisor */ 76 /* STM32H7 SPI registers */ 153 /* STM32H7 SPI Master Baud Rate min/max divisor */ 157 /* STM32H7 SPI Communication mode */ [all …]
|
| /kernel/linux/linux-6.6/drivers/spi/ |
| D | spi-bitbang.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * polling/bitbanging SPI master controller driver utilities 10 #include <linux/delay.h> 15 #include <linux/spi/spi.h> 16 #include <linux/spi/spi_bitbang.h> 21 /*----------------------------------------------------------------------*/ 24 * FIRST PART (OPTIONAL): word-at-a-time spi_transfer support. 25 * Use this for GPIO or shift-register level hardware APIs. 27 * spi_bitbang_cs is in spi_device->controller_state, which is unavailable 28 * to glue code. These bitbang setup() and cleanup() routines are always [all …]
|
| D | spi-dw-core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Designware SPI core controller driver (refer pxa2xx_spi.c) 9 #include <linux/dma-mapping.h> 14 #include <linux/delay.h> 16 #include <linux/spi/spi.h> 17 #include <linux/spi/spi-mem.h> 21 #include "spi-dw.h" 30 u32 rx_sample_dly; /* RX sample delay */ 64 snprintf(name, 32, "dw_spi%d", dws->host->bus_num); in dw_spi_debugfs_init() 65 dws->debugfs = debugfs_create_dir(name, NULL); in dw_spi_debugfs_init() [all …]
|
| D | spi-rockchip.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Author: Addy Ke <addy.ke@rock-chips.com> 14 #include <linux/spi/spi.h> 18 #define DRIVER_NAME "rockchip-spi" 25 /* SPI register offsets */ 67 /* ss_n to sclk_out delay */ 154 /* sclk_out: spi host internal logic in rk3x can support 50Mhz */ 158 * SPI_CTRLR1 is 16-bits, so we should support lengths of 0xffff + 1. However, 163 /* 2 for native cs, 2 for cs-gpio */ 198 bool cs_inactive; /* spi target tansmition stop when cs inactive */ [all …]
|
| D | spi.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 // SPI init/core code 9 #include <linux/clk/clk-conf.h> 10 #include <linux/delay.h> 13 #include <linux/dma-mapping.h> 34 #include <linux/spi/spi.h> 35 #include <linux/spi/spi-mem.h> 39 #include <trace/events/spi.h> 49 struct spi_device *spi = to_spi_device(dev); in spidev_release() local 51 spi_controller_put(spi->controller); in spidev_release() [all …]
|
| D | spi-cadence-quadspi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 // Copyright Altera Corporation (C) 2012-2014. All rights reserved. 6 // Copyright Intel Corporation (C) 2019-2020. All rights reserved. 7 // Copyright (C) 2020 Texas Instruments Incorporated - http://www.ti.com 11 #include <linux/delay.h> 12 #include <linux/dma-mapping.h> 16 #include <linux/firmware/xlnx-zynqmp.h> 29 #include <linux/spi/spi.h> 30 #include <linux/spi/spi-mem.h> 33 #define CQSPI_NAME "cadence-qspi" [all …]
|
| D | spi-fsl-dspi.c | 1 // SPDX-License-Identifier: GPL-2.0+ 10 #include <linux/delay.h> 12 #include <linux/dma-mapping.h> 20 #include <linux/spi/spi.h> 21 #include <linux/spi/spi-fsl-dspi.h> 23 #define DRIVER_NAME "fsl-dspi" 106 #define SPI_FRAME_BITS(bits) SPI_CTAR_FMSZ((bits) - 1) 107 #define SPI_FRAME_EBITS(bits) SPI_CTARE_FMSZE(((bits) - 1) >> 4) 146 /* Has A-011218 DMA erratum */ 152 /* Has A-011218 DMA erratum */ [all …]
|
| D | spi-loopback-test.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * linux/drivers/spi/spi-loopback-test.c 12 #include <linux/delay.h> 21 #include <linux/spi/spi.h> 23 #include "spi-test.h" 28 MODULE_PARM_DESC(simulate_only, "if not 0 do not execute the spi message"); 30 /* dump spi messages */ 37 /* the device is jumpered for loopback - enabling some rx_buf tests */ 54 "if set Chip Select (CS) will not be used"); 57 static int run_only_iter_len = -1; [all …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/st/ |
| D | stm32mp15xx-dhcor-drc-compact.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) 21 stdout-path = "serial0:115200n8"; 25 compatible = "gpio-leds"; 29 default-state = "off"; 35 default-state = "off"; 40 compatible = "regulator-fixed"; 41 regulator-name = "vio"; 42 regulator-min-microvolt = <3300000>; 43 regulator-max-microvolt = <3300000>; 45 regulator-always-on; [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/dsa/ |
| D | sja1105.txt | 6 - compatible: 8 - "nxp,sja1105e" 9 - "nxp,sja1105t" 10 - "nxp,sja1105p" 11 - "nxp,sja1105q" 12 - "nxp,sja1105r" 13 - "nxp,sja1105s" 18 and the non-SGMII devices, while pin-compatible, are not equal in terms 24 - sja1105,role-mac: 25 - sja1105,role-phy: [all …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/microchip/ |
| D | at91-sama5d2_icp.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * at91-sama5d2_icp.dts - Device Tree file for SAMA5D2-ICP board 11 /dts-v1/; 13 #include "sama5d2-pinfunc.h" 14 #include <dt-bindings/gpio/gpio.h> 15 #include <dt-bindings/input/input.h> 16 #include <dt-bindings/mfd/atmel-flexcom.h> 19 model = "Microchip SAMA5D2-ICP"; 20 compatible = "microchip,sama5d2-icp", "atmel,sama5d27", "atmel,sama5d2", "atmel,sama5"; 32 stdout-path = "serial0:115200n8"; [all …]
|
| D | at91-sam9x60ek.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * at91-sam9x60ek.dts - Device Tree file for Microchip SAM9X60-EK board 9 /dts-v1/; 11 #include <dt-bindings/input/input.h> 14 model = "Microchip SAM9X60-EK"; 24 stdout-path = "serial0:115200n8"; 29 clock-frequency = <32768>; 33 clock-frequency = <24000000>; 37 gpio-keys { 38 compatible = "gpio-keys"; [all …]
|
| /kernel/linux/linux-5.10/arch/mips/txx9/rbtx4938/ |
| D | setup.c | 2 * Setup pointers to hardware-dependent routines. 3 * Copyright (C) 2000-2001 Toshiba Corporation 5 * 2003-2005 (c) MontaVista Software, Inc. This file is licensed under the 10 * Support for TX4938 in 2.6 - Manish Lachwani (mlachwani@mvista.com) 15 #include <linux/delay.h> 26 #include <linux/spi/spi.h> 27 #include <asm/txx9/spi.h> 43 int extarb = !(__raw_readq(&tx4938_ccfgptr->ccfg) & TX4938_CCFG_PCIARB); in rbtx4938_pci_setup() 48 if (__raw_readq(&tx4938_ccfgptr->ccfg) & TX4938_CCFG_PCI66) in rbtx4938_pci_setup() 56 txx9_set64(&tx4938_ccfgptr->clkctr, TX4938_CLKCTR_PCIRST); in rbtx4938_pci_setup() [all …]
|
| /kernel/linux/linux-6.6/arch/arm/common/ |
| D | locomo.c | 1 // SPDX-License-Identifier: GPL-2.0-only 18 #include <linux/delay.h> 46 /* DAC setup and hold times (expressed in us) */ 53 #define DAC_DATA_SETUP_TIME 1 /* 250 ns */ 54 #define DAC_DATA_HOLD_TIME 1 /* 300 ns */ 55 #define DAC_LOW_SETUP_TIME 1 /* 300 ns */ 56 #define DAC_HIGH_SETUP_TIME 1 /* 1000 ns */ 79 /* All the locomo devices. If offset is non-zero, the mapbase for the 88 .name = "locomo-keyboard", 95 .name = "locomo-frontlight", [all …]
|
| /kernel/linux/linux-5.10/arch/arm/common/ |
| D | locomo.c | 1 // SPDX-License-Identifier: GPL-2.0-only 18 #include <linux/delay.h> 47 /* DAC setup and hold times (expressed in us) */ 54 #define DAC_DATA_SETUP_TIME 1 /* 250 ns */ 55 #define DAC_DATA_HOLD_TIME 1 /* 300 ns */ 56 #define DAC_LOW_SETUP_TIME 1 /* 300 ns */ 57 #define DAC_HIGH_SETUP_TIME 1 /* 1000 ns */ 80 /* All the locomo devices. If offset is non-zero, the mapbase for the 89 .name = "locomo-keyboard", 96 .name = "locomo-frontlight", [all …]
|
| /kernel/linux/linux-5.10/drivers/soc/mediatek/ |
| D | mtk-pmic-wrap.c | 1 // SPDX-License-Identifier: GPL-2.0-only 1101 return readl(wrp->base + wrp->master->regs[reg]); in pwrap_readl() 1106 writel(val, wrp->base + wrp->master->regs[reg]); in pwrap_writel() 1159 return fp(wrp) ? 0 : -ETIMEDOUT; in pwrap_wait_for_state() 1218 return wrp->slave->pwrap_read(wrp, adr, rdata); in pwrap_read() 1254 * for the synchronization between two successive 16-bit in pwrap_write32() 1255 * pwrap_writel operations composing one 32-bit bus writing. in pwrap_write32() 1256 * Otherwise, we'll find the result fails on the lower 16-bit in pwrap_write32() 1268 return wrp->slave->pwrap_write(wrp, adr, wdata); in pwrap_write() 1291 pwrap_writel(wrp, wrp->master->spi_w | PWRAP_MAN_CMD_OP_CSL, in pwrap_reset_spislave() [all …]
|
| /kernel/linux/linux-6.6/drivers/soc/mediatek/ |
| D | mtk-pmic-wrap.c | 1 // SPDX-License-Identifier: GPL-2.0-only 1346 * struct pwrap_slv_type - PMIC device wrapper definitions 1395 return readl(wrp->base + wrp->master->regs[reg]); in pwrap_readl() 1400 writel(val, wrp->base + wrp->master->regs[reg]); in pwrap_writel() 1408 if (HAS_CAP(wrp->master->caps, PWRAP_CAP_ARB)) in pwrap_get_fsm_state() 1464 if (HAS_CAP(wrp->master->caps, PWRAP_CAP_ARB)) in pwrap_read16() 1475 if (HAS_CAP(wrp->master->caps, PWRAP_CAP_ARB)) in pwrap_read16() 1520 return wrp->slave->regops->pwrap_read(wrp, adr, rdata); in pwrap_read() 1535 if (HAS_CAP(wrp->master->caps, PWRAP_CAP_ARB)) { in pwrap_write16() 1565 * for the synchronization between two successive 16-bit in pwrap_write32() [all …]
|
| /kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/ |
| D | 0030_linux_drivers_pci_misc_nvmem_of_mtd_mmc.patch | 7 Change-Id: Iec160bd007994d82f416debdccfbc0d9bdb40470 9 diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig 11 --- a/drivers/misc/Kconfig 13 @@ -314,6 +314,26 @@ config ISL29020 40 diff --git a/drivers/misc/Makefile b/drivers/misc/Makefile 42 --- a/drivers/misc/Makefile 44 @@ -19,6 +19,8 @@ obj-$(CONFIG_TIFM_7XX1) += tifm_7xx1.o 45 obj-$(CONFIG_PHANTOM) += phantom.o 46 obj-$(CONFIG_QCOM_COINCELL) += qcom-coincell.o 47 obj-$(CONFIG_QCOM_FASTRPC) += fastrpc.o [all …]
|