mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-12 07:57:21 +00:00
77b55e8cfc
Move arch/arm/cpu/armv7/exynos/* to arch/arm/mach-exynos/* to allow reuse of existing code for ARMv8 based Exynos platforms. Cc: Minkyu Kang <mk7.kang@samsung.com> Cc: Albert Aribaud <albert.u.boot@aribaud.net> Cc: Masahiro Yamada <yamada.m@jp.panasonic.com> Signed-off-by: Thomas Abraham <thomas.ab@samsung.com> Reviewed-by: Masahiro Yamada <yamada.masahiro@socionext.com> Tested-by: Przemyslaw Marczak <p.marczak@samsung.com> Acked-by: Przemyslaw Marczak <p.marczak@samsung.com> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
56 lines
1.4 KiB
C
56 lines
1.4 KiB
C
/*
|
|
* Copyright (C) 2012 Samsung Electronics
|
|
* R. Chandrasekar <rcsekar@samsung.com>
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
#ifndef __I2S_REGS_H__
|
|
#define __I2S_REGS_H__
|
|
|
|
#define CON_RESET (1 << 31)
|
|
#define CON_TXFIFO_FULL (1 << 8)
|
|
#define CON_TXCH_PAUSE (1 << 4)
|
|
#define CON_ACTIVE (1 << 0)
|
|
|
|
#define MOD_OP_CLK (3 << 30)
|
|
#define MOD_BLCP_SHIFT 24
|
|
#define MOD_BLCP_16BIT (0 << MOD_BLCP_SHIFT)
|
|
#define MOD_BLCP_8BIT (1 << MOD_BLCP_SHIFT)
|
|
#define MOD_BLCP_24BIT (2 << MOD_BLCP_SHIFT)
|
|
#define MOD_BLCP_MASK (3 << MOD_BLCP_SHIFT)
|
|
|
|
#define MOD_BLC_16BIT (0 << 13)
|
|
#define MOD_BLC_8BIT (1 << 13)
|
|
#define MOD_BLC_24BIT (2 << 13)
|
|
#define MOD_BLC_MASK (3 << 13)
|
|
|
|
#define MOD_SLAVE (1 << 11)
|
|
#define MOD_RCLKSRC (0 << 10)
|
|
#define MOD_MASK (3 << 8)
|
|
#define MOD_LR_LLOW (0 << 7)
|
|
#define MOD_LR_RLOW (1 << 7)
|
|
#define MOD_SDF_IIS (0 << 5)
|
|
#define MOD_SDF_MSB (1 << 5)
|
|
#define MOD_SDF_LSB (2 << 5)
|
|
#define MOD_SDF_MASK (3 << 5)
|
|
#define MOD_RCLK_256FS (0 << 3)
|
|
#define MOD_RCLK_512FS (1 << 3)
|
|
#define MOD_RCLK_384FS (2 << 3)
|
|
#define MOD_RCLK_768FS (3 << 3)
|
|
#define MOD_RCLK_MASK (3 << 3)
|
|
#define MOD_BCLK_32FS (0 << 1)
|
|
#define MOD_BCLK_48FS (1 << 1)
|
|
#define MOD_BCLK_16FS (2 << 1)
|
|
#define MOD_BCLK_24FS (3 << 1)
|
|
#define MOD_BCLK_MASK (3 << 1)
|
|
|
|
#define MOD_CDCLKCON (1 << 12)
|
|
|
|
#define FIC_TXFLUSH (1 << 15)
|
|
#define FIC_RXFLUSH (1 << 7)
|
|
|
|
#define PSREN (1 << 15)
|
|
#define PSVAL (3 << 8)
|
|
|
|
#endif /* __I2S_REGS_H__ */
|