Message ID | 20210423084155.17439-1-jon.lin@rock-chips.com |
---|---|
State | Superseded |
Headers | show |
Series | [v1,1/8] dt-bindings: spi: spi-rockchip: add description for rv1126 | expand |
Hi Jon, Am Freitag, 23. April 2021, 10:41:49 CEST schrieb Jon Lin: > Add compatible string for rv1126 to applications for potential > applications. > > Signed-off-by: Jon Lin <jon.lin@rock-chips.com> > --- > drivers/spi/spi-rockchip.c | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > > diff --git a/drivers/spi/spi-rockchip.c b/drivers/spi/spi-rockchip.c > index 52d6259d96ed..dae0281f6ba8 100644 > --- a/drivers/spi/spi-rockchip.c > +++ b/drivers/spi/spi-rockchip.c > @@ -911,7 +911,9 @@ 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,px30-spi", }, unrelated change with the add "space" at the end > + { .compatible = "rockchip,rv1108-spi", }, > + { .compatible = "rockchip,rv1126-spi", }, it seems the list was sorted alphabetically, so rv* comes after rk* which is probably why the rv1108 was at the bottom and rightfully so. Heiko > { .compatible = "rockchip,rk3036-spi", }, > { .compatible = "rockchip,rk3066-spi", }, > { .compatible = "rockchip,rk3188-spi", }, > @@ -921,7 +923,6 @@ static const struct of_device_id rockchip_spi_dt_match[] = { > { .compatible = "rockchip,rk3328-spi", }, > { .compatible = "rockchip,rk3368-spi", }, > { .compatible = "rockchip,rk3399-spi", }, > - { .compatible = "rockchip,rv1108-spi", }, > { }, > }; > MODULE_DEVICE_TABLE(of, rockchip_spi_dt_match); >
diff --git a/Documentation/devicetree/bindings/spi/spi-rockchip.yaml b/Documentation/devicetree/bindings/spi/spi-rockchip.yaml index 1e6cf29e6388..4ed5b72a8494 100644 --- a/Documentation/devicetree/bindings/spi/spi-rockchip.yaml +++ b/Documentation/devicetree/bindings/spi/spi-rockchip.yaml @@ -27,6 +27,7 @@ properties: - items: - enum: - rockchip,px30-spi + - rockchip,rv1126-spi - rockchip,rk3188-spi - rockchip,rk3288-spi - rockchip,rk3308-spi
The description below will be used for rv1126.dtsi in the future Signed-off-by: Jon Lin <jon.lin@rock-chips.com> --- Documentation/devicetree/bindings/spi/spi-rockchip.yaml | 1 + 1 file changed, 1 insertion(+)