mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
pinctrl: rockchip: add module informations
Change-Id: I03d844355d96408774b6a3c8458759e364db4491 Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
This commit is contained in:
@@ -178,7 +178,7 @@ config PINCTRL_OXNAS
|
||||
select MFD_SYSCON
|
||||
|
||||
config PINCTRL_ROCKCHIP
|
||||
bool
|
||||
tristate "Rockchip gpio and pinctrl driver"
|
||||
select PINMUX
|
||||
select GENERIC_PINCONF
|
||||
select GENERIC_IRQ_CHIP
|
||||
|
||||
@@ -24,12 +24,14 @@
|
||||
*/
|
||||
|
||||
#include <linux/init.h>
|
||||
#include <linux/module.h>
|
||||
#include <linux/platform_device.h>
|
||||
#include <linux/io.h>
|
||||
#include <linux/bitops.h>
|
||||
#include <linux/gpio.h>
|
||||
#include <linux/of_address.h>
|
||||
#include <linux/of_irq.h>
|
||||
#include <linux/of_device.h>
|
||||
#include <linux/pinctrl/machine.h>
|
||||
#include <linux/pinctrl/pinconf.h>
|
||||
#include <linux/pinctrl/pinctrl.h>
|
||||
@@ -5378,6 +5380,7 @@ static const struct of_device_id rockchip_pinctrl_dt_match[] = {
|
||||
.data = &rk3399_pin_ctrl },
|
||||
{},
|
||||
};
|
||||
MODULE_DEVICE_TABLE(of, rockchip_pinctrl_dt_match);
|
||||
|
||||
static struct platform_driver rockchip_pinctrl_driver = {
|
||||
.probe = rockchip_pinctrl_probe,
|
||||
@@ -5393,3 +5396,7 @@ static int __init rockchip_pinctrl_drv_register(void)
|
||||
return platform_driver_register(&rockchip_pinctrl_driver);
|
||||
}
|
||||
postcore_initcall(rockchip_pinctrl_drv_register);
|
||||
|
||||
MODULE_DESCRIPTION("ROCKCHIP Pin Controller Driver");
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_ALIAS("platform:pinctrl-rockchip");
|
||||
|
||||
Reference in New Issue
Block a user