spi: rockchip: add compatible string for rv1108 spi
authorAndy Yan <andy.yan@rock-chips.com>
Mon, 14 Aug 2017 08:34:22 +0000 (16:34 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 14 Aug 2017 16:24:02 +0000 (17:24 +0100)
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>
Documentation/devicetree/bindings/spi/spi-rockchip.txt
drivers/spi/spi-rockchip.c

index 83da4931d832688f51e19a56aaa03af8482e721a..6e3ffacbba320a756933255fe8100c0103e01cc6 100644 (file)
@@ -6,6 +6,7 @@ and display controllers using the SPI communication interface.
 Required Properties:
 
 - compatible: should be one of the following.
+    "rockchip,rv1108-spi" for rv1108 SoCs.
     "rockchip,rk3036-spi" for rk3036 SoCS.
     "rockchip,rk3066-spi" for rk3066 SoCs.
     "rockchip,rk3188-spi" for rk3188 SoCs.
index 34f6440a5255497aec59ee13da53d5ee0b8b96bf..474033e2149e7abf8faa1b5eeae9cbfc7ff67a4e 100644 (file)
@@ -914,6 +914,7 @@ static const struct dev_pm_ops rockchip_spi_pm = {
 };
 
 static const struct of_device_id rockchip_spi_dt_match[] = {
+       { .compatible = "rockchip,rv1108-spi", },
        { .compatible = "rockchip,rk3036-spi", },
        { .compatible = "rockchip,rk3066-spi", },
        { .compatible = "rockchip,rk3188-spi", },