Skip to contentSkip to conversation

dt-bindings: mtk-sysirq: Correct bindings for supported SoCs

PATCH In review Matthias Brugger 3 participants 9 messages May 22, 2017 – Jun 7, 2017

Subsystems (4)
lore
Share & tools
lore

Matthias Brugger

author maintainer
#0 lore raw

PATCH 1/4 dt-bindings: mtk-sysirq: Correct bindings for supported SoCs

All SoCs supported up to now rely on the fallback binding of mt6577. Fix the binding description to reflect this.

---
 .../interrupt-controller/mediatek,sysirq.txt       | 24 +++++++++++-----------
 1 file changed, 12 insertions(+), 12 deletions(-)
Documentation/devicetree/bindings/interrupt-controller/mediatek,sysirq.txt +12 -12
index a89c03bb1a81..aff3bb2a704b 100644
@@ -4,18 +4,18 @@ Mediatek SOCs sysirq support controllable irq inverter for each GIC SPI
 interrupt.
 
 Required properties:
-- compatible: should be one of:
-	"mediatek,mt8173-sysirq"
-	"mediatek,mt8135-sysirq"
-	"mediatek,mt8127-sysirq"
-	"mediatek,mt6795-sysirq"
-	"mediatek,mt6755-sysirq"
-	"mediatek,mt6592-sysirq"
-	"mediatek,mt6589-sysirq"
-	"mediatek,mt6582-sysirq"
-	"mediatek,mt6580-sysirq"
-	"mediatek,mt6577-sysirq"
-	"mediatek,mt2701-sysirq"
+- compatible: should be
+	"mediatek,mt8173-sysirq", "mediatek,mt6577-sysirq": for MT8173
+	"mediatek,mt8135-sysirq", "mediatek,mt6577-sysirq": for MT8135
+	"mediatek,mt8127-sysirq", "mediatek,mt6577-sysirq": for MT8127
+	"mediatek,mt6795-sysirq", "mediatek,mt6577-sysirq": for MT6795
+	"mediatek,mt6755-sysirq", "mediatek,mt6577-sysirq": for MT6755
+	"mediatek,mt6592-sysirq", "mediatek,mt6577-sysirq": for MT6592
+	"mediatek,mt6589-sysirq", "mediatek,mt6577-sysirq": for MT6589
+	"mediatek,mt6582-sysirq", "mediatek,mt6577-sysirq": for MT6582
+	"mediatek,mt6580-sysirq", "mediatek,mt6577-sysirq": for MT6580
+	"mediatek,mt6577-sysirq": for MT6577
+	"mediatek,mt2701-sysirq", "mediatek,mt6577-sysirq": for MT2701
 - interrupt-controller : Identifies the node as an interrupt controller
 - #interrupt-cells : Use the same format as specified by GIC in arm,gic.txt.
 - interrupt-parent: phandle of irq parent for sysirq. The parent must
Signature · 1 line
2.12.0
author maintainer
#1 lore raw

PATCH 2/4 dt-bindings: i2c-mt6577: Rename file to reflect bindings

The i2c-mt6577.txt actually holds the bindings for all mediatek supported i2c controller. Change the name to i2c.mtk.txt to reflect that.

---
 Documentation/devicetree/bindings/i2c/{i2c-mt6577.txt => i2c-mtk.txt} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)
 rename Documentation/devicetree/bindings/i2c/{i2c-mt6577.txt => i2c-mtk.txt} (100%)
Documentation/devicetree/bindings/i2c/i2c-mtk.txt renamed from Documentation/devicetree/bindings/i2c/i2c-mt6577.txt +0 -0
similarity index 100%
rename from Documentation/devicetree/bindings/i2c/i2c-mt6577.txt
rename to Documentation/devicetree/bindings/i2c/i2c-mtk.txt
Signature · 1 line
2.12.0
Acked-by on v1 2/4
#2 lore raw

Re: [PATCH 2/4] dt-bindings: i2c-mt6577: Rename file to reflect bindings

