diff options
author | Kever Yang <kever.yang@rock-chips.com> | 2017-08-17 10:17:35 +0300 |
---|---|---|
committer | Philipp Tomsich <philipp.tomsich@theobroma-systems.com> | 2017-08-18 19:00:29 +0300 |
commit | a634236b8d571df7db35ae70bd9a0573fbbec8d2 (patch) | |
tree | ca6f00f63f69b86d357bf610a6f940e8ee4ddc45 /drivers/pinctrl | |
parent | a80b3b0378fdd700649124cb2f9cfe8c58390b73 (diff) | |
download | u-boot-a634236b8d571df7db35ae70bd9a0573fbbec8d2.tar.xz |
rockchip: rk322x: pinctrl: using compatible name same with dts
The dts from kernel is using rk3228-pinctrl as compatible name,
need to sync with it to make the driver work.
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Diffstat (limited to 'drivers/pinctrl')
-rw-r--r-- | drivers/pinctrl/rockchip/pinctrl_rk322x.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/pinctrl/rockchip/pinctrl_rk322x.c b/drivers/pinctrl/rockchip/pinctrl_rk322x.c index 7aaf4b5801..d9f8614810 100644 --- a/drivers/pinctrl/rockchip/pinctrl_rk322x.c +++ b/drivers/pinctrl/rockchip/pinctrl_rk322x.c @@ -279,12 +279,12 @@ static int rk322x_pinctrl_probe(struct udevice *dev) } static const struct udevice_id rk322x_pinctrl_ids[] = { - { .compatible = "rockchip,rk322x-pinctrl" }, + { .compatible = "rockchip,rk3228-pinctrl" }, { } }; -U_BOOT_DRIVER(pinctrl_rk322x) = { - .name = "pinctrl_rk322x", +U_BOOT_DRIVER(pinctrl_rk3228) = { + .name = "pinctrl_rk3228", .id = UCLASS_PINCTRL, .of_match = rk322x_pinctrl_ids, .priv_auto_alloc_size = sizeof(struct rk322x_pinctrl_priv), |