firmware: scmi: Cleanup the SCMI MISC ID

SCMI_IMX_PROTOCOL_ID_MISC was never used, so drop it. And move
SCMI_PROTOCOL_ID_IMX_MISC out of enum scmi_std_protocol to
scmi_nxp_protocols.h, because it is i.MX specific and following Linux
Kernel style, use macro definition.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Alice Guo <alice.guo@nxp.com>
This commit is contained in:
Peng Fan 2025-10-17 17:32:31 +08:00 committed by Tom Rini
parent 251dd6bf0e
commit d1f1c98d84
2 changed files with 1 additions and 4 deletions

View File

@ -9,9 +9,7 @@
#include <asm/types.h> #include <asm/types.h>
#include <linux/bitops.h> #include <linux/bitops.h>
enum scmi_imx_protocol { #define SCMI_PROTOCOL_ID_IMX_MISC 0x84
SCMI_IMX_PROTOCOL_ID_MISC = 0x84,
};
#define SCMI_PAYLOAD_LEN 100 #define SCMI_PAYLOAD_LEN 100

View File

@ -25,7 +25,6 @@ enum scmi_std_protocol {
SCMI_PROTOCOL_ID_RESET_DOMAIN = 0x16, SCMI_PROTOCOL_ID_RESET_DOMAIN = 0x16,
SCMI_PROTOCOL_ID_VOLTAGE_DOMAIN = 0x17, SCMI_PROTOCOL_ID_VOLTAGE_DOMAIN = 0x17,
SCMI_PROTOCOL_ID_PINCTRL = 0x19, SCMI_PROTOCOL_ID_PINCTRL = 0x19,
SCMI_PROTOCOL_ID_IMX_MISC = 0x84,
}; };
enum scmi_status_code { enum scmi_status_code {