xref: /freebsd/sys/contrib/device-tree/include/dt-bindings/clock/maxim,max77802.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 77802 PMIC.
6*c66ec88fSEmmanuel Vadot  */
7*c66ec88fSEmmanuel Vadot 
8*c66ec88fSEmmanuel Vadot #ifndef _DT_BINDINGS_CLOCK_MAXIM_MAX77802_CLOCK_H
9*c66ec88fSEmmanuel Vadot #define _DT_BINDINGS_CLOCK_MAXIM_MAX77802_CLOCK_H
10*c66ec88fSEmmanuel Vadot 
11*c66ec88fSEmmanuel Vadot /* Fixed rate clocks. */
12*c66ec88fSEmmanuel Vadot 
13*c66ec88fSEmmanuel Vadot #define MAX77802_CLK_32K_AP		0
14*c66ec88fSEmmanuel Vadot #define MAX77802_CLK_32K_CP		1
15*c66ec88fSEmmanuel Vadot 
16*c66ec88fSEmmanuel Vadot /* Total number of clocks. */
17*c66ec88fSEmmanuel Vadot #define MAX77802_CLKS_NUM		(MAX77802_CLK_32K_CP + 1)
18*c66ec88fSEmmanuel Vadot 
19*c66ec88fSEmmanuel Vadot #endif /* _DT_BINDINGS_CLOCK_MAXIM_MAX77802_CLOCK_H */
20