diff mbox series

[v3,1/2] dt-bindings: gpio: sprd: Use SoC compatible string instead of wildcard string

Message ID 70f5476004b2f4e4b444bf8425f21a3c993edf47.1550543288.git.baolin.wang@linaro.org
State Accepted
Commit 07b6ce7febbb8185fd6181e9903f98247c4893fd
Headers show
Series [v3,1/2] dt-bindings: gpio: sprd: Use SoC compatible string instead of wildcard string | expand

Commit Message

(Exiting) Baolin Wang Feb. 19, 2019, 2:29 a.m. UTC
Use SoC compatible string instead of wildcard string.

Reviewed-by: Rob Herring <robh@kernel.org>

Signed-off-by: Baolin Wang <baolin.wang@linaro.org>

---
Changes from v2:
 - Add reviewed tag from Rob.

Changes from v1:
 - Add 'sprd' to indicate the module in subject line.
---
 .../devicetree/bindings/gpio/gpio-eic-sprd.txt     |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

-- 
1.7.9.5

Comments

Linus Walleij Feb. 21, 2019, 12:19 p.m. UTC | #1
On Tue, Feb 19, 2019 at 3:30 AM Baolin Wang <baolin.wang@linaro.org> wrote:

> Change to use SoC compatible string instead of wildcard string.

>

> The Spreadtrum SC9860 platform device trees and drivers' development

> are still in progress, and now we will always recompile and ship

> device trees at the same time as we will compile and ship the kernel,

> so we do not need care about the backwards compatibility.

>

> Signed-off-by: Baolin Wang <baolin.wang@linaro.org>

> ---

> Changes from v2:

>  - Add some comments to explain why we do not care backwards compatibility.


Patch applied.

Yours,
Linus Walleij
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/gpio/gpio-eic-sprd.txt b/Documentation/devicetree/bindings/gpio/gpio-eic-sprd.txt
index 93d98d0..54040a2 100644
--- a/Documentation/devicetree/bindings/gpio/gpio-eic-sprd.txt
+++ b/Documentation/devicetree/bindings/gpio/gpio-eic-sprd.txt
@@ -33,7 +33,7 @@  Required properties:
   "sprd,sc9860-eic-latch",
   "sprd,sc9860-eic-async",
   "sprd,sc9860-eic-sync",
-  "sprd,sc27xx-eic".
+  "sprd,sc2731-eic".
 - reg: Define the base and range of the I/O address space containing
   the GPIO controller registers.
 - gpio-controller: Marks the device node as a GPIO controller.
@@ -86,7 +86,7 @@  Example:
 	};
 
 	pmic_eic: gpio@300 {
-		compatible = "sprd,sc27xx-eic";
+		compatible = "sprd,sc2731-eic";
 		reg = <0x300>;
 		interrupt-parent = <&sc2731_pmic>;
 		interrupts = <5 IRQ_TYPE_LEVEL_HIGH>;