mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-21 08:53:41 +00:00
f97d0d7aa8
This driver allows to provide DT clocks for clock gates found on Marvell Dove and Kirkwood SoCs. The clock gates are referenced by the phandle index of the corresponding bit in the clock gating control register to ease lookup in the datasheet. Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
23 lines
518 B
C
23 lines
518 B
C
/*
|
|
* Marvell EBU gating clock handling
|
|
*
|
|
* Copyright (C) 2012 Marvell
|
|
*
|
|
* Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
|
*
|
|
* This file is licensed under the terms of the GNU General Public
|
|
* License version 2. This program is licensed "as is" without any
|
|
* warranty of any kind, whether express or implied.
|
|
*/
|
|
|
|
#ifndef __MVEBU_CLK_GATING_H
|
|
#define __MVEBU_CLK_GATING_H
|
|
|
|
#ifdef CONFIG_MVEBU_CLK_GATING
|
|
void __init mvebu_gating_clk_init(void);
|
|
#else
|
|
void mvebu_gating_clk_init(void) {}
|
|
#endif
|
|
|
|
#endif
|