xref: /freebsd/sys/contrib/device-tree/include/dt-bindings/clock/maxim,max77686.h (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot /* SPDX-License-Identifier: GPL-2.0 */
2*c66ec88fSEmmanuel Vadot /*
3*c66ec88fSEmmanuel Vadot  * Copyright (C) 2014 Google, Inc
4*c66ec88fSEmmanuel Vadot  *
5*c66ec88fSEmmanuel Vadot  * Device Tree binding constants clocks for the Maxim 77686 PMIC.
6*c66ec88fSEmmanuel Vadot  */
7*c66ec88fSEmmanuel Vadot 
8*c66ec88fSEmmanuel Vadot #ifndef _DT_BINDINGS_CLOCK_MAXIM_MAX77686_CLOCK_H
9*c66ec88fSEmmanuel Vadot #define _DT_BINDINGS_CLOCK_MAXIM_MAX77686_CLOCK_H
10*c66ec88fSEmmanuel Vadot 
11*c66ec88fSEmmanuel Vadot /* Fixed rate clocks. */
12*c66ec88fSEmmanuel Vadot 
13*c66ec88fSEmmanuel Vadot #define MAX77686_CLK_AP		0
14*c66ec88fSEmmanuel Vadot #define MAX77686_CLK_CP		1
15*c66ec88fSEmmanuel Vadot #define MAX77686_CLK_PMIC	2
16*c66ec88fSEmmanuel Vadot 
17*c66ec88fSEmmanuel Vadot /* Total number of clocks. */
18*c66ec88fSEmmanuel Vadot #define MAX77686_CLKS_NUM		(MAX77686_CLK_PMIC + 1)
19*c66ec88fSEmmanuel Vadot 
20*c66ec88fSEmmanuel Vadot #endif /* _DT_BINDINGS_CLOCK_MAXIM_MAX77686_CLOCK_H */
21