scmi: pinctrl: add pinctrl message IDs

Add all the pinctrl message IDs.  I renamed SCMI_MSG_PINCTRL_CONFIG_SET
to SCMI_PINCTRL_SETTINGS_CONFIGURE so the naming matches the spec better.

Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Linus Walleij <linusw@kernel.org>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
This commit is contained in:
Dan Carpenter
2026-03-11 22:39:35 +03:00
committed by Peng Fan
parent 80bdc86db5
commit 264cbb1871
2 changed files with 9 additions and 2 deletions

View File

@@ -70,7 +70,7 @@ static int imx_pinconf_scmi_set(struct udevice *dev, u32 mux_ofs, u32 mux, u32 c
in.attributes = num_cfgs << PINCTRL_NUM_CFGS_SHIFT;
msg = SCMI_MSG_IN(SCMI_PROTOCOL_ID_PINCTRL,
SCMI_MSG_PINCTRL_CONFIG_SET, in, out);
SCMI_PINCTRL_SETTINGS_CONFIGURE, in, out);
ret = devm_scmi_process_msg(dev, &msg);
if (ret || out.status) {

View File

@@ -1089,7 +1089,14 @@ struct scmi_voltd_level_get_out {
/* SCMI Pinctrl Protocol */
enum scmi_pinctrl_message_id {
SCMI_MSG_PINCTRL_CONFIG_SET = 0x6
SCMI_PINCTRL_ATTRIBUTES = 0x3,
SCMI_PINCTRL_LIST_ASSOCIATIONS = 0x4,
SCMI_PINCTRL_SETTINGS_GET = 0x5,
SCMI_PINCTRL_SETTINGS_CONFIGURE = 0x6,
SCMI_PINCTRL_REQUEST = 0x7,
SCMI_PINCTRL_RELEASE = 0x8,
SCMI_PINCTRL_NAME_GET = 0x9,
SCMI_PINCTRL_SET_PERMISSIONS = 0xA,
};
struct scmi_pin_config {