linux/drivers/pmdomain/imx/imx93-blk-ctrl.c

// SPDX-License-Identifier: GPL-2.0
/*
 * Copyright 2022 NXP, Peng Fan <[email protected]>
 */

#include <linux/clk.h>
#include <linux/device.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/platform_device.h>
#include <linux/pm_domain.h>
#include <linux/pm_runtime.h>
#include <linux/regmap.h>
#include <linux/sizes.h>

#include <dt-bindings/power/fsl,imx93-power.h>

#define BLK_SFT_RSTN
#define BLK_CLK_EN
#define BLK_MAX_CLKS

#define DOMAIN_MAX_CLKS

#define LCDIF_QOS_REG
#define LCDIF_DEFAULT_QOS_OFF
#define LCDIF_CFG_QOS_OFF

#define PXP_QOS_REG
#define PXP_R_DEFAULT_QOS_OFF
#define PXP_R_CFG_QOS_OFF
#define PXP_W_DEFAULT_QOS_OFF
#define PXP_W_CFG_QOS_OFF

#define ISI_CACHE_REG

#define ISI_QOS_REG
#define ISI_V_DEFAULT_QOS_OFF
#define ISI_V_CFG_QOS_OFF
#define ISI_U_DEFAULT_QOS_OFF
#define ISI_U_CFG_QOS_OFF
#define ISI_Y_R_DEFAULT_QOS_OFF
#define ISI_Y_R_CFG_QOS_OFF
#define ISI_Y_W_DEFAULT_QOS_OFF
#define ISI_Y_W_CFG_QOS_OFF

#define PRIO_MASK

#define PRIO(X)

struct imx93_blk_ctrl_domain;

struct imx93_blk_ctrl {};

#define DOMAIN_MAX_QOS

struct imx93_blk_ctrl_qos {};

struct imx93_blk_ctrl_domain_data {};

struct imx93_blk_ctrl_domain {};

struct imx93_blk_ctrl_data {};

static inline struct imx93_blk_ctrl_domain *
to_imx93_blk_ctrl_domain(struct generic_pm_domain *genpd)
{}

static int imx93_blk_ctrl_set_qos(struct imx93_blk_ctrl_domain *domain)
{}

static int imx93_blk_ctrl_power_on(struct generic_pm_domain *genpd)
{}

static int imx93_blk_ctrl_power_off(struct generic_pm_domain *genpd)
{}

static struct lock_class_key blk_ctrl_genpd_lock_class;

static int imx93_blk_ctrl_probe(struct platform_device *pdev)
{}

static void imx93_blk_ctrl_remove(struct platform_device *pdev)
{}

static const struct imx93_blk_ctrl_domain_data imx93_media_blk_ctl_domain_data[] =;

static const struct regmap_range imx93_media_blk_ctl_yes_ranges[] =;

static const struct regmap_access_table imx93_media_blk_ctl_access_table =;

static const struct imx93_blk_ctrl_data imx93_media_blk_ctl_dev_data =;

static const struct of_device_id imx93_blk_ctrl_of_match[] =;
MODULE_DEVICE_TABLE(of, imx93_blk_ctrl_of_match);

static struct platform_driver imx93_blk_ctrl_driver =;
module_platform_driver();

MODULE_AUTHOR();
MODULE_DESCRIPTION();
MODULE_LICENSE();