linux/include/linux/firmware/imx/sm.h

/* SPDX-License-Identifier: GPL-2.0+ */
/*
 * Copyright 2024 NXP
 */

#ifndef _SCMI_IMX_H
#define _SCMI_IMX_H

#include <linux/bitfield.h>
#include <linux/errno.h>
#include <linux/types.h>

#define SCMI_IMX_CTRL_PDM_CLK_SEL
#define SCMI_IMX_CTRL_MQS1_SETTINGS
#define SCMI_IMX_CTRL_SAI1_MCLK
#define SCMI_IMX_CTRL_SAI3_MCLK
#define SCMI_IMX_CTRL_SAI4_MCLK
#define SCMI_IMX_CTRL_SAI5_MCLK

int scmi_imx_misc_ctrl_get(u32 id, u32 *num, u32 *val);
int scmi_imx_misc_ctrl_set(u32 id, u32 val);

#endif