Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit aa29ea3d authored by Caesar Wang's avatar Caesar Wang Committed by Mark Brown
Browse files

spi/rockchip: add the rk3036/rk3228/rk3368 to match for driver



In gerenal, the "rockchip,rockchip-spi" string will match the dts
that's great in spi driver. After all the most of rockchip SoCs ar
same spi controller.

Then, we should keep the old style to match the dts various.

Signed-off-by: default avatarCaesar Wang <wxt@rock-chips.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 1eb1c5dc
Loading
Loading
Loading
Loading
+3 −0
Original line number Original line Diff line number Diff line
@@ -892,9 +892,12 @@ static const struct dev_pm_ops rockchip_spi_pm = {
};
};


static const struct of_device_id rockchip_spi_dt_match[] = {
static const struct of_device_id rockchip_spi_dt_match[] = {
	{ .compatible = "rockchip,rk3036-spi", },
	{ .compatible = "rockchip,rk3066-spi", },
	{ .compatible = "rockchip,rk3066-spi", },
	{ .compatible = "rockchip,rk3188-spi", },
	{ .compatible = "rockchip,rk3188-spi", },
	{ .compatible = "rockchip,rk3228-spi", },
	{ .compatible = "rockchip,rk3288-spi", },
	{ .compatible = "rockchip,rk3288-spi", },
	{ .compatible = "rockchip,rk3368-spi", },
	{ .compatible = "rockchip,rk3399-spi", },
	{ .compatible = "rockchip,rk3399-spi", },
	{ },
	{ },
};
};