dt-bindings: mtk-sysirq: Correct bindings for supported SoCs
Matthias Brugger
maintainerPATCH 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
@@ -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
Matthias Brugger
maintainerPATCH 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
Signature · 1 line
2.12.0
Matthias Brugger
maintainerPATCH 3/4 dt-bindigns: i2c-mtk: Delete bindings
In reply to Matthias BruggerThe 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
@@ -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
Matthias Brugger
maintainerPATCH 4/4 dt-bindings: i2c-mtk: Add mt7623 binding
In reply to Matthias BruggerThe 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
@@ -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
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.
Signed-off-by Matthias Brugger <[email protected]>--- .../interrupt-controller/mediatek,sysirq.txt | 24 +++++++++++----------- 1 file changed, 12 insertions(+), 12 deletions(-)
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.
Signed-off-by Matthias Brugger <[email protected]>--- .../interrupt-controller/mediatek,sysirq.txt | 24 +++++++++++----------- 1 file changed, 12 insertions(+), 12 deletions(-)Acked-by Rob Herring <[email protected]>
Thanks!
Pushed to v4.12-next/dts64
Re: [PATCH 2/4] dt-bindings: i2c-mt6577: Rename file to reflect bindings
In reply to Matthias BruggerQuoted 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.
Signed-off-by Matthias Brugger <[email protected]>
-------------- 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>
Re: [PATCH 3/4] dt-bindigns: i2c-mtk: Delete bindings
In reply to Matthias BruggerQuoted 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
Signed-off-by Matthias Brugger <[email protected]>
-------------- 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>
Re: [PATCH 4/4] dt-bindings: i2c-mtk: Add mt7623 binding
In reply to Matthias BruggerQuoted 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.
Signed-off-by Matthias Brugger <[email protected]>
-------------- 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>