1. 26 9月, 2013 1 次提交
  2. 17 9月, 2013 1 次提交
  3. 22 8月, 2013 2 次提交
    • S
      ARM: dts: imx: share pad macro names between imx6q and imx6dl · c56009b2
      Shawn Guo 提交于
      The imx6q and imx6dl are two pin-to-pin compatible SoCs.  The same board
      design can work with either chip plugged into the socket, e.g. sabresd
      and sabreauto boards.
      
      We currently define pin groups in imx6q.dtsi and imx6dl.dtsi
      respectively because the pad macro names are different between two
      chips.  This brings a maintenance burden on having the same label point
      to the same pin group defined in two places.
      
      The patch replaces prefix MX6Q_ and MX6DL_ with MX6QDL_ for both SoCs
      pad macro names.  Then the pin groups becomes completely common between
      imx6q and imx6dl and can just be moved into imx6qdl.dtsi, so that the
      long term maintenance of imx6q/dt pin settings becomes easier.
      
      Unfortunately, the change brings some dramatic diff stat, but it's all
      about DTS file, and the ultimate net diff stat is good.
      Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
      c56009b2
    • H
      ARM: dts: imx6q{dl}: add DTE pads for uart · 0b7a76aa
      Huang Shijie 提交于
      The uart2 in the imx6q-arm2 board is used as a DTE uart,
      this patch adds the necessary DTE pads for uart2.
      Signed-off-by: NHuang Shijie <b32955@freescale.com>
      Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
      0b7a76aa
  4. 09 4月, 2013 1 次提交
    • S
      pinctrl: imx: move hard-coding data into device tree · e1641531
      Shawn Guo 提交于
      Currently, all imx pinctrl drivers maintain a big array of struct
      imx_pin_reg which hard-codes data like register offset and mux mode
      setting for each pin function.  Every time a new imx SoC support is
      added, we need to add such a big mount of data.  With moving to single
      kernel build, it's only matter of time to be blamed on memory consuming.
      
      With DTC pre-processor support in place, the patch moves all these data
      into device tree by redefining the PIN_FUNC_ID in imxXX-pinfunc.h and
      changing the PIN_FUNC_ID parsing code a little bit.
      
      The pin id gets re-numbered based on mux register offset, or config
      register offset if the pin has no mux register, so that kernel can
      identify the pin id from register offsets provided by device tree.
      
      As a bonus point of the change, those arbitrary magic numbers standing
      for particular PIN_FUNC_ID in device tree sources are now replaced by
      macros to improve the readability of dts files.
      Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
      Acked-by: NDong Aisheng <dong.aisheng@linaro.org>
      Acked-by: NLinus Walleij <linus.walleij@linaro.org>
      e1641531