UPSTREAM: spi: rockchip: add compatible string for rv1108 spi

The spi on rv1108 is the same as other rockchip based
socs, add compatible string for it.

Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
(cherry picked from commit 6b860e69e8)

Change-Id: Ia89f3d1392ae27ce36352d5601255a0aca9d1f8f
This commit is contained in:
Andy Yan 2017-08-14 16:34:22 +08:00 committed by Tao Huang
parent 9d0b8028e4
commit 716209b527
2 changed files with 2 additions and 0 deletions

View File

@ -7,6 +7,7 @@ Required Properties:
- compatible: should be one of the following.
"rockchip,px30-spi" for px30 SoCs.
"rockchip,rv1108-spi" for rv1108 SoCs.
"rockchip,rk3036-spi" for rk3036 SoCs.
"rockchip,rk3066-spi" for rk3066 SoCs.
"rockchip,rk3188-spi" for rk3188 SoCs.

View File

@ -918,6 +918,7 @@ static const struct dev_pm_ops rockchip_spi_pm = {
static const struct of_device_id rockchip_spi_dt_match[] = {
{ .compatible = "rockchip,px30-spi", },
{ .compatible = "rockchip,rv1108-spi", },
{ .compatible = "rockchip,rk3036-spi", },
{ .compatible = "rockchip,rk3066-spi", },
{ .compatible = "rockchip,rk3188-spi", },