631c534789
This adds the clock driver for Cirrus Logic CLPS711X series SoCs using common clock infrastructure. Designed primarily for migration CLPS711X subarch for multiplatform & DT, for this as the "OF" and "non-OF" calls implemented. Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Mike Turquette <mturquette@linaro.org>
28 lines
718 B
C
28 lines
718 B
C
/*
|
|
* Copyright (C) 2014 Alexander Shiyan <shc_work@mail.ru>
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*
|
|
*/
|
|
|
|
#ifndef __DT_BINDINGS_CLOCK_CLPS711X_H
|
|
#define __DT_BINDINGS_CLOCK_CLPS711X_H
|
|
|
|
#define CLPS711X_CLK_DUMMY 0
|
|
#define CLPS711X_CLK_CPU 1
|
|
#define CLPS711X_CLK_BUS 2
|
|
#define CLPS711X_CLK_PLL 3
|
|
#define CLPS711X_CLK_TIMERREF 4
|
|
#define CLPS711X_CLK_TIMER1 5
|
|
#define CLPS711X_CLK_TIMER2 6
|
|
#define CLPS711X_CLK_PWM 7
|
|
#define CLPS711X_CLK_SPIREF 8
|
|
#define CLPS711X_CLK_SPI 9
|
|
#define CLPS711X_CLK_UART 10
|
|
#define CLPS711X_CLK_TICK 11
|
|
#define CLPS711X_CLK_MAX 12
|
|
|
|
#endif
|