dm: pinctrl: Add pinctrl_decode_pin_config_dm().
authorChristoph Muellner <christoph.muellner@theobroma-systems.com>
Wed, 2 Jan 2019 14:09:18 +0000 (15:09 +0100)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Wed, 2 Jan 2019 21:38:44 +0000 (22:38 +0100)
commit5ff776889212c080e3d1a33634ac904405ed6845
tree836c2cf8fece6fc3aed29e7c5fbbfc7a15cd676a
parent4de2bbb39ea71d28bc422b9405f199b3abe4b8fa
dm: pinctrl: Add pinctrl_decode_pin_config_dm().

pinctrl_decode_pin_config_dm() is basically a feature-equivalent
implementation of pinctrl_decode_pin_config(), which operates
on struct udevice devices and uses the dev_read_*() API.

Signed-off-by: Christoph Muellner <christoph.muellner@theobroma-systems.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
drivers/pinctrl/pinctrl-uclass.c
include/dm/pinctrl.h