1 /* SPDX-License-Identifier: GPL-2.0+ */ 1 /* SPDX-License-Identifier: GPL-2.0+ */ 2 /* 2 /* 3 * Copyright 2024 NXP 3 * Copyright 2024 NXP 4 */ 4 */ 5 5 6 #ifndef _SCMI_IMX_H 6 #ifndef _SCMI_IMX_H 7 #define _SCMI_IMX_H 7 #define _SCMI_IMX_H 8 8 9 #include <linux/bitfield.h> 9 #include <linux/bitfield.h> 10 #include <linux/errno.h> 10 #include <linux/errno.h> 11 #include <linux/types.h> 11 #include <linux/types.h> 12 12 13 #define SCMI_IMX_CTRL_PDM_CLK_SEL 0 13 #define SCMI_IMX_CTRL_PDM_CLK_SEL 0 /* AON PDM clock sel */ 14 #define SCMI_IMX_CTRL_MQS1_SETTINGS 1 14 #define SCMI_IMX_CTRL_MQS1_SETTINGS 1 /* AON MQS settings */ 15 #define SCMI_IMX_CTRL_SAI1_MCLK 2 15 #define SCMI_IMX_CTRL_SAI1_MCLK 2 /* AON SAI1 MCLK */ 16 #define SCMI_IMX_CTRL_SAI3_MCLK 3 16 #define SCMI_IMX_CTRL_SAI3_MCLK 3 /* WAKE SAI3 MCLK */ 17 #define SCMI_IMX_CTRL_SAI4_MCLK 4 17 #define SCMI_IMX_CTRL_SAI4_MCLK 4 /* WAKE SAI4 MCLK */ 18 #define SCMI_IMX_CTRL_SAI5_MCLK 5 18 #define SCMI_IMX_CTRL_SAI5_MCLK 5 /* WAKE SAI5 MCLK */ 19 19 20 int scmi_imx_misc_ctrl_get(u32 id, u32 *num, u 20 int scmi_imx_misc_ctrl_get(u32 id, u32 *num, u32 *val); 21 int scmi_imx_misc_ctrl_set(u32 id, u32 val); 21 int scmi_imx_misc_ctrl_set(u32 id, u32 val); 22 22 23 #endif 23 #endif 24 24
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.