mirror of
https://github.com/hardkernel/kernel_common_drivers.git
synced 2026-06-25 12:03:48 +09:00
def9f94e2d
PD#SWPL-117197 Problem: T3X SOCs new spi controller driver bringup Solution: T3X SOCs new spi controller driver bringup Verify: T3X BC302 Change-Id: I90a560f840dea7c3f9ee5984b7795154eca06bd9 Signed-off-by: Sunny Luo <sunny.luo@amlogic.com>
34 lines
777 B
C
34 lines
777 B
C
/* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */
|
|
/*
|
|
* Copyright (c) 2019 Amlogic, Inc. All rights reserved.
|
|
*/
|
|
|
|
#ifndef _SPI_MODULE_H__
|
|
#define _SPI_MODULE_H__
|
|
|
|
#ifdef MODULE
|
|
|
|
#ifdef CONFIG_AMLOGIC_SPI_MESON_SPICC
|
|
extern struct platform_driver meson_spicc_driver;
|
|
#endif
|
|
|
|
#ifdef CONFIG_AMLOGIC_SPI_MESON_SPICC_V2
|
|
extern struct platform_driver meson_spicc_v2_driver;
|
|
#endif
|
|
|
|
#ifdef CONFIG_AMLOGIC_SPI_MESON_SPIFC
|
|
extern struct platform_driver meson_spifc_driver;
|
|
#endif
|
|
|
|
#if IS_ENABLED(CONFIG_AMLOGIC_SPI_MESON_SPIFC_V2)
|
|
extern struct platform_driver meson_spifc_v2_driver;
|
|
#endif
|
|
|
|
#ifdef CONFIG_AMLOGIC_SPI_MESON_SPICC_SLAVE
|
|
extern struct platform_driver sspicc_driver;
|
|
int __init vmem_init(void);
|
|
#endif
|
|
|
|
#endif /* end of ifdef MODULE */
|
|
#endif /* end of _SPI_MODULE_H__ */
|