Files
u-boot-tk1-som/drivers
Peng Fan c3ab985362 dm: core: device: set pinctrl state for pinctrl device
We may have pinmux settings for pinctrl device, like the following
example:
"
&iomuxc {
	pinctrl-names = "default";
	pinctrl-0 = <&pinctrl_hog_1>;
	imx6ul-evk {
		pinctrl_hog_1: hoggrp-1 {
			fsl,pins = <
				MX6UL_PAD_UART1_RTS_B__GPIO1_IO19	0x17059 /* SD1 CD */
				MX6UL_PAD_GPIO1_IO05__USDHC1_VSELECT	0x17059 /* SD1 VSELECT */
				MX6UL_PAD_GPIO1_IO09__GPIO1_IO09        0x17059 /* SD1 RESET */
				MX6UL_PAD_SNVS_TAMPER0__GPIO5_IO00	0x80000000
			>;
		};
	[......]
};
"

We should not only select pinctrl state for non pinctrl devices, we
need also to handle pin mux settings such as pinctrl_log for pinctrl
devices.

So at the end of probing process of pinctrl device, select the default
state of pinctrl device.

Signed-off-by: Peng Fan <van.freenix@gmail.com>
Cc: Simon Glass <sjg@chromium.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Masahiro Yamada <yamada.masahiro@socionext.com>
2016-04-14 11:51:39 -06:00
..
2015-11-02 10:38:00 +09:00
2016-04-04 20:28:39 +02:00
2016-03-24 09:47:43 +01:00
2016-01-27 15:32:05 +01:00
2016-03-14 19:21:44 -04:00
2016-04-10 17:19:49 +02:00
2016-02-05 12:47:21 +08:00
2016-04-11 10:20:30 -07:00
2016-02-06 12:00:59 +01:00
2016-03-14 19:21:44 -04:00
2016-04-11 20:48:26 -04:00
2016-04-01 17:18:12 -04:00
2016-04-01 17:18:12 -04:00