forked from Minki/linux
0f32e64b22
Only expose future CLKID constants if necessary. This patch removes CLK_NR_CLKS from the DT bindings but leaves all previously defined CLKIDs there to keep backward compatibility. Signed-off-by: Alexander Müller <serveralex@gmail.com> Signed-off-by: Michael Turquette <mturquette@baylibre.com> Link: lkml.kernel.org/r/1472319654-59048-5-git-send-email-serveralex@gmail.com
26 lines
523 B
C
26 lines
523 B
C
/*
|
|
* Meson8b clock tree IDs
|
|
*/
|
|
|
|
#ifndef __MESON8B_CLKC_H
|
|
#define __MESON8B_CLKC_H
|
|
|
|
#define CLKID_UNUSED 0
|
|
#define CLKID_XTAL 1
|
|
#define CLKID_PLL_FIXED 2
|
|
#define CLKID_PLL_VID 3
|
|
#define CLKID_PLL_SYS 4
|
|
#define CLKID_FCLK_DIV2 5
|
|
#define CLKID_FCLK_DIV3 6
|
|
#define CLKID_FCLK_DIV4 7
|
|
#define CLKID_FCLK_DIV5 8
|
|
#define CLKID_FCLK_DIV7 9
|
|
#define CLKID_CLK81 10
|
|
#define CLKID_MALI 11
|
|
#define CLKID_CPUCLK 12
|
|
#define CLKID_ZERO 13
|
|
#define CLKID_MPEG_SEL 14
|
|
#define CLKID_MPEG_DIV 15
|
|
|
|
#endif /* __MESON8B_CLKC_H */
|