mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-14 21:10:27 +01:00
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>
This commit is contained in:
parent
a80b3b0378
commit
a634236b8d
1 changed files with 3 additions and 3 deletions
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue