spi: spi-msm-geni: Add SPI GENI driver snapshot

This is a snapshot of SPI GENI driver and associated files
as of msm-4.19 'commit c01ec6b5c60a ("geni-qcom-se: Reduce
the ab of QUP Core2x clock")'.

Change-Id: Id23acc4fe0c69c6437f1567031f0e1536732822c
Signed-off-by: Vipin Deep Kaur <vkaur@codeaurora.org>
This commit is contained in:
Vipin Deep Kaur 2019-11-05 12:19:02 +05:30
parent b01a5e53da
commit b03b9b1ac8
4 changed files with 1670 additions and 0 deletions

View File

@ -605,6 +605,18 @@ config SPI_QCOM_GENI
This driver can also be built as a module. If so, the module
will be called spi-geni-qcom.
config SPI_MSM_GENI
tristate "Qualcomm Technologies Inc.'s GENI based SPI controller"
depends on MSM_GENI_SE
help
This driver supports GENI serial engine based SPI controller in
master mode on the Qualcomm Technologies Inc.'s SoCs. If you say
yes to this option, support will be included for the built-in SPI
interface on the Qualcomm Technologies Inc.'s SoCs.
This driver can also be built as a module. If so, the module
will be called spi-msm-geni.
config SPI_S3C24XX
tristate "Samsung S3C24XX series SPI"
depends on ARCH_S3C24XX

View File

@ -82,6 +82,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_QCOM_GENI) += spi-geni-qcom.o
obj-$(CONFIG_SPI_MSM_GENI) += spi-msm-geni.o
obj-$(CONFIG_SPI_QCOM_QSPI) += spi-qcom-qspi.o
obj-$(CONFIG_SPI_QUP) += spi-qup.o
obj-$(CONFIG_SPI_ROCKCHIP) += spi-rockchip.o

1643
drivers/spi/spi-msm-geni.c Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,14 @@
/* 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___*/