xref: /OK3568_Linux_fs/u-boot/include/dt-bindings/clock/maxim,max77802.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun /*
2*4882a593Smuzhiyun  * Copyright (C) 2014 Google, Inc
3*4882a593Smuzhiyun  *
4*4882a593Smuzhiyun  * This program is free software; you can redistribute it and/or modify
5*4882a593Smuzhiyun  * it under the terms of the GNU General Public License version 2 as
6*4882a593Smuzhiyun  * published by the Free Software Foundation.
7*4882a593Smuzhiyun  *
8*4882a593Smuzhiyun  * Device Tree binding constants clocks for the Maxim 77802 PMIC.
9*4882a593Smuzhiyun  */
10*4882a593Smuzhiyun 
11*4882a593Smuzhiyun #ifndef _DT_BINDINGS_CLOCK_MAXIM_MAX77802_CLOCK_H
12*4882a593Smuzhiyun #define _DT_BINDINGS_CLOCK_MAXIM_MAX77802_CLOCK_H
13*4882a593Smuzhiyun 
14*4882a593Smuzhiyun /* Fixed rate clocks. */
15*4882a593Smuzhiyun 
16*4882a593Smuzhiyun #define MAX77802_CLK_32K_AP		0
17*4882a593Smuzhiyun #define MAX77802_CLK_32K_CP		1
18*4882a593Smuzhiyun 
19*4882a593Smuzhiyun /* Total number of clocks. */
20*4882a593Smuzhiyun #define MAX77802_CLKS_NUM		(MAX77802_CLK_32K_CP + 1)
21*4882a593Smuzhiyun 
22*4882a593Smuzhiyun #endif /* _DT_BINDINGS_CLOCK_MAXIM_MAX77802_CLOCK_H */
23