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. 28 2月, 2017 1 次提交
  4. 13 2月, 2017 5 次提交
    • W
      pinctrl: samsung: Fix return value check in samsung_pinctrl_get_soc_data() · baafacab
      Wei Yongjun 提交于
      In case of error, the function devm_ioremap() returns NULL pointer not
      ERR_PTR(). Fix by using devm_ioremap_resource instead of devm_ioremap.
      
      Fixes: 8b1bd11c ("pinctrl: samsung: Add the support the multiple IORESOURCE_MEM for one pin-bank")
      Signed-off-by: NWei Yongjun <weiyongjun1@huawei.com>
      Reviewed-by: NKrzysztof Kozlowski <krzk@kernel.org>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      baafacab
    • D
      pinctrl: intel: unlock on error in intel_config_set_pull() · aa1dd80f
      Dan Carpenter 提交于
      We need to unlock before returning -EINVAL on this error path.
      
      Fixes: 04cc058f ("pinctrl: intel: Add support for 1k additional pull-down")
      Signed-off-by: NDan Carpenter <dan.carpenter@oracle.com>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      aa1dd80f
    • P
      pinctrl: berlin: make bool drivers explicitly non-modular · 9ec1a286
      Paul Gortmaker 提交于
      None of the Kconfigs for any of these drivers are tristate,
      meaning that they currently are not being built as a module by anyone.
      
      Lets remove the modular code that is essentially orphaned, so that
      when reading the driver there is no doubt it is builtin-only.
      
      Since module_platform_driver() uses the same init level priority as
      builtin_platform_driver() the init ordering remains unchanged with
      this commit.
      
      Also note that MODULE_DEVICE_TABLE is a no-op for non-modular code.
      
      We also delete the MODULE_LICENSE tag etc. since all that information
      is already contained at the top of the file in the comments.
      
      Cc: "Antoine Ténart" <antoine.tenart@free-electrons.com>
      Cc: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
      Cc: Hongzhou Yang <hongzhou.yang@mediatek.com>
      Cc: Thomas Hebb <tommyhebb@gmail.com>
      Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
      Cc: linux-gpio@vger.kernel.org
      Signed-off-by: NPaul Gortmaker <paul.gortmaker@windriver.com>
      Acked-by: NJisheng Zhang <jszhang@marvell.com>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      9ec1a286
    • P
      pinctrl: spear: make bool drivers explicitly non-modular · 8429cba1
      Paul Gortmaker 提交于
      None of the Kconfigs for any of these drivers are tristate,
      meaning that they currently are not being built as a module by anyone.
      
      Lets remove the modular code that is essentially orphaned, so that
      when reading the drivers there is no doubt they are builtin-only.  All
      drivers get the exact same change, so they are handled in batch.
      
      Changes are (1) use init.h header in place of module.h header,
      (2) delete module_exit related code, (3) delete MODULE_DEVICE_TABLE,
      and (4) delete MODULE_LICENCE/MODULE_AUTHOR and associated tags.
      
      None of these drivers were using module_init() so we don't have to
      worry about the init ordering getting changed with this commit.
      
      Also note that MODULE_DEVICE_TABLE is a no-op for non-modular code.
      
      We also delete the MODULE_LICENSE etc. tags since all that information
      is already contained at the top of each file in the comments.
      
      Cc: spear-devel@list.st.com
      Cc: linux-gpio@vger.kernel.org
      Signed-off-by: NPaul Gortmaker <paul.gortmaker@windriver.com>
      Acked-by: NViresh Kumar <viresh.kumar@linaro.org>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      8429cba1
    • P
      pinctrl: mvebu: make bool drivers explicitly non-modular · fdbde81b
      Paul Gortmaker 提交于
      None of the Kconfigs for any of these drivers are tristate, meaning
      that they currently are not being built as a module by anyone.
      
      Lets remove the modular code that is essentially orphaned, so that
      when reading the drivers there is no doubt they are builtin-only.
      All drivers get the exact same change, so they are handled in batch.
      
      Changes are (1) use builtin_platform_driver, (2) dont use module.h
      (3) delete module_exit related code, (4) delete MODULE_DEVICE_TABLE,
      and (5) delete MODULE_LICENCE/MODULE_AUTHOR and associated tags.
      
      For the dove driver we explicitly disallow a driver unbind, since
      that doesn't have a sensible use case anyway, and it allows us to
      drop the ".remove" code for non-modular drivers.
      
      Since module_platform_driver() uses the same init level priority as
      builtin_platform_driver() the init ordering remains unchanged with
      this commit.
      
      We deleted the MODULE_LICENSE etc. tags since all that information
      is already contained at the top of the file in the comments.
      
      Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
      Cc: linux-gpio@vger.kernel.org
      Signed-off-by: NPaul Gortmaker <paul.gortmaker@windriver.com>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      fdbde81b
  5. 06 2月, 2017 6 次提交
  6. 30 1月, 2017 13 次提交
  7. 26 1月, 2017 10 次提交