1. 20 2月, 2014 1 次提交
  2. 10 2月, 2014 3 次提交
  3. 09 2月, 2014 2 次提交
    • N
      ARM: dts: imx6qdl: add spdif support for sabreauto · 1169cf1f
      Nicolin Chen 提交于
      This patch adds spdif support for imx6qdl-sabreauto by inserting the cpu dai
      node with pinctrl group and its ASoC dai link node.
      Signed-off-by: NNicolin Chen <Guangyu.Chen@freescale.com>
      Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
      1169cf1f
    • S
      ARM: dts: imx6qdl: make pinctrl nodes board specific · 817c27a1
      Shawn Guo 提交于
      Currently, all pinctrl setting nodes are defined in <soc>.dtsi, so that
      boards that share the same pinctrl setting do not have to define it time
      and time again in <board>.dts.  However, along with the devices and use
      cases being added continuously, the pinctrl setting nodes under iomuxc
      becomes more than expected.  This bloats device tree blob for particular
      board unnecessarily since only a small subset of those pinctrl setting
      nodes will be used by the board.  It impacts not only the DTB file size
      but also the run-time device tree lookup efficiency.
      
      The patch moves all the pinctrl data into individual boards as needed.
      With the changes, the pinctrl setting nodes becomes local to particular
      board, and it makes no sense to continue numbering the setting for
      given peripheral.  Thus, all the pinctrl phandler name gets updated to
      have only peripheral name in there.
      Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
      817c27a1
  4. 26 9月, 2013 1 次提交
  5. 22 8月, 2013 1 次提交
    • 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
  6. 17 6月, 2013 4 次提交
  7. 09 4月, 2013 3 次提交
    • S
      ARM: dts: imx: make sabreauto and sabresd common · 082d33d0
      Shawn Guo 提交于
      The sabreauto and sabresd boards are common for imx6q and imx6dl.
      Create imx6qdl-sabreauto.dtsi and imx6qdl-sabresd.dtsi for those
      common parts.
      Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
      082d33d0
    • 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
    • S
      ARM: imx: use #include for all device trees · 36dffd8f
      Shawn Guo 提交于
      Replace /include/ (dtc) with #include (C pre-processor) for all imx DT
      files, so that gcc -E handles the entire include tree, and hence any of
      those files can #include some other file e.g. for constant definitions.
      
      This allows future use of #defines and header files in order to define
      names for various constants, such as pinctrl settings. Use of those
      features will increase the readability of the device tree files.
      Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
      36dffd8f
  8. 10 2月, 2013 3 次提交
    • S
      ARM: dts: add dtsi for imx6q and imx6dl · 7c1da585
      Shawn Guo 提交于
      Add dtsi for imx6q and imx6dl with non-common blocks moved into there.
      Major differences between imx6dl and imx6q:
      
       * Dual vs. Quad cores
       * single vs. dual IPU
       * 128 vs. 256 KB OCRAM
       * imx6q: ECSPI5, OpenVG (GC355), SATA
       * imx6dl: I2C4, PXP, EPDC, LCDIF
       * iomuxc/pads definition
      Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
      7c1da585
    • S
      ARM: dts: rename imx6q.dtsi to imx6qdl.dtsi · 4bacf2a3
      Shawn Guo 提交于
      i.MX6 Quad and i.MX6 DualLite is similar enough to share one dtsi
      file, so rename imx6q.dtsi to imx6qdl.dtsi preparing for the addition
      of imx6dl support.
      
      Another member of i.MX6 series i.MX6 SoloLite is different enough
      from the other two, so it will stand as a separate dtsi.  That's why
      we rename to imx6qdl.dtsi not imx6.dtsi.
      Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
      4bacf2a3
    • S
      ARM: dts: imx: use nodes label in board dts · be4ccfce
      Shawn Guo 提交于
      Following omap3-evm.dts way, it changes all imx dts files to use label
      in board dts to refer to nodes defined by soc dtsi.  Thus, the board
      dts files become easier to read and edit with the least indentation
      levels.
      Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
      be4ccfce
  9. 16 11月, 2012 1 次提交
  10. 11 9月, 2012 1 次提交
  11. 11 5月, 2012 1 次提交