clk.h (5278acc4418bad18ed677952ca7cd56ce312a87d) | clk.h (ee4df2363439c80bef693a2255ede06f5bc42ce6) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0 */ 2#ifndef __MACH_MMP_CLK_H 3#define __MACH_MMP_CLK_H 4 5#include <linux/clk-provider.h> | 1/* SPDX-License-Identifier: GPL-2.0 */ 2#ifndef __MACH_MMP_CLK_H 3#define __MACH_MMP_CLK_H 4 5#include <linux/clk-provider.h> |
6#include <linux/pm_domain.h> |
|
6#include <linux/clkdev.h> 7 8#define APBC_NO_BUS_CTRL BIT(0) 9#define APBC_POWER_CTRL BIT(1) 10 11 12/* Clock type "factor" */ 13struct mmp_clk_factor_masks { --- 240 unchanged lines hidden (view full) --- 254 .shift_mux = (s_m), \ 255 .bit_fc = (fc), \ 256} 257 258void mmp_clk_init(struct device_node *np, struct mmp_clk_unit *unit, 259 int nr_clks); 260void mmp_clk_add(struct mmp_clk_unit *unit, unsigned int id, 261 struct clk *clk); | 7#include <linux/clkdev.h> 8 9#define APBC_NO_BUS_CTRL BIT(0) 10#define APBC_POWER_CTRL BIT(1) 11 12 13/* Clock type "factor" */ 14struct mmp_clk_factor_masks { --- 240 unchanged lines hidden (view full) --- 255 .shift_mux = (s_m), \ 256 .bit_fc = (fc), \ 257} 258 259void mmp_clk_init(struct device_node *np, struct mmp_clk_unit *unit, 260 int nr_clks); 261void mmp_clk_add(struct mmp_clk_unit *unit, unsigned int id, 262 struct clk *clk); |
263 264/* Power islands */ 265#define MMP_PM_DOMAIN_NO_DISABLE BIT(0) 266 267struct generic_pm_domain *mmp_pm_domain_register(const char *name, 268 void __iomem *reg, 269 u32 power_on, u32 reset, u32 clock_enable, 270 unsigned int flags, spinlock_t *lock); 271 |
|
262#endif | 272#endif |