1. 05 Jul, 2016 1 commit
  2. 04 Jul, 2016 1 commit
  3. 03 Jul, 2016 1 commit
    • Linus Walleij's avatar
      pinctrl: qcom: add support for EBI2 · 276993dd
      Linus Walleij authored
      Add support to mux in the second external bus interface as
      follows:
      
      - CS1 and CS2 on GPIO39 and GPIO40 as func 2
      - ADDR_7 thru ADDR_0 on GPIO123 thru GPIO130 as func 1
      - CS4, CS3 and CS0 on GPIO132, GPIO133, GPIO134 as func 1
      - DATA_15 thru DATA_0 on GPIO135 thru GPIO150 as func 1
      - OE on GPIO151 as func 1
      - ADV on GPIO153 as func 1
      - WE on GPIO157 as func 1
      
      This external bus is used on the APQ8060 Dragonboard to connect
      an external SMSC9211 ethernet adapter, but there are many other
      usecases for the EBI2.
      
      Cc: Stephen Boyd <sboyd@codeaurora.org>
      Reviewed-by: default avatarBjörn Andersson <bjorn.andersson@linaro.org>
      Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      276993dd
  4. 29 Jun, 2016 28 commits
    • Stephen Boyd's avatar
      pinctrl: qcom: msm8974: Add hsic_ctl pinmux · a1c166ac
      Stephen Boyd authored
      The msm8974 pinctrl variant has a couple USB HSIC "glue"
      registers that let us mux between the pinctrl register settings
      or the HSIC core settings for the HSIC pins (gpio 144 and gpio
      145). Support this method of operation by adding hsic_data and
      hsic_strobe pins that can select between hsic_ctl and gpio
      functions. This allows us to toggle the hsic pin configuration
      over to the HSIC core at runtime.
      
      Cc: Bjorn Andersson <bjorn.andersson@linaro.org>
      Signed-off-by: default avatarStephen Boyd <stephen.boyd@linaro.org>
      Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      a1c166ac
    • Stephen Boyd's avatar
      pinctrl: qcom: Clear all function selection bits · 47a01ee9
      Stephen Boyd authored
      The function selection bitfield is not always 3 bits wide.
      Sometimes it is 4 bits wide. Let's use the npins struct member to
      determine how many bits wide the function selection bitfield is
      so we clear the correct amount of bits in the register while
      remuxing the pins.
      
      Cc: Bjorn Andersson <bjorn.andersson@linaro.org>
      Signed-off-by: default avatarStephen Boyd <stephen.boyd@linaro.org>
      Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      47a01ee9
    • Neil Armstrong's avatar
    • Neil Armstrong's avatar
      pinctrl: qcom: Add support for MDM9615 TLMM · 8b37e88c
      Neil Armstrong authored
      In order to support the Qualcomm MDM9615 SoC, add support for the TLMM
      using the Qualcomm pinctrl generic driver.
      
      Note: the pinctrl is partial, need Documentation to complete all the groups.
      Signed-off-by: default avatarNeil Armstrong <narmstrong@baylibre.com>
      Acked-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
      Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      8b37e88c
    • Amitoj Kaur Chawla's avatar
      pinctrl: sirf: atlas7: Add missing of_node_put · 151b8c5b
      Amitoj Kaur Chawla authored
      of_find_node_by_name does an of_node_get on its return value,
      so an of_node_put is needed on this value before the corresponding
      variable goes out of scope.
      
      The Coccinelle semantic patch used to make this change is as follows:
      @@
      struct device_node *n;
      struct device_node *n1;
      statement S;
      identifier f;
      expression E;
      constant C;
      @@
      
      n = of_find_node_by_name(...)
      ...
      if (!n) S
      ... when != of_node_put(n)
          when != n1 = f(n,...)
          when != E = n
          when any
          when strict
      (
      + of_node_put(n);
        return -C;
      |
        of_node_put(n);
      |
        n1 = f(n,...)
      |
        E = n
      |
        return ...;
      )
      Signed-off-by: default avatarAmitoj Kaur Chawla <amitoj1606@gmail.com>
      Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      151b8c5b
    • Yendapally Reddy Dhananjaya Reddy's avatar
      pinctrl: nsp: add pinmux driver support for Broadcom NSP SoC · cc4fa83f
      Yendapally Reddy Dhananjaya Reddy authored
      This adds the initial support of the Broadcom NSP pinmux driver.
      Signed-off-by: default avatarYendapally Reddy Dhananjaya Reddy <yendapally.reddy@broadcom.com>
      Reviewed-by: default avatarRay Jui <rjui@broadcom.com>
      Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      cc4fa83f
    • Yendapally Reddy Dhananjaya Reddy's avatar
      pinctrl: Broadcom NSP pinctrl device tree bindings · af3f1de4
      Yendapally Reddy Dhananjaya Reddy authored
      Device tree binding documentation for Broadcom NSP IOMUX driver
      Signed-off-by: default avatarYendapally Reddy Dhananjaya Reddy <yendapally.reddy@broadcom.com>
      Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      af3f1de4
    • Linus Walleij's avatar
      Merge tag 'sh-pfc-for-v4.8-tag1' of... · 53673a51
      Linus Walleij authored
      Merge tag 'sh-pfc-for-v4.8-tag1' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers into devel
      
      pinctrl: sh-pfc: Updates for v4.8
      
        - Voltage switching support for R-Car H3,
        - DRIF pin support for R-Car H3,
        - Cleanups and fixes.
      53673a51
    • Andy Shevchenko's avatar
      pinctrl: intel: Add Intel Merrifield pin controller support · 4e80c8f5
      Andy Shevchenko authored
      This driver adds pinctrl support for Intel Merrifield. The IP block which is
      called Family-Level Interface Shim is a separate entity in SoC. The GPIO driver
      (gpio-intel-mid.c) will be updated accordingly to support pinctrl interface.
      Reviewed-by: default avatarMika Westerberg <mika.westerberg@linux.intel.com>
      Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
      Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      4e80c8f5
    • Paul Gortmaker's avatar
      pinctrl: remove orphaned exported ".remove" function · 11884b18
      Paul Gortmaker authored
      The Kconfig currently controlling compilation of this code is:
      
      drivers/pinctrl/freescale/Kconfig:config PINCTRL_MXS
      drivers/pinctrl/freescale/Kconfig:	bool
      
      ...meaning that it currently is not being built as a module by anyone.
      
      It also doesn't have any modular functionality, so it doesn't need
      module.h included at all.
      
      What it does have is an exported function that was used as a shared
      ".remove" by other drivers, but those use cases (imx23 and imx28)
      are now gone, and hence this can disappear as well.
      
      Cc: Linus Walleij <linus.walleij@linaro.org>
      Cc: linux-gpio@vger.kernel.org
      Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
      Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      11884b18
    • Paul Gortmaker's avatar
      pinctrl: imx28: make it explicitly non-modular · 37824c12
      Paul Gortmaker authored
      The Kconfig currently controlling compilation of this code is:
      
      drivers/pinctrl/freescale/Kconfig:config PINCTRL_IMX28
      drivers/pinctrl/freescale/Kconfig:	bool
      
      ...meaning that it currently is 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.
      
      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_init was not in use by this 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
      was (or is now) contained at the top of the file in the comments.
      
      Cc: Linus Walleij <linus.walleij@linaro.org>
      Cc: Shawn Guo <shawn.guo@linaro.org>
      Cc: linux-gpio@vger.kernel.org
      Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
      Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      37824c12
    • Paul Gortmaker's avatar
      pinctrl: imx23: make it explicitly non-modular · 1ab599e7
      Paul Gortmaker authored
      The Kconfig currently controlling compilation of this code is:
      
      drivers/pinctrl/freescale/Kconfig:config PINCTRL_IMX23
      drivers/pinctrl/freescale/Kconfig:	bool
      
      ...meaning that it currently is 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.
      
      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_init wasn't actually used by this 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
      was (or is now) contained at the top of the file in the comments.
      
      Cc: Linus Walleij <linus.walleij@linaro.org>
      Cc: Shawn Guo <shawn.guo@linaro.org>
      Cc: linux-gpio@vger.kernel.org
      Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
      Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      1ab599e7
    • Paul Gortmaker's avatar
      pinctrl: vf610: make it explicitly non-modular · 8bab1a7b
      Paul Gortmaker authored
      The Kconfig currently controlling compilation of this code is:
      
      drivers/pinctrl/freescale/Kconfig:config PINCTRL_VF610
      drivers/pinctrl/freescale/Kconfig:	bool "Freescale Vybrid VF610 pinctrl driver"
      
      ...meaning that it currently is 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_init wasn't in use by this driver, the init ordering
      remains unchanged with this commit.
      
      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: Linus Walleij <linus.walleij@linaro.org>
      Cc: linux-gpio@vger.kernel.org
      Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
      Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      8bab1a7b
    • Paul Gortmaker's avatar
      pinctrl: imx7d: make it explicitly non-modular · bc21f488
      Paul Gortmaker authored
      The Kconfig currently controlling compilation of this code is:
      
      drivers/pinctrl/freescale/Kconfig:config PINCTRL_IMX7D
      drivers/pinctrl/freescale/Kconfig:	bool "IMX7D pinctrl driver"
      
      ...meaning that it currently is 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_init was not in use by this driver, the init ordering
      remains unchanged with this commit.
      
      We also delete the MODULE_LICENSE tag etc. since all that information
      was (or is now) contained at the top of the file in the comments.
      
      Cc: Linus Walleij <linus.walleij@linaro.org>
      Cc: Anson Huang <Anson.Huang@freescale.com>
      Cc: linux-gpio@vger.kernel.org
      Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
      Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      bc21f488
    • Paul Gortmaker's avatar
      pinctrl: imx6ul: make it explicitly non-modular · f23556d3
      Paul Gortmaker authored
      The Kconfig currently controlling compilation of this code is:
      
      drivers/pinctrl/freescale/Kconfig:config PINCTRL_IMX6UL
      drivers/pinctrl/freescale/Kconfig:	bool "IMX6UL pinctrl driver"
      
      ...meaning that it currently is 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_init was not in use by this driver, the init ordering
      remains unchanged with this commit.
      
      We also delete the MODULE_LICENSE tag etc. since all that information
      was (or is now) contained at the top of the file in the comments.
      
      Cc: Linus Walleij <linus.walleij@linaro.org>
      Cc: Anson Huang <Anson.Huang@freescale.com>
      Cc: linux-gpio@vger.kernel.org
      Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
      Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      f23556d3
    • Paul Gortmaker's avatar
      pinctrl: imx6sx: make it explicitly non-modular · 7ce3cdda
      Paul Gortmaker authored
      The Kconfig currently controlling compilation of this code is:
      
      drivers/pinctrl/freescale/Kconfig:config PINCTRL_IMX6SX
      drivers/pinctrl/freescale/Kconfig:	bool "IMX6SX pinctrl driver"
      
      ...meaning that it currently is 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_init was not in use by this driver, the init ordering
      remains unchanged with this commit.
      
      We also delete the MODULE_LICENSE tag etc. since all that information
      was (or is now) contained at the top of the file in the comments.
      
      Cc: Linus Walleij <linus.walleij@linaro.org>
      Cc: Anson Huang <Anson.Huang@freescale.com>
      Cc: linux-gpio@vger.kernel.org
      Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
      Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      7ce3cdda
    • Paul Gortmaker's avatar
      pinctrl: imx6sl: make it explicitly non-modular · c621e070
      Paul Gortmaker authored
      The Kconfig currently controlling compilation of this code is:
      
      drivers/pinctrl/freescale/Kconfig:config PINCTRL_IMX6SL
      drivers/pinctrl/freescale/Kconfig:	bool "IMX6SL pinctrl driver"
      
      ...meaning that it currently is 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_init was not in use by this 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
      was (or is now) contained at the top of the file in the comments.
      
      Cc: Linus Walleij <linus.walleij@linaro.org>
      Cc: Shawn Guo <shawn.guo@linaro.org>
      Cc: linux-gpio@vger.kernel.org
      Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
      Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      c621e070
    • Paul Gortmaker's avatar
      pinctrl: imx6q: make it explicitly non-modular · 4abaa3c2
      Paul Gortmaker authored
      The Kconfig currently controlling compilation of this code is:
      
      drivers/pinctrl/freescale/Kconfig:config PINCTRL_IMX6Q
      drivers/pinctrl/freescale/Kconfig:	bool "IMX6Q/DL pinctrl driver"
      
      ...meaning that it currently is 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_init translates to device_initcall in the non-modular
      case, the init ordering remains unchanged with this commit.
      
      We don't replace module.h with init.h since the file already has that.
      But we do add export.h since this file uses the global THIS_MODULE.
      
      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: Linus Walleij <linus.walleij@linaro.org>
      Cc: Dong Aisheng <dong.aisheng@linaro.org>
      Cc: linux-gpio@vger.kernel.org
      Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
      Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      4abaa3c2
    • Paul Gortmaker's avatar
      pinctrl: imx6dl: make it explicitly non-modular · 4277a02d
      Paul Gortmaker authored
      The Kconfig currently controlling compilation of this code is:
      
      drivers/pinctrl/freescale/Kconfig:config PINCTRL_IMX6Q
      drivers/pinctrl/freescale/Kconfig:	bool "IMX6Q/DL pinctrl driver"
      
      ...meaning that it currently is 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_init was not in use by this driver, the init ordering
      remains unchanged with this commit.
      
      We also delete the MODULE_LICENSE tag etc. since all that information
      was (or is now) contained at the top of the file in the comments.
      
      Cc: Linus Walleij <linus.walleij@linaro.org>
      Cc: Shawn Guo <shawn.guo@linaro.org>
      Cc: linux-gpio@vger.kernel.org
      Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
      Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      4277a02d
    • Paul Gortmaker's avatar
      pinctrl: imx53: make it explicitly non-modular · 85b80b46
      Paul Gortmaker authored
      The Kconfig currently controlling compilation of this code is:
      
      drivers/pinctrl/freescale/Kconfig:config PINCTRL_IMX53
      drivers/pinctrl/freescale/Kconfig:	bool "IMX53 pinctrl driver"
      
      ...meaning that it currently is 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_init was not in use by this driver, the init ordering
      remains unchanged with this commit.
      
      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: Linus Walleij <linus.walleij@linaro.org>
      Cc: Dong Aisheng <dong.aisheng@linaro.org>
      Cc: linux-gpio@vger.kernel.org
      Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
      Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      85b80b46
    • Paul Gortmaker's avatar
      pinctrl: imx51: make it explicitly non-modular · b588cb1e
      Paul Gortmaker authored
      The Kconfig currently controlling compilation of this code is:
      
      drivers/pinctrl/freescale/Kconfig:config PINCTRL_IMX51
      drivers/pinctrl/freescale/Kconfig:	bool "IMX51 pinctrl driver"
      
      ...meaning that it currently is 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_init was not in use by this driver, the init ordering
      remains unchanged with this commit.
      
      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: Linus Walleij <linus.walleij@linaro.org>
      Cc: Dong Aisheng <dong.aisheng@linaro.org>
      Cc: linux-gpio@vger.kernel.org
      Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
      Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      b588cb1e
    • Paul Gortmaker's avatar
      pinctrl: imx50: make it explicitly non-modular · 4415db17
      Paul Gortmaker authored
      The Kconfig currently controlling compilation of this code is:
      
      drivers/pinctrl/freescale/Kconfig:config PINCTRL_IMX50
      drivers/pinctrl/freescale/Kconfig:	bool "IMX50 pinctrl driver"
      
      ...meaning that it currently is 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_init was not in use by this driver, the init ordering
      remains unchanged with this commit.
      
      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: Linus Walleij <linus.walleij@linaro.org>
      Cc: linux-gpio@vger.kernel.org
      Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
      Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      4415db17
    • Paul Gortmaker's avatar
      pinctrl: imx35: make it explicitly non-modular · b2892dfd
      Paul Gortmaker authored
      The Kconfig currently controlling compilation of this code is:
      
      drivers/pinctrl/freescale/Kconfig:config PINCTRL_IMX35
      drivers/pinctrl/freescale/Kconfig:	bool "IMX35 pinctrl driver"
      
      ...meaning that it currently is 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_init was not in use by this driver, the init ordering
      remains unchanged with this commit.
      
      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: Linus Walleij <linus.walleij@linaro.org>
      Cc: Dong Aisheng <dong.aisheng@linaro.org>
      Cc: linux-gpio@vger.kernel.org
      Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
      Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      b2892dfd
    • Paul Gortmaker's avatar
      pinctrl: imx27: make it explicitly non-modular · 7fc8f593
      Paul Gortmaker authored
      The Kconfig currently controlling compilation of this code is:
      
      drivers/pinctrl/freescale/Kconfig:config PINCTRL_IMX27
      drivers/pinctrl/freescale/Kconfig:	bool "IMX27 pinctrl driver"
      
      ...meaning that it currently is 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_init was not in use by this driver, the init ordering
      remains unchanged with this commit.
      
      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: Linus Walleij <linus.walleij@linaro.org>
      Cc: Markus Pargmann <mpa@pengutronix.de>
      Cc: linux-gpio@vger.kernel.org
      Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
      Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      7fc8f593
    • Paul Gortmaker's avatar
      pinctrl: imx25: make it explicitly non-modular · 734ffc85
      Paul Gortmaker authored
      The Kconfig currently controlling compilation of this code is:
      
      drivers/pinctrl/freescale/Kconfig:config PINCTRL_IMX25
      drivers/pinctrl/freescale/Kconfig:        bool "IMX25 pinctrl driver"
      
      ...meaning that it currently is 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_init was not in use by this driver, the init ordering
      remains unchanged with this commit.
      
      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: Linus Walleij <linus.walleij@linaro.org>
      Cc: Denis Carikli <denis@eukrea.com>
      Cc: linux-gpio@vger.kernel.org
      Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
      Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      734ffc85
    • Paul Gortmaker's avatar
      pinctrl: imx21: make it explicitly non-modular · e2756baa
      Paul Gortmaker authored
      The Kconfig currently controlling compilation of this code is:
      
      drivers/pinctrl/freescale/Kconfig:config PINCTRL_IMX21
      drivers/pinctrl/freescale/Kconfig:	bool "i.MX21 pinctrl driver"
      
      ...meaning that it currently is 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.
      
      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: Linus Walleij <linus.walleij@linaro.org>
      Cc: Alexander Shiyan <shc_work@mail.ru>
      Cc: linux-gpio@vger.kernel.org
      Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
      Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      e2756baa
    • Paul Gortmaker's avatar
      pinctrl: imx1: make it explicitly non-modular · 4d1db6e7
      Paul Gortmaker authored
      The Kconfig currently controlling compilation of this code is:
      
      drivers/pinctrl/freescale/Kconfig:config PINCTRL_IMX1
      drivers/pinctrl/freescale/Kconfig:	bool "IMX1 pinctrl driver"
      
      ...meaning that it currently is 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: Linus Walleij <linus.walleij@linaro.org>
      Cc: Alexander Shiyan <shc_work@mail.ru>
      Cc: linux-gpio@vger.kernel.org
      Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
      Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      4d1db6e7
    • Paul Gortmaker's avatar
      pinctrl: freescale: remove needless module.h include · 7f8750ad
      Paul Gortmaker authored
      None of these files have anything modular in them, so they
      don't need to be bringing in module.h and all its dependencies.
      
      Cc: Linus Walleij <linus.walleij@linaro.org>
      Cc: linux-gpio@vger.kernel.org
      Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
      Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      7f8750ad
  5. 23 Jun, 2016 7 commits
  6. 22 Jun, 2016 2 commits
    • Paul Gortmaker's avatar
      pinctrl: as3722: convert PINCTRL_AS3722 from bool to tristate · 9385f35d
      Paul Gortmaker authored
      The Kconfig currently controlling compilation of this code is:
      
      config PINCTRL_AS3722
              bool "Pinctrl and GPIO driver for ams AS3722 PMIC"
      
      ...meaning that it currently is not being built as a module by anyone.
      
      During an audit for non-modular drivers using modular infrastructure
      this driver showed up.
      
      But rather than demodularize it, Laxman indicated that it would be
      prefereable to instead convert the driver option to tristate.
      
      This does that, and confirms that it will compile and modpost as
      such.  However, since I do not have the hardware to confirm that
      no new runtime issues exist when modular, that remains untested.
      
      Cc: Laxman Dewangan <ldewangan@nvidia.com>
      Cc: Linus Walleij <linus.walleij@linaro.org>
      Cc: linux-gpio@vger.kernel.org
      Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
      Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      9385f35d
    • Paul Gortmaker's avatar
      pinctrl: palmas: convert PINCTRL_PALMAS from bool to tristate · 767b8ce3
      Paul Gortmaker authored
      The Kconfig currently controlling compilation of this code is:
      
      config PINCTRL_PALMAS
              bool "Pinctrl driver for the PALMAS Series MFD devices"
      
      ...meaning that it currently is not being built as a module by anyone.
      
      During an audit for non-modular drivers using modular infrastructure
      this driver showed up.
      
      But rather than demodularize it, Laxman indicated that it would be
      prefereable to instead convert the driver option to tristate.
      
      This does that, and confirms that it will compile and modpost as
      such.  However, since I do not have the hardware to confirm that
      no new runtime issues exist when modular, that remains untested.
      
      Cc: Laxman Dewangan <ldewangan@nvidia.com>
      Cc: Linus Walleij <linus.walleij@linaro.org>
      Cc: linux-gpio@vger.kernel.org
      Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
      Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      767b8ce3