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 <[email protected]> --- drivers/pinctrl/nxp/pinctrl-imx-scmi.c | 2 +- include/scmi_protocols.h | 9 ++++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/drivers/pinctrl/nxp/pinctrl-imx-scmi.c b/drivers/pinctrl/nxp/pinctrl-imx-scmi.c index 781835c68527..cf76b14d3731 100644 --- a/drivers/pinctrl/nxp/pinctrl-imx-scmi.c +++ b/drivers/pinctrl/nxp/pinctrl-imx-scmi.c @@ -69,7 +69,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) { diff --git a/include/scmi_protocols.h b/include/scmi_protocols.h index ecab021b4728..90b1bf76d5d6 100644 --- a/include/scmi_protocols.h +++ b/include/scmi_protocols.h @@ -1088,7 +1088,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 { -- 2.51.0

