xref: /linux/include/dt-bindings/clock/maxim,max77686.h (revision a8a76f563cfa1a4e47b6d8b2bef9c0d44a3fd7b0)
1*a8a76f56SJavier Martinez Canillas /*
2*a8a76f56SJavier Martinez Canillas  * Copyright (C) 2014 Google, Inc
3*a8a76f56SJavier Martinez Canillas  *
4*a8a76f56SJavier Martinez Canillas  * This program is free software; you can redistribute it and/or modify
5*a8a76f56SJavier Martinez Canillas  * it under the terms of the GNU General Public License version 2 as
6*a8a76f56SJavier Martinez Canillas  * published by the Free Software Foundation.
7*a8a76f56SJavier Martinez Canillas  *
8*a8a76f56SJavier Martinez Canillas  * Device Tree binding constants clocks for the Maxim 77686 PMIC.
9*a8a76f56SJavier Martinez Canillas  */
10*a8a76f56SJavier Martinez Canillas 
11*a8a76f56SJavier Martinez Canillas #ifndef _DT_BINDINGS_CLOCK_MAXIM_MAX77686_CLOCK_H
12*a8a76f56SJavier Martinez Canillas #define _DT_BINDINGS_CLOCK_MAXIM_MAX77686_CLOCK_H
13*a8a76f56SJavier Martinez Canillas 
14*a8a76f56SJavier Martinez Canillas /* Fixed rate clocks. */
15*a8a76f56SJavier Martinez Canillas 
16*a8a76f56SJavier Martinez Canillas #define MAX77686_CLK_AP		0
17*a8a76f56SJavier Martinez Canillas #define MAX77686_CLK_CP		1
18*a8a76f56SJavier Martinez Canillas #define MAX77686_CLK_PMIC	2
19*a8a76f56SJavier Martinez Canillas 
20*a8a76f56SJavier Martinez Canillas /* Total number of clocks. */
21*a8a76f56SJavier Martinez Canillas #define MAX77686_CLKS_NUM		(MAX77686_CLK_PMIC + 1)
22*a8a76f56SJavier Martinez Canillas 
23*a8a76f56SJavier Martinez Canillas #endif /* _DT_BINDINGS_CLOCK_MAXIM_MAX77686_CLOCK_H */
24