Skip to content

Commit d3346b6

Browse files
Andy YanJayJiang-ASUS
authored andcommitted
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 6b860e69e873be247d19174ab6b24d0b5741bf8c) Change-Id: Ia89f3d1392ae27ce36352d5601255a0aca9d1f8f
1 parent d41ad2c commit d3346b6

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

Documentation/devicetree/bindings/spi/spi-rockchip.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ Required Properties:
77

88
- compatible: should be one of the following.
99
"rockchip,px30-spi" for px30 SoCs.
10+
"rockchip,rv1108-spi" for rv1108 SoCs.
1011
"rockchip,rk3036-spi" for rk3036 SoCs.
1112
"rockchip,rk3066-spi" for rk3066 SoCs.
1213
"rockchip,rk3188-spi" for rk3188 SoCs.

drivers/spi/spi-rockchip.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -918,6 +918,7 @@ static const struct dev_pm_ops rockchip_spi_pm = {
918918

919919
static const struct of_device_id rockchip_spi_dt_match[] = {
920920
{ .compatible = "rockchip,px30-spi", },
921+
{ .compatible = "rockchip,rv1108-spi", },
921922
{ .compatible = "rockchip,rk3036-spi", },
922923
{ .compatible = "rockchip,rk3066-spi", },
923924
{ .compatible = "rockchip,rk3188-spi", },

0 commit comments

Comments
 (0)