Skip to content

Commit 6b860e6

Browse files
Andy Yanbroonie
authored andcommitted
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 <[email protected]> Acked-by: Rob Herring <[email protected]> Signed-off-by: Mark Brown <[email protected]>
1 parent d38c4ae commit 6b860e6

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ and display controllers using the SPI communication interface.
66
Required Properties:
77

88
- compatible: should be one of the following.
9+
"rockchip,rv1108-spi" for rv1108 SoCs.
910
"rockchip,rk3036-spi" for rk3036 SoCS.
1011
"rockchip,rk3066-spi" for rk3066 SoCs.
1112
"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
@@ -914,6 +914,7 @@ static const struct dev_pm_ops rockchip_spi_pm = {
914914
};
915915

916916
static const struct of_device_id rockchip_spi_dt_match[] = {
917+
{ .compatible = "rockchip,rv1108-spi", },
917918
{ .compatible = "rockchip,rk3036-spi", },
918919
{ .compatible = "rockchip,rk3066-spi", },
919920
{ .compatible = "rockchip,rk3188-spi", },

0 commit comments

Comments
 (0)