mirror of
https://github.com/torvalds/linux.git
synced 2024-12-02 09:01:34 +00:00
f6475e2982
Now that we have clk_hw based provider APIs to register clks, we can get rid of struct clk pointers while registering clks in these drivers, allowing us to move closer to a clear split of consumer and provider clk APIs. We also remove some __init markings in header files as they're useless and we're in the area. Tested-by: Jisheng Zhang <jszhang@marvell.com> Cc: Alexandre Belloni <alexandre.belloni@free-electrons.com> Acked-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> Signed-off-by: Stephen Boyd <stephen.boyd@linaro.org> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
35 lines
1.1 KiB
C
35 lines
1.1 KiB
C
/*
|
|
* Copyright (c) 2014 Marvell Technology Group Ltd.
|
|
*
|
|
* Alexandre Belloni <alexandre.belloni@free-electrons.com>
|
|
* Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
* under the terms and conditions of the GNU General Public License,
|
|
* version 2, as published by the Free Software Foundation.
|
|
*
|
|
* This program is distributed in the hope it will be useful, but WITHOUT
|
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
|
* more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License along with
|
|
* this program. If not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
#ifndef __BERLIN2_PLL_H
|
|
#define __BERLIN2_PLL_H
|
|
|
|
struct berlin2_pll_map {
|
|
const u8 vcodiv[16];
|
|
u8 mult;
|
|
u8 fbdiv_shift;
|
|
u8 rfdiv_shift;
|
|
u8 divsel_shift;
|
|
};
|
|
|
|
int berlin2_pll_register(const struct berlin2_pll_map *map,
|
|
void __iomem *base, const char *name,
|
|
const char *parent_name, unsigned long flags);
|
|
|
|
#endif /* __BERLIN2_PLL_H */
|