lkml.org 
[lkml]   [2017]   [Jul]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 07/14] spi: rockchip: add compatible string for rv1108 spi
    Date
    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>
    ---

    Documentation/devicetree/bindings/spi/spi-rockchip.txt | 1 +
    drivers/spi/spi-rockchip.c | 1 +
    2 files changed, 2 insertions(+)

    diff --git a/Documentation/devicetree/bindings/spi/spi-rockchip.txt b/Documentation/devicetree/bindings/spi/spi-rockchip.txt
    index 83da493..6e3ffac 100644
    --- a/Documentation/devicetree/bindings/spi/spi-rockchip.txt
    +++ b/Documentation/devicetree/bindings/spi/spi-rockchip.txt
    @@ -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.
    diff --git a/drivers/spi/spi-rockchip.c b/drivers/spi/spi-rockchip.c
    index 0b4a52b..6235b14 100644
    --- a/drivers/spi/spi-rockchip.c
    +++ b/drivers/spi/spi-rockchip.c
    @@ -919,6 +919,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", },
    --
    2.7.4

    \
     
     \ /
      Last update: 2017-07-31 12:16    [W:4.140 / U:0.056 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site