linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/4] dt-bindings: mtk-sysirq: Correct bindings for supported SoCs
@ 2017-05-22  9:40 Matthias Brugger
  2017-05-22  9:40 ` [PATCH 2/4] dt-bindings: i2c-mt6577: Rename file to reflect bindings Matthias Brugger
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Matthias Brugger @ 2017-05-22  9:40 UTC (permalink / raw)
  To: linux-arm-kernel

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

Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
---
 .../interrupt-controller/mediatek,sysirq.txt       | 24 +++++++++++-----------
 1 file changed, 12 insertions(+), 12 deletions(-)

diff --git a/Documentation/devicetree/bindings/interrupt-controller/mediatek,sysirq.txt b/Documentation/devicetree/bindings/interrupt-controller/mediatek,sysirq.txt
index a89c03bb1a81..aff3bb2a704b 100644
--- a/Documentation/devicetree/bindings/interrupt-controller/mediatek,sysirq.txt
+++ b/Documentation/devicetree/bindings/interrupt-controller/mediatek,sysirq.txt
@@ -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
-- 
2.12.0

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [PATCH 2/4] dt-bindings: i2c-mt6577: Rename file to reflect bindings
  2017-05-22  9:40 [PATCH 1/4] dt-bindings: mtk-sysirq: Correct bindings for supported SoCs Matthias Brugger
@ 2017-05-22  9:40 ` Matthias Brugger
  2017-06-07 16:15   ` Wolfram Sang
  2017-05-22  9:40 ` [PATCH 3/4] dt-bindigns: i2c-mtk: Delete bindings Matthias Brugger
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 9+ messages in thread
From: Matthias Brugger @ 2017-05-22  9:40 UTC (permalink / raw)
  To: linux-arm-kernel

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

Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
---
 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%)

diff --git a/Documentation/devicetree/bindings/i2c/i2c-mt6577.txt b/Documentation/devicetree/bindings/i2c/i2c-mtk.txt
similarity index 100%
rename from Documentation/devicetree/bindings/i2c/i2c-mt6577.txt
rename to Documentation/devicetree/bindings/i2c/i2c-mtk.txt
-- 
2.12.0

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [PATCH 3/4] dt-bindigns: i2c-mtk: Delete bindings
  2017-05-22  9:40 [PATCH 1/4] dt-bindings: mtk-sysirq: Correct bindings for supported SoCs Matthias Brugger
  2017-05-22  9:40 ` [PATCH 2/4] dt-bindings: i2c-mt6577: Rename file to reflect bindings Matthias Brugger
@ 2017-05-22  9:40 ` Matthias Brugger
  2017-06-07 16:15   ` Wolfram Sang
  2017-05-22  9:40 ` [PATCH 4/4] dt-bindings: i2c-mtk: Add mt7623 binding Matthias Brugger
  2017-05-30 23:13 ` [PATCH 1/4] dt-bindings: mtk-sysirq: Correct bindings for supported SoCs Rob Herring
  3 siblings, 1 reply; 9+ messages in thread
From: Matthias Brugger @ 2017-05-22  9:40 UTC (permalink / raw)
  To: linux-arm-kernel

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

Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
---
 Documentation/devicetree/bindings/i2c/i2c-mtk.txt | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/Documentation/devicetree/bindings/i2c/i2c-mtk.txt b/Documentation/devicetree/bindings/i2c/i2c-mtk.txt
index 0ce6fa3242f0..060a9ec98215 100644
--- a/Documentation/devicetree/bindings/i2c/i2c-mtk.txt
+++ b/Documentation/devicetree/bindings/i2c/i2c-mtk.txt
@@ -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.
-- 
2.12.0

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [PATCH 4/4] dt-bindings: i2c-mtk: Add mt7623 binding
  2017-05-22  9:40 [PATCH 1/4] dt-bindings: mtk-sysirq: Correct bindings for supported SoCs Matthias Brugger
  2017-05-22  9:40 ` [PATCH 2/4] dt-bindings: i2c-mt6577: Rename file to reflect bindings Matthias Brugger
  2017-05-22  9:40 ` [PATCH 3/4] dt-bindigns: i2c-mtk: Delete bindings Matthias Brugger
@ 2017-05-22  9:40 ` Matthias Brugger
  2017-06-07 16:15   ` Wolfram Sang
  2017-05-30 23:13 ` [PATCH 1/4] dt-bindings: mtk-sysirq: Correct bindings for supported SoCs Rob Herring
  3 siblings, 1 reply; 9+ messages in thread
From: Matthias Brugger @ 2017-05-22  9:40 UTC (permalink / raw)
  To: linux-arm-kernel

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

Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
---
 Documentation/devicetree/bindings/i2c/i2c-mtk.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/i2c/i2c-mtk.txt b/Documentation/devicetree/bindings/i2c/i2c-mtk.txt
index 060a9ec98215..aa36099dcee7 100644
--- a/Documentation/devicetree/bindings/i2c/i2c-mtk.txt
+++ b/Documentation/devicetree/bindings/i2c/i2c-mtk.txt
@@ -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.
-- 
2.12.0

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [PATCH 1/4] dt-bindings: mtk-sysirq: Correct bindings for supported SoCs
  2017-05-22  9:40 [PATCH 1/4] dt-bindings: mtk-sysirq: Correct bindings for supported SoCs Matthias Brugger
                   ` (2 preceding siblings ...)
  2017-05-22  9:40 ` [PATCH 4/4] dt-bindings: i2c-mtk: Add mt7623 binding Matthias Brugger
@ 2017-05-30 23:13 ` Rob Herring
  2017-05-31 12:05   ` Matthias Brugger
  3 siblings, 1 reply; 9+ messages in thread
From: Rob Herring @ 2017-05-30 23:13 UTC (permalink / raw)
  To: linux-arm-kernel

On Mon, May 22, 2017 at 11:40:18AM +0200, Matthias Brugger wrote:
> All SoCs supported up to now rely on the fallback binding of mt6577.
> Fix the binding description to reflect this.
> 
> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
> ---
>  .../interrupt-controller/mediatek,sysirq.txt       | 24 +++++++++++-----------
>  1 file changed, 12 insertions(+), 12 deletions(-)

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [PATCH 1/4] dt-bindings: mtk-sysirq: Correct bindings for supported SoCs
  2017-05-30 23:13 ` [PATCH 1/4] dt-bindings: mtk-sysirq: Correct bindings for supported SoCs Rob Herring
@ 2017-05-31 12:05   ` Matthias Brugger
  0 siblings, 0 replies; 9+ messages in thread
From: Matthias Brugger @ 2017-05-31 12:05 UTC (permalink / raw)
  To: linux-arm-kernel



On 31/05/17 01:13, Rob Herring wrote:
> On Mon, May 22, 2017 at 11:40:18AM +0200, Matthias Brugger wrote:
>> All SoCs supported up to now rely on the fallback binding of mt6577.
>> Fix the binding description to reflect this.
>>
>> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
>> ---
>>   .../interrupt-controller/mediatek,sysirq.txt       | 24 +++++++++++-----------
>>   1 file changed, 12 insertions(+), 12 deletions(-)
> 
> Acked-by: Rob Herring <robh@kernel.org>
> 

Thanks!

Pushed to v4.12-next/dts64

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [PATCH 2/4] dt-bindings: i2c-mt6577: Rename file to reflect bindings
  2017-05-22  9:40 ` [PATCH 2/4] dt-bindings: i2c-mt6577: Rename file to reflect bindings Matthias Brugger
@ 2017-06-07 16:15   ` Wolfram Sang
  0 siblings, 0 replies; 9+ messages in thread
From: Wolfram Sang @ 2017-06-07 16:15 UTC (permalink / raw)
  To: linux-arm-kernel

On Mon, May 22, 2017 at 11:40:19AM +0200, Matthias Brugger wrote:
> The i2c-mt6577.txt actually holds the bindings for all mediatek supported i2c
> controller. Change the name to i2c.mtk.txt to reflect that.
> 
> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>

Acked-by: Wolfram Sang <wsa@the-dreams.de>

-------------- 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>

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [PATCH 3/4] dt-bindigns: i2c-mtk: Delete bindings
  2017-05-22  9:40 ` [PATCH 3/4] dt-bindigns: i2c-mtk: Delete bindings Matthias Brugger
@ 2017-06-07 16:15   ` Wolfram Sang
  0 siblings, 0 replies; 9+ messages in thread
From: Wolfram Sang @ 2017-06-07 16:15 UTC (permalink / raw)
  To: linux-arm-kernel

On Mon, May 22, 2017 at 11:40:20AM +0200, Matthias Brugger wrote:
> 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
> 
> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>

Acked-by: Wolfram Sang <wsa@the-dreams.de>

-------------- 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>

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [PATCH 4/4] dt-bindings: i2c-mtk: Add mt7623 binding
  2017-05-22  9:40 ` [PATCH 4/4] dt-bindings: i2c-mtk: Add mt7623 binding Matthias Brugger
@ 2017-06-07 16:15   ` Wolfram Sang
  0 siblings, 0 replies; 9+ messages in thread
From: Wolfram Sang @ 2017-06-07 16:15 UTC (permalink / raw)
  To: linux-arm-kernel

On Mon, May 22, 2017 at 11:40:21AM +0200, Matthias Brugger wrote:
> The mt7623 dtsi has support for the i2c block, but this is not documented.
> Add the documentation for SoC mt7623 to de description.
> 
> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>

Acked-by: Wolfram Sang <wsa@the-dreams.de>

-------------- 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>

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2017-06-07 16:15 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-22  9:40 [PATCH 1/4] dt-bindings: mtk-sysirq: Correct bindings for supported SoCs Matthias Brugger
2017-05-22  9:40 ` [PATCH 2/4] dt-bindings: i2c-mt6577: Rename file to reflect bindings Matthias Brugger
2017-06-07 16:15   ` Wolfram Sang
2017-05-22  9:40 ` [PATCH 3/4] dt-bindigns: i2c-mtk: Delete bindings Matthias Brugger
2017-06-07 16:15   ` Wolfram Sang
2017-05-22  9:40 ` [PATCH 4/4] dt-bindings: i2c-mtk: Add mt7623 binding Matthias Brugger
2017-06-07 16:15   ` Wolfram Sang
2017-05-30 23:13 ` [PATCH 1/4] dt-bindings: mtk-sysirq: Correct bindings for supported SoCs Rob Herring
2017-05-31 12:05   ` Matthias Brugger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).