Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1710716 > unrolled thread

[PATCH v4 1/8] spi: rockchip: add compatible string for rv1108 spi

Started byAndy Yan <andy.yan@rock-chips.com>
First post2017-08-14 10:40 +0200
Last post2017-08-14 17:30 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH v4 1/8] spi: rockchip: add compatible string for rv1108 spi Andy Yan <andy.yan@rock-chips.com> - 2017-08-14 10:40 +0200
    Re: [PATCH v4 1/8] spi: rockchip: add compatible string for rv1108  spi Mark Brown <broonie@kernel.org> - 2017-08-14 17:30 +0200

#1710716 — [PATCH v4 1/8] spi: rockchip: add compatible string for rv1108 spi

FromAndy Yan <andy.yan@rock-chips.com>
Date2017-08-14 10:40 +0200
Subject[PATCH v4 1/8] spi: rockchip: add compatible string for rv1108 spi
Message-ID<uej4K-1QU-15@gated-at.bofh.it>
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>

---

Changes in v4: None
Changes in v3: None
Changes in v2: None

 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..27b4db2 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

[toc] | [next] | [standalone]


#1711031 — Re: [PATCH v4 1/8] spi: rockchip: add compatible string for rv1108 spi

FromMark Brown <broonie@kernel.org>
Date2017-08-14 17:30 +0200
SubjectRe: [PATCH v4 1/8] spi: rockchip: add compatible string for rv1108 spi
Message-ID<ueptx-5Ok-35@gated-at.bofh.it>
In reply to#1710716

[Multipart message — attachments visible in raw view] — view raw

On Mon, Aug 14, 2017 at 04:34:22PM +0800, Andy Yan wrote:

> Changes in v4: None
> Changes in v3: None
> Changes in v2: None

That's hopefully not true, v1 didn't build due to a syntax error...

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web