Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4652e364 authored by Vipin Deep Kaur's avatar Vipin Deep Kaur Committed by Gerrit - the friendly Code Review server
Browse files

spi-geni-qcom: Add SPI GENI driver snapshot



This spi geni driver snapshot is taken as of msm-4.14
 commit: be9a6fd 51d0318
    (Merge "msm: pcie: add support for varying PCIe PHY
	status bit").

Change-Id: Ifb1854257d4d001d47dba16f756940794bc0c636
Signed-off-by: default avatarVipin Deep Kaur <vkaur@codeaurora.org>
parent 2aaf0403
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -533,6 +533,18 @@ config SPI_QUP
	  This driver can also be built as a module.  If so, the module
	  will be called spi_qup.

config SPI_QCOM_GENI
        tristate "Qualcomm Technologies Inc.'s GENI based SPI controller"
        depends on ARCH_QCOM
        help
          SPI driver for Qualcomm Technologies Inc's GENI based controller.
          The controller can run upto 50 Mhz, support upto 4 CS lines,
          programmable bits per word from 4 to 32 and supports the various
          SPI modes. It can operate in FIFO mode (SW driven IO) and DMA mode.

          This driver can also be built as a module.  If so, the module
          will be called spi-geni-qcom.

config SPI_S3C24XX
	tristate "Samsung S3C24XX series SPI"
	depends on ARCH_S3C24XX
+1 −0
Original line number Diff line number Diff line
@@ -75,6 +75,7 @@ spi-pxa2xx-platform-objs := spi-pxa2xx.o spi-pxa2xx-dma.o
obj-$(CONFIG_SPI_PXA2XX)		+= spi-pxa2xx-platform.o
obj-$(CONFIG_SPI_PXA2XX_PCI)		+= spi-pxa2xx-pci.o
obj-$(CONFIG_SPI_QUP)			+= spi-qup.o
obj-$(CONFIG_SPI_QCOM_GENI)             += spi-geni-qcom.o
obj-$(CONFIG_SPI_ROCKCHIP)		+= spi-rockchip.o
obj-$(CONFIG_SPI_RB4XX)			+= spi-rb4xx.o
obj-$(CONFIG_SPI_RSPI)			+= spi-rspi.o
+1642 −0

File added.

Preview size limit exceeded, changes collapsed.

+14 −0
Original line number Diff line number Diff line
/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * Copyright (c) 2017-2019, The Linux Foundation. All rights reserved.
 */

#ifndef __SPI_GENI_QCOM_HEADER___
#define __SPI_GENI_QCOM_HEADER___

struct spi_geni_qcom_ctrl_data {
	u32 spi_cs_clk_delay;
	u32 spi_inter_words_delay;
};

#endif /*__SPI_GENI_QCOM_HEADER___*/