mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-26 03:17:48 +00:00
398ccccb77
We need a way to pass controller specific information to the SPI driver. For that purpose new headers are made. SPI Controller is assumed 'type-s3c64xx' and can be defined for newer SoCs. Hence, that part is placed under plat-samsung to be shared across newer SoCs. SoC specific part - spi source clocks, will be placed under plat-<soc>/include/plat/ Signed-off-by: Jassi Brar <jassi.brar@samsung.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
19 lines
569 B
C
19 lines
569 B
C
/* linux/arch/arm/plat-s3c64xx/include/plat/spi-clocks.h
|
|
*
|
|
* Copyright (C) 2009 Samsung Electronics Ltd.
|
|
* Jaswinder Singh <jassi.brar@samsung.com>
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*/
|
|
|
|
#ifndef __S3C64XX_PLAT_SPI_CLKS_H
|
|
#define __S3C64XX_PLAT_SPI_CLKS_H __FILE__
|
|
|
|
#define S3C64XX_SPI_SRCCLK_PCLK 0
|
|
#define S3C64XX_SPI_SRCCLK_SPIBUS 1
|
|
#define S3C64XX_SPI_SRCCLK_48M 2
|
|
|
|
#endif /* __S3C64XX_PLAT_SPI_CLKS_H */
|