Skip to content

Commit 37a5844

Browse files
Dan Carpenterlinusw
authored andcommitted
pinctrl: scmi: Delete PIN_CONFIG_OUTPUT_IMPEDANCE_OHMS support
The argument for PIN_CONFIG_OUTPUT_IMPEDANCE_OHMS is supposed to be expressed in terms of ohms. But the pinctrl-scmi driver was implementing it the same as PIN_CONFIG_OUTPUT and writing either a zero or one to the pin. The SCMI protocol doesn't have an support configuration type so just delete this code instead of replacing it. Cc: Peng Fan <peng.fan@nxp.com> Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org> Reviewed-by: Linus Walleij <linusw@kernel.org> Signed-off-by: Linus Walleij <linusw@kernel.org>
1 parent 9ea2647 commit 37a5844

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

drivers/pinctrl/pinctrl-scmi.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -254,9 +254,6 @@ static int pinctrl_scmi_map_pinconf_type(enum pin_config_param param,
254254
case PIN_CONFIG_OUTPUT_ENABLE:
255255
*type = SCMI_PIN_OUTPUT_MODE;
256256
break;
257-
case PIN_CONFIG_OUTPUT_IMPEDANCE_OHMS:
258-
*type = SCMI_PIN_OUTPUT_VALUE;
259-
break;
260257
case PIN_CONFIG_POWER_SOURCE:
261258
*type = SCMI_PIN_POWER_SOURCE;
262259
break;

0 commit comments

Comments
 (0)