xref: /freebsd/sys/contrib/device-tree/include/dt-bindings/clock/s5pv210-audss.h (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot /* SPDX-License-Identifier: GPL-2.0-only */
2*c66ec88fSEmmanuel Vadot /*
3*c66ec88fSEmmanuel Vadot  * Copyright (c) 2014 Tomasz Figa <tomasz.figa@gmail.com>
4*c66ec88fSEmmanuel Vadot  *
5*c66ec88fSEmmanuel Vadot  * This header provides constants for Samsung audio subsystem
6*c66ec88fSEmmanuel Vadot  * clock controller.
7*c66ec88fSEmmanuel Vadot  *
8*c66ec88fSEmmanuel Vadot  * The constants defined in this header are being used in dts
9*c66ec88fSEmmanuel Vadot  * and s5pv210 audss driver.
10*c66ec88fSEmmanuel Vadot  */
11*c66ec88fSEmmanuel Vadot 
12*c66ec88fSEmmanuel Vadot #ifndef _DT_BINDINGS_CLOCK_S5PV210_AUDSS_H
13*c66ec88fSEmmanuel Vadot #define _DT_BINDINGS_CLOCK_S5PV210_AUDSS_H
14*c66ec88fSEmmanuel Vadot 
15*c66ec88fSEmmanuel Vadot #define CLK_MOUT_AUDSS		0
16*c66ec88fSEmmanuel Vadot #define CLK_MOUT_I2S_A		1
17*c66ec88fSEmmanuel Vadot 
18*c66ec88fSEmmanuel Vadot #define CLK_DOUT_AUD_BUS	2
19*c66ec88fSEmmanuel Vadot #define CLK_DOUT_I2S_A		3
20*c66ec88fSEmmanuel Vadot 
21*c66ec88fSEmmanuel Vadot #define CLK_I2S			4
22*c66ec88fSEmmanuel Vadot #define CLK_HCLK_I2S		5
23*c66ec88fSEmmanuel Vadot #define CLK_HCLK_UART		6
24*c66ec88fSEmmanuel Vadot #define CLK_HCLK_HWA		7
25*c66ec88fSEmmanuel Vadot #define CLK_HCLK_DMA		8
26*c66ec88fSEmmanuel Vadot #define CLK_HCLK_BUF		9
27*c66ec88fSEmmanuel Vadot #define CLK_HCLK_RP		10
28*c66ec88fSEmmanuel Vadot 
29*c66ec88fSEmmanuel Vadot #define AUDSS_MAX_CLKS		11
30*c66ec88fSEmmanuel Vadot 
31*c66ec88fSEmmanuel Vadot #endif
32