| xj | b04a402 | 2021-11-25 15:01:52 +0800 | [diff] [blame] | 1 | /* | 
|  | 2 | * Copyright (C) 2014 Google, Inc | 
|  | 3 | * | 
|  | 4 | * This program is free software; you can redistribute it and/or modify | 
|  | 5 | * it under the terms of the GNU General Public License version 2 as | 
|  | 6 | * published by the Free Software Foundation. | 
|  | 7 | * | 
|  | 8 | * Device Tree binding constants clocks for the Maxim 77686 PMIC. | 
|  | 9 | */ | 
|  | 10 |  | 
|  | 11 | #ifndef _DT_BINDINGS_CLOCK_MAXIM_MAX77686_CLOCK_H | 
|  | 12 | #define _DT_BINDINGS_CLOCK_MAXIM_MAX77686_CLOCK_H | 
|  | 13 |  | 
|  | 14 | /* Fixed rate clocks. */ | 
|  | 15 |  | 
|  | 16 | #define MAX77686_CLK_AP		0 | 
|  | 17 | #define MAX77686_CLK_CP		1 | 
|  | 18 | #define MAX77686_CLK_PMIC	2 | 
|  | 19 |  | 
|  | 20 | /* Total number of clocks. */ | 
|  | 21 | #define MAX77686_CLKS_NUM		(MAX77686_CLK_PMIC + 1) | 
|  | 22 |  | 
|  | 23 | #endif /* _DT_BINDINGS_CLOCK_MAXIM_MAX77686_CLOCK_H */ |