18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci * Copyright (C) 2014 Google, Inc
48c2ecf20Sopenharmony_ci *
58c2ecf20Sopenharmony_ci * Device Tree binding constants clocks for the Maxim 77686 PMIC.
68c2ecf20Sopenharmony_ci */
78c2ecf20Sopenharmony_ci
88c2ecf20Sopenharmony_ci#ifndef _DT_BINDINGS_CLOCK_MAXIM_MAX77686_CLOCK_H
98c2ecf20Sopenharmony_ci#define _DT_BINDINGS_CLOCK_MAXIM_MAX77686_CLOCK_H
108c2ecf20Sopenharmony_ci
118c2ecf20Sopenharmony_ci/* Fixed rate clocks. */
128c2ecf20Sopenharmony_ci
138c2ecf20Sopenharmony_ci#define MAX77686_CLK_AP		0
148c2ecf20Sopenharmony_ci#define MAX77686_CLK_CP		1
158c2ecf20Sopenharmony_ci#define MAX77686_CLK_PMIC	2
168c2ecf20Sopenharmony_ci
178c2ecf20Sopenharmony_ci/* Total number of clocks. */
188c2ecf20Sopenharmony_ci#define MAX77686_CLKS_NUM		(MAX77686_CLK_PMIC + 1)
198c2ecf20Sopenharmony_ci
208c2ecf20Sopenharmony_ci#endif /* _DT_BINDINGS_CLOCK_MAXIM_MAX77686_CLOCK_H */
21