1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * s3c24xx-i2s.c -- ALSA Soc Audio Layer
5 * Copyright 2005 Wolfson Microelectronics PLC.
6 * Author: Graeme Gregory
7 * graeme.gregory@wolfsonmicro.com or linux@wolfsonmicro.com
10 * 10th Nov 2006 Initial version.
17 #define S3C24XX_CLKSRC_PCLK 0
18 #define S3C24XX_CLKSRC_MPLL 1
21 #define S3C24XX_DIV_MCLK 0
22 #define S3C24XX_DIV_BCLK 1
23 #define S3C24XX_DIV_PRESCALER 2
26 #define S3C24XX_PRESCALE(a,b) \
27 (((a - 1) << S3C2410_IISPSR_INTSHIFT) | ((b - 1) << S3C2410_IISPSR_EXTSHFIT))
29 u32
s3c24xx_i2s_get_clockrate(void);
31 #endif /*S3C24XXI2S_H_*/