1. 14 Apr, 2016 2 commits
    • Nishanth Menon's avatar
      dm: part: fix missing driver name in debug print · 2ae67aec
      Nishanth Menon authored
      Fixes the following warning with PART_DEBUG enabled:
      disk/part.c: In function ‘get_partition_info’:
      disk/part.c:372:3: warning: format ‘%s’ expects a matching ‘char *’ argument [-Wformat]
      Signed-off-by: default avatarNishanth Menon <nm@ti.com>
    • Peng Fan's avatar
      dm: core: device: set pinctrl state for pinctrl device · c3ab9853
      Peng Fan authored
      We may have pinmux settings for pinctrl device, like the following
      &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
      So at the end of probing process of pinctrl device, select the default
      state of pinctrl device.
      Signed-off-by: default avatarPeng Fan <van.freenix@gmail.com>
      Cc: Simon Glass <sjg@chromium.org>
      Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
      Reviewed-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
  2. 13 Apr, 2016 38 commits