Fabio Estevam
8a83ecd8ec
pinctrl: imx: Disallow driver unbind
...
Performing the 'unbind' operation on pinctrl drivers is
not a sensible usecase, so pass the suppress_bind_attrs
atribute to prevent it.
Signed-off-by: Fabio Estevam <festevam@gmail.com >
Link: https://lore.kernel.org/r/20210328183034.555702-2-festevam@gmail.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org >
2021-04-08 16:00:53 +02:00
Fabio Estevam
f6b6db2dfd
pinctrl: imx: Remove unneeded of_match_ptr()
...
i.MX is a DT-only platform, so of_match_ptr() can be safely
removed.
Remove the unneeded of_match_ptr().
Signed-off-by: Fabio Estevam <festevam@gmail.com >
Link: https://lore.kernel.org/r/20210328183034.555702-1-festevam@gmail.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org >
2021-04-08 16:00:53 +02:00
Fabio Estevam
c2b39deced
pinctrl: freescale: Switch to SPDX identifier
...
Adopt the SPDX license identifier headers to ease license compliance
management.
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com >
Reviewed-by: Stefan Agner <stefan@agner.ch >
Signed-off-by: Linus Walleij <linus.walleij@linaro.org >
2018-05-24 09:32:58 +02:00
Paul Gortmaker
7fc8f59305
pinctrl: imx27: make it explicitly non-modular
...
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: Paul Gortmaker <paul.gortmaker@windriver.com >
Signed-off-by: Linus Walleij <linus.walleij@linaro.org >
2016-06-29 09:34:01 +02:00
Laxman Dewangan
e55e025d16
pinctrl: imxl: Use devm_pinctrl_register() for pinctrl registration
...
Use devm_pinctrl_register() for pin control registration and remove
need of .remove callback.
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com >
Cc: Hongzhou Yang <hongzhou.yang@mediatek.com >
Cc: Antoine Tenart <antoine.tenart@free-electrons.com >
Cc: Heiko Stuebner <heiko@sntech.de >
Signed-off-by: Linus Walleij <linus.walleij@linaro.org >
2016-04-21 00:02:21 +02:00
Wolfram Sang
c61b301d3b
pinctrl: freescale: drop owner assignment from platform_drivers
...
A platform_driver does not need to set an owner, it will be populated by the
driver core.
Signed-off-by: Wolfram Sang <wsa@the-dreams.de >
2014-10-20 16:21:22 +02:00
Linus Walleij
edad3b2a57
pinctrl: imx/mxs: move freescale drivers to subdir
...
This moves all the Freescale-related drivers (i.MX and MXS) to
its own subdirectory to clear the view.
Cc: Alexander Shiyan <shc_work@mail.ru >
Cc: Anson Huang <b20788@freescale.com >
Cc: Fabio Estevam <fabio.estevam@freescale.com >
Cc: Denis Carikli <denis@eukrea.com >
Cc: Markus Pargmann <mpa@pengutronix.de >
Cc: Greg Ungerer <gerg@uclinux.org >
Cc: Sascha Hauer <s.hauer@pengutronix.de >
Acked-by: Shawn Guo <shawn.guo@linaro.org >
Signed-off-by: Linus Walleij <linus.walleij@linaro.org >
2014-09-04 10:05:28 +02:00