clk.h (1136fa0c07de570dc17858745af8be169d1440ba) clk.h (11994196178d9038d659c2b9468d7c219b708a37)
1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef __MACH_IMX_CLK_H
3#define __MACH_IMX_CLK_H
4
5#include <linux/bits.h>
6#include <linux/spinlock.h>
7#include <linux/clk-provider.h>
8

--- 405 unchanged lines hidden (view full) ---

414 IMX_COMPOSITE_FW_MANAGED, \
415 IMX_COMPOSITE_CLK_FLAGS_GET_RATE_NO_CACHE)
416
417#define imx8m_clk_hw_fw_managed_composite_critical(name, parent_names, reg) \
418 _imx8m_clk_hw_composite(name, parent_names, reg, \
419 IMX_COMPOSITE_FW_MANAGED, \
420 IMX_COMPOSITE_CLK_FLAGS_CRITICAL_GET_RATE_NO_CACHE)
421
1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef __MACH_IMX_CLK_H
3#define __MACH_IMX_CLK_H
4
5#include <linux/bits.h>
6#include <linux/spinlock.h>
7#include <linux/clk-provider.h>
8

--- 405 unchanged lines hidden (view full) ---

414 IMX_COMPOSITE_FW_MANAGED, \
415 IMX_COMPOSITE_CLK_FLAGS_GET_RATE_NO_CACHE)
416
417#define imx8m_clk_hw_fw_managed_composite_critical(name, parent_names, reg) \
418 _imx8m_clk_hw_composite(name, parent_names, reg, \
419 IMX_COMPOSITE_FW_MANAGED, \
420 IMX_COMPOSITE_CLK_FLAGS_CRITICAL_GET_RATE_NO_CACHE)
421
422struct clk_hw *imx93_clk_composite_flags(const char *name,
423 const char * const *parent_names,
424 int num_parents,
425 void __iomem *reg,
426 unsigned long flags);
427#define imx93_clk_composite(name, parent_names, num_parents, reg) \
428 imx93_clk_composite_flags(name, parent_names, num_parents, reg, \
429 CLK_SET_RATE_NO_REPARENT | CLK_OPS_PARENT_ENABLE)
430
422struct clk_hw *imx_clk_hw_divider_gate(const char *name, const char *parent_name,
423 unsigned long flags, void __iomem *reg, u8 shift, u8 width,
424 u8 clk_divider_flags, const struct clk_div_table *table,
425 spinlock_t *lock);
426#endif
431struct clk_hw *imx_clk_hw_divider_gate(const char *name, const char *parent_name,
432 unsigned long flags, void __iomem *reg, u8 shift, u8 width,
433 u8 clk_divider_flags, const struct clk_div_table *table,
434 spinlock_t *lock);
435#endif