Quoted 4 lines · Matthias Brugger

The i2c-mt6577.txt actually holds the bindings for all mediatek supported i2c controller. Change the name to i2c.mtk.txt to reflect that.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20170607/122dc0d0/attachment.sig>

author maintainer
#3 lore raw

PATCH 3/4 dt-bindigns: i2c-mtk: Delete bindings

In reply to Matthias Brugger

The bindings file list bindings for mt1827 and mt8135 but these bindings are not supported by the driver. Remove the bindings. Also do some minor style changes to the compatible documentation

---
 Documentation/devicetree/bindings/i2c/i2c-mtk.txt | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)
Documentation/devicetree/bindings/i2c/i2c-mtk.txt +3 -5
index 0ce6fa3242f0..060a9ec98215 100644
@@ -4,11 +4,9 @@ The Mediatek's I2C controller is used to interface with I2C devices.
 
 Required properties:
   - compatible: value should be either of the following.
-      (a) "mediatek,mt6577-i2c", for i2c compatible with mt6577 i2c.
-      (b) "mediatek,mt6589-i2c", for i2c compatible with mt6589 i2c.
-      (c) "mediatek,mt8127-i2c", for i2c compatible with mt8127 i2c.
-      (d) "mediatek,mt8135-i2c", for i2c compatible with mt8135 i2c.
-      (e) "mediatek,mt8173-i2c", for i2c compatible with mt8173 i2c.
+      "mediatek,mt6577-i2c": for i2c compatible with mt6577.
+      "mediatek,mt6589-i2c": for i2c compatible with mt6589.
+      "mediatek,mt8173-i2c": for i2c compatible with mt8173.
   - reg: physical base address of the controller and dma base, length of memory
     mapped region.
   - interrupts: interrupt number to the cpu.
Signature · 1 line
2.12.0
Acked-by on v1 3/4
#4 lore raw

Re: [PATCH 3/4] dt-bindigns: i2c-mtk: Delete bindings

Quoted 5 lines · Matthias Brugger

The bindings file list bindings for mt1827 and mt8135 but these bindings are not supported by the driver. Remove the bindings. Also do some minor style changes to the compatible documentation

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20170607/7f505e6c/attachment.sig>

author maintainer
#5 lore raw

PATCH 4/4 dt-bindings: i2c-mtk: Add mt7623 binding

In reply to Matthias Brugger

The mt7623 dtsi has support for the i2c block, but this is not documented. Add the documentation for SoC mt7623 to de description.

---
 Documentation/devicetree/bindings/i2c/i2c-mtk.txt | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/i2c/i2c-mtk.txt +1 -0
index 060a9ec98215..aa36099dcee7 100644
@@ -6,6 +6,7 @@ Required properties:
   - compatible: value should be either of the following.
       "mediatek,mt6577-i2c": for i2c compatible with mt6577.
       "mediatek,mt6589-i2c": for i2c compatible with mt6589.
+      "mediatek,mt7623-i2c", "mediatek,mt6577-i2c": for i2c compatible with mt7623.
       "mediatek,mt8173-i2c": for i2c compatible with mt8173.
   - reg: physical base address of the controller and dma base, length of memory
     mapped region.
Signature · 1 line
2.12.0
Acked-by on v1 4/4
#6 lore raw

Re: [PATCH 4/4] dt-bindings: i2c-mtk: Add mt7623 binding

Quoted 4 lines · Matthias Brugger

The mt7623 dtsi has support for the i2c block, but this is not documented. Add the documentation for SoC mt7623 to de description.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20170607/43bc3350/attachment.sig>

author maintainer Applied
#8 lore raw
Quoted 11 lines · Rob Herring
Quoted 7 lines · Matthias Brugger

All SoCs supported up to now rely on the fallback binding of mt6577. Fix the binding description to reflect this.

---
  .../interrupt-controller/mediatek,sysirq.txt       | 24 +++++++++++-----------
  1 file changed, 12 insertions(+), 12 deletions(-)

Thanks!

Pushed to v4.12-next/dts64