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