1. 20 10月, 2017 4 次提交
  2. 16 8月, 2017 2 次提交
  3. 16 5月, 2017 2 次提交
  4. 30 3月, 2017 1 次提交
    • 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
  5. 16 11月, 2016 1 次提交
  6. 15 11月, 2016 1 次提交
  7. 14 9月, 2016 1 次提交
  8. 19 8月, 2016 1 次提交
  9. 08 8月, 2016 2 次提交
  10. 21 6月, 2016 3 次提交
  11. 10 6月, 2016 1 次提交
  12. 29 3月, 2016 2 次提交
  13. 08 2月, 2016 2 次提交
  14. 30 11月, 2015 2 次提交
  15. 20 10月, 2015 4 次提交
  16. 02 10月, 2015 4 次提交
  17. 24 8月, 2015 1 次提交
  18. 20 7月, 2015 1 次提交
  19. 18 3月, 2015 2 次提交
  20. 10 3月, 2015 1 次提交
    • G
      pinctrl: sh-pfc: Do not overwrite bias configuration · 05c5f265
      Geert Uytterhoeven 提交于
      After the last user of the in_pd/in_pu bias parameters of the _PCRH()
      macro was removed in commit 80da8e02 ("sh-pfc: r8a7740: Add bias
      (pull-up/down) pinconf support"), bias parameters are supposed to be
      configured using the generic pinctl mechanism, which calls the
      .set_bias() method.
      
      However, the PORTCR() macro still represents the control register as
      consisting of two 4-bit fields. Hence the bias configuration in the
      uppermost 2 bits is always overwritten with zeroes when a pin is
      configured for GPIO, disabling any previously configured bias.
      
      Use the variable config register macro instead, to represent the
      register as having 4 fields, and to make sure only the input/output
      control and function fields are touched.
      
      This affects R-Mobile APE6 (r8a73a4), R-Mobile A1 (r8a7740), SH-Mobile
      AP4 (sh7372), and SH-Mobile AG5 (sh73a0).
      Signed-off-by: NGeert Uytterhoeven <geert+renesas@glider.be>
      Acked-by: NLaurent Pinchart <laurent.pinchart@ideasonboard.com>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      05c5f265
  21. 27 1月, 2015 1 次提交
  22. 23 9月, 2014 1 次提交