1. 30 3月, 2017 2 次提交
    • G
      pinctrl: sh-pfc: r8a7795: Add SCIF support · e7ad4d3c
      Geert Uytterhoeven 提交于
      Add pins, groups, and functions for all SCIF serial ports on R-Car H3
      ES2.0.
      
      Extracted from a big patch in the BSP by Takeshi Kihara.
      Signed-off-by: NGeert Uytterhoeven <geert+renesas@glider.be>
      Cc: Takeshi Kihara <takeshi.kihara.df@renesas.com>
      e7ad4d3c
    • G
      pinctrl: sh-pfc: r8a7795: Add support for R-Car H3 ES2.0 · b205914c
      Geert Uytterhoeven 提交于
      The Pin Function Controller module in the R-Car H3 ES2.0 differs from
      ES1.x in many ways.
      
      The goal is twofold:
        1. Support both the ES1.x and ES2.0 SoC revisions in a single binary
           for now,
        2. Make it clear which code supports ES1.x, so it can easily be
           identified and removed later, when production SoCs are deemed
           ubiquitous.
      
      Hence this patch:
        1. Extracts the support for R-Car H3 ES1.x into a separate file, as
           the differences are quite large,
        2. Adds code for detecting the SoC revision at runtime using the new
           soc_device_match() API, and selecting pinctrl tables for the actual
           SoC revision,
        3. Replaces the core register and bitfield definitions by their
           counterparts for R-Car H3 ES2.0.
      
      The addition of pins, groups, and functions for the various on-chip
      devices is left to subsequent patches.
      
      The R-Car H3 ES2.0 register and bitfield definitions were extracted from
      a patch in the BSP by Takeshi Kihara.
      Signed-off-by: NGeert Uytterhoeven <geert+renesas@glider.be>
      Cc: Takeshi Kihara <takeshi.kihara.df@renesas.com>
      b205914c
  2. 21 3月, 2017 3 次提交
  3. 20 1月, 2017 1 次提交
  4. 13 1月, 2017 1 次提交
    • T
      pinctrl: core: Fix regression caused by delayed work for hogs · 950b0d91
      Tony Lindgren 提交于
      Commit df61b366af26 ("pinctrl: core: Use delayed work for hogs") caused a
      regression at least with sh-pfc that is also a GPIO controller as
      noted by Geert Uytterhoeven <geert@linux-m68k.org>.
      
      As the original pinctrl_register() has issues calling pin controller
      driver functions early before the controller has finished registering,
      we can't just revert commit df61b366af26. That would break the drivers
      using GENERIC_PINCTRL_GROUPS or GENERIC_PINMUX_FUNCTIONS.
      
      So let's fix the issue with the following steps as a single patch:
      
      1. Revert the late_init parts of commit df61b366af26.
      
         The late_init clearly won't work and we have to just give up
         on fixing pinctrl_register() for GENERIC_PINCTRL_GROUPS and
         GENERIC_PINMUX_FUNCTIONS.
      
      2. Split pinctrl_register() into two parts
      
         By splitting pinctrl_register() into pinctrl_init_controller()
         and pinctrl_create_and_start() we have better control over when
         it's safe to call pinctrl_create().
      
      3. Introduce a new pinctrl_register_and_init() function
      
         As suggested by Linus Walleij <linus.walleij@linaro.org>, we
         can just introduce a new function for the controllers that need
         pinctrl_create() called later.
      
      4. Convert the four known problem cases to use new function
      
         Let's convert pinctrl-imx, pinctrl-single, sh-pfc and ti-iodelay
         to use the new function to fix the issues. The rest of the drivers
         can be converted later. Let's also update Documentation/pinctrl.txt
         accordingly because of the known issues with pinctrl_register().
      
      Fixes: df61b366af26 ("pinctrl: core: Use delayed work for hogs")
      Reported-by: NGeert Uytterhoeven <geert@linux-m68k.org>
      Cc: Gary Bisson <gary.bisson@boundarydevices.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      Tested-by: NGeert Uytterhoeven <geert+renesas@glider.be>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      950b0d91
  5. 27 12月, 2016 8 次提交
  6. 16 11月, 2016 7 次提交
  7. 15 11月, 2016 4 次提交
  8. 07 11月, 2016 1 次提交
  9. 17 10月, 2016 2 次提交
  10. 14 9月, 2016 3 次提交
  11. 12 9月, 2016 4 次提交
  12. 19 8月, 2016 3 次提交
  13. 16 8月, 2016 1 次提交