#include <dt-bindings/clock/imx8ulp-clock.h>
#include <linux/err.h>
#include <linux/io.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/platform_device.h>
#include <linux/reset-controller.h>
#include <linux/slab.h>
#include "clk.h"
static const char * const pll_pre_sels[] = …;
static const char * const a35_sels[] = …;
static const char * const nic_sels[] = …;
static const char * const pcc3_periph_bus_sels[] = …;
static const char * const pcc4_periph_bus_sels[] = …;
static const char * const pcc4_periph_plat_sels[] = …;
static const char * const pcc5_periph_bus_sels[] = …;
static const char * const pcc5_periph_plat_sels[] = …;
static const char * const hifi_sels[] = …;
static const char * const ddr_sels[] = …;
static const char * const lpav_sels[] = …;
static const char * const sai45_sels[] = …;
static const char * const sai67_sels[] = …;
static const char * const aud_clk1_sels[] = …;
static const char * const aud_clk2_sels[] = …;
static const char * const enet_ts_sels[] = …;
static const char * const xbar_divbus[] = …;
static const char * const nic_per_divplat[] = …;
static const char * const lpav_axi_div[] = …;
static const char * const lpav_bus_div[] = …;
struct pcc_reset_dev { … };
#define PCC_SW_RST …
#define to_pcc_reset_dev(_rcdev) …
static const u32 pcc3_resets[] = …;
static const u32 pcc4_resets[] = …;
static const u32 pcc5_resets[] = …;
static int imx8ulp_pcc_assert(struct reset_controller_dev *rcdev, unsigned long id)
{ … }
static int imx8ulp_pcc_deassert(struct reset_controller_dev *rcdev, unsigned long id)
{ … }
static const struct reset_control_ops imx8ulp_pcc_reset_ops = …;
static int imx8ulp_pcc_reset_init(struct platform_device *pdev, void __iomem *base,
const u32 *resets, unsigned int nr_resets)
{ … }
static int imx8ulp_clk_cgc1_init(struct platform_device *pdev)
{ … }
static int imx8ulp_clk_cgc2_init(struct platform_device *pdev)
{ … }
static int imx8ulp_clk_pcc3_init(struct platform_device *pdev)
{ … }
static int imx8ulp_clk_pcc4_init(struct platform_device *pdev)
{ … }
static int imx8ulp_clk_pcc5_init(struct platform_device *pdev)
{ … }
static int imx8ulp_clk_probe(struct platform_device *pdev)
{ … }
static const struct of_device_id imx8ulp_clk_dt_ids[] = …;
MODULE_DEVICE_TABLE(of, imx8ulp_clk_dt_ids);
static struct platform_driver imx8ulp_clk_driver = …;
module_platform_driver(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;