Add i2c dt-binding and device node for Mediatek MT2701 Soc
Subsystems (3)
v4 cover Add i2c dt-binding and device node for Mediatek MT2701 Soc
This patch series based on v4.12-rc1, include MT2701 i2c dt-binding and device node.
changes since v3:
- Add fallback compatible to dt-binding
changes since v2:
- Modify commit message
- Revise dt-binding documentation
changes since v1:
- Modify commit message
Dependent on "Add clock and power domain DT nodes for Mediatek MT2701"[1].
[1] http://lists.infradead.org/pipermail/linux-mediatek/2016-December/007637.html
Jun Gao (2):
dt-bindings: i2c: Add Mediatek MT2701 i2c binding
arm: dts: Add Mediatek MT2701 i2c device node
.../devicetree/bindings/i2c/i2c-mt6577.txt | 11 +++--- arch/arm/boot/dts/mt2701-evb.dts | 42 ++++++++++++++++++++++ arch/arm/boot/dts/mt2701.dtsi | 42 ++++++++++++++++++++++ 3 files changed, 90 insertions(+), 5 deletions(-)
--
1.8.1.1
PATCH v4 1/2 dt-bindings: i2c: Add Mediatek MT2701 i2c binding
From: Jun Gao <[email protected]>
Add MT2701 i2c binding to i2c-mt6577.txt and there is no need to modify i2c driver.
--- Documentation/devicetree/bindings/i2c/i2c-mt6577.txt | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-)
Documentation/devicetree/bindings/i2c/i2c-mt6577.txt +6 -5
@@ -4,11 +4,12 @@ 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,mt2701-i2c", "mediatek,mt6577-i2c": for Mediatek MT2701 + "mediatek,mt6577-i2c": for Mediatek MT6577 + "mediatek,mt6589-i2c": for Mediatek MT6589 + "mediatek,mt8127-i2c": for Mediatek MT8127 + "mediatek,mt8135-i2c": for Mediatek MT8135 + "mediatek,mt8173-i2c": for Mediatek 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
1.8.1.1
PATCH v4 2/2 arm: dts: Add Mediatek MT2701 i2c device node
In reply to Jun GaoFrom: Jun Gao <[email protected]>
Add MT2701 i2c device node.
--- arch/arm/boot/dts/mt2701-evb.dts | 42 ++++++++++++++++++++++++++++++++++++++++ arch/arm/boot/dts/mt2701.dtsi | 42 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 84 insertions(+)
arch/arm/boot/dts/mt2701-evb.dts +42 -0
@@ -28,7 +28,49 @@ status = "okay"; }; +&i2c0 { + pinctrl-names = "default"; + pinctrl-0 = <&i2c0_pins_a>; + status = "okay"; +}; + +&i2c1 { + pinctrl-names = "default"; + pinctrl-0 = <&i2c1_pins_a>; + status = "okay"; +}; + +&i2c2 { + pinctrl-names = "default"; + pinctrl-0 = <&i2c2_pins_a>; + status = "okay"; +}; + &pio { + i2c0_pins_a: i2c0 at 0 { + pins1 { + pinmux = <MT2701_PIN_75_SDA0__FUNC_SDA0>, + <MT2701_PIN_76_SCL0__FUNC_SCL0>; + bias-disable; + }; + }; + + i2c1_pins_a: i2c1 at 0 { + pins1 { + pinmux = <MT2701_PIN_57_SDA1__FUNC_SDA1>, + <MT2701_PIN_58_SCL1__FUNC_SCL1>; + bias-disable; + }; + }; + + i2c2_pins_a: i2c2 at 0 { + pins1 { + pinmux = <MT2701_PIN_77_SDA2__FUNC_SDA2>, + <MT2701_PIN_78_SCL2__FUNC_SCL2>; + bias-disable; + }; + }; + spi_pins_a: spi0 at 0 { pins_spi { pinmux = <MT2701_PIN_53_SPI0_CSN__FUNC_SPI0_CS>,
arch/arm/boot/dts/mt2701.dtsi +42 -0
48 lines not on this page · raw message
Signature · 1 line
1.8.1.1
Re: [PATCH v4 1/2] dt-bindings: i2c: Add Mediatek MT2701 i2c binding
In reply to Jun GaoQuoted 15 lines · Jun Gao
From: Jun Gao <[email protected]>
Add MT2701 i2c binding to i2c-mt6577.txt and there is no need to modify i2c driver.
Signed-off-by Jun Gao <[email protected]>--- Documentation/devicetree/bindings/i2c/i2c-mt6577.txt | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-)Documentation/devicetree/bindings/i2c/i2c-mt6577.txt +0
-0
Documentation/devicetree/bindings/i2c/i2c-mt6577.txt The Mediatek's I2C controller is used to interface with I2C devices. · line 7
Quoted 9 lines
Documentation/devicetree/bindings/i2c/i2c-mt6577.txt +1
-5@@ -4,11 +4,12 @@ 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,mt2701-i2c", "mediatek,mt6577-i2c": for Mediatek MT2701
I send a cleanup patch for the file, which fixes all the other SoCs. I can fold this one into it, a soon as I got a Signed-off from the DT maintainers.
Quoted 9 lines
Documentation/devicetree/bindings/i2c/i2c-mt6577.txt +5
-0+ "mediatek,mt6577-i2c": for Mediatek MT6577 + "mediatek,mt6589-i2c": for Mediatek MT6589 + "mediatek,mt8127-i2c": for Mediatek MT8127 + "mediatek,mt8135-i2c": for Mediatek MT8135 + "mediatek,mt8173-i2c": for Mediatek MT8173 - reg: physical base address of the controller and dma base, length of memory mapped region. - interrupts: interrupt number to the cpu.
Rob Herring
maintainerRe: [PATCH v4 1/2] dt-bindings: i2c: Add Mediatek MT2701 i2c binding
On Mon, May 29, 2017 at 05:30:26PM +0200, Matthias Brugger wrote:
g>
Quoted 21 lines · Jun Gao
Quoted 19 lines
From: Jun Gao <[email protected]>
Add MT2701 i2c binding to i2c-mt6577.txt and there is no need to modify i2c driver.
Signed-off-by Jun Gao <[email protected]>--- Documentation/devicetree/bindings/i2c/i2c-mt6577.txt | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-)Documentation/devicetree/bindings/i2c/i2c-mt6577.txt +0
-2@@ -4,11 +4,12 @@ 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.
Quoted 8 lines
Documentation/devicetree/bindings/i2c/i2c-mt6577.txt The Mediatek's I2C controller is used to interface with I2C devices. · line 7
Quoted 4 lines
Documentation/devicetree/bindings/i2c/i2c-mt6577.txt +1
-3- (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,mt2701-i2c", "mediatek,mt6577-i2c": for Mediatek MT2701I send a cleanup patch for the file, which fixes all the other SoCs. I can fold this one into it, a soon as I got a Signed-off from the DT maintainers.
I already acked it on the prior versions.
Rob
Re: [PATCH v4 1/2] dt-bindings: i2c: Add Mediatek MT2701 i2c binding
Quoted 32 lines · Rob Herring
On Mon, May 29, 2017 at 05:30:26PM +0200, Matthias Brugger wrote:
g>Quoted 21 lines · Jun Gao
Quoted 19 lines
From: Jun Gao <[email protected]>
Add MT2701 i2c binding to i2c-mt6577.txt and there is no need to modify i2c driver.
Signed-off-by Jun Gao <[email protected]>--- Documentation/devicetree/bindings/i2c/i2c-mt6577.txt | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-)Documentation/devicetree/bindings/i2c/i2c-mt6577.txt +0
-2@@ -4,11 +4,12 @@ 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.Quoted 8 lines
Documentation/devicetree/bindings/i2c/i2c-mt6577.txt The Mediatek's I2C controller is used to interface with I2C devices. · line 7
Quoted 4 lines
Documentation/devicetree/bindings/i2c/i2c-mt6577.txt +1
-3- (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,mt2701-i2c", "mediatek,mt6577-i2c": for Mediatek MT2701I send a cleanup patch for the file, which fixes all the other SoCs. I can fold this one into it, a soon as I got a Signed-off from the DT maintainers.
Quoted 3 lines
I already acked it on the prior versions.
Rob
Hi Matthias,
Which patch should I use now? Or you help to modify dt-binding, I only send dtsi file patch ? Thanks!
Matthias Brugger
maintainerRe: [PATCH v4 1/2] dt-bindings: i2c: Add Mediatek MT2701 i2c binding
Quoted 33 lines · Jun Gao
Quoted 32 lines · Rob Herring
On Mon, May 29, 2017 at 05:30:26PM +0200, Matthias Brugger wrote:
g>Quoted 29 lines · Jun Gao
Quoted 15 lines
From: Jun Gao <[email protected]>
Add MT2701 i2c binding to i2c-mt6577.txt and there is no need to modify i2c driver.
Signed-off-by Jun Gao <[email protected]>--- Documentation/devicetree/bindings/i2c/i2c-mt6577.txt | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-)Documentation/devicetree/bindings/i2c/i2c-mt6577.txt +0
-0Documentation/devicetree/bindings/i2c/i2c-mt6577.txt The Mediatek's I2C controller is used to interface with I2C devices. · line 6
Quoted 8 lines
Documentation/devicetree/bindings/i2c/i2c-mt6577.txt +1
-5@@ -4,11 +4,12 @@ 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,mt2701-i2c", "mediatek,mt6577-i2c": for Mediatek MT2701I send a cleanup patch for the file, which fixes all the other SoCs. I can fold this one into it, a soon as I got a Signed-off from the DT maintainers.
Quoted 9 lines
Quoted 3 lines
I already acked it on the prior versions.
Rob
Hi Matthias,
Which patch should I use now? Or you help to modify dt-binding, I only send dtsi file patch ? Thanks!
Don't worry, I fixed the commit and took both of them.
Re: [PATCH v4 2/2] arm: dts: Add Mediatek MT2701 i2c device node
In reply to Jun GaoQuoted 107 lines · Jun Gao
From: Jun Gao <[email protected]>
Add MT2701 i2c device node.
Signed-off-by Jun Gao <[email protected]>--- arch/arm/boot/dts/mt2701-evb.dts | 42 ++++++++++++++++++++++++++++++++++++++++ arch/arm/boot/dts/mt2701.dtsi | 42 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 84 insertions(+)arch/arm/boot/dts/mt2701-evb.dts +42
-0@@ -28,7 +28,49 @@ status = "okay"; }; +&i2c0 { + pinctrl-names = "default"; + pinctrl-0 = <&i2c0_pins_a>; + status = "okay"; +}; + +&i2c1 { + pinctrl-names = "default"; + pinctrl-0 = <&i2c1_pins_a>; + status = "okay"; +}; + +&i2c2 { + pinctrl-names = "default"; + pinctrl-0 = <&i2c2_pins_a>; + status = "okay"; +}; + &pio { + i2c0_pins_a: i2c0 at 0 { + pins1 { + pinmux = <MT2701_PIN_75_SDA0__FUNC_SDA0>, + <MT2701_PIN_76_SCL0__FUNC_SCL0>; + bias-disable; + }; + }; + + i2c1_pins_a: i2c1 at 0 { + pins1 { + pinmux = <MT2701_PIN_57_SDA1__FUNC_SDA1>, + <MT2701_PIN_58_SCL1__FUNC_SCL1>; + bias-disable; + }; + }; + + i2c2_pins_a: i2c2 at 0 { + pins1 { + pinmux = <MT2701_PIN_77_SDA2__FUNC_SDA2>, + <MT2701_PIN_78_SCL2__FUNC_SCL2>; + bias-disable; + }; + }; + spi_pins_a: spi0 at 0 { pins_spi { pinmux = <MT2701_PIN_53_SPI0_CSN__FUNC_SPI0_CS>,arch/arm/boot/dts/mt2701.dtsi +35
-0@@ -286,6 +286,48 @@ status = "disabled"; }; + i2c0: i2c at 11007000 { + compatible = "mediatek,mt2701-i2c", + "mediatek,mt6577-i2c"; + reg = <0 0x11007000 0 0x70>, + <0 0x11000200 0 0x80>; + interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_LOW>; + clock-div = <16>; + clocks = <&pericfg CLK_PERI_I2C0>, <&pericfg CLK_PERI_AP_DMA>; + clock-names = "main", "dma"; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + i2c1: i2c at 11008000 { + compatible = "mediatek,mt2701-i2c", + "mediatek,mt6577-i2c"; + reg = <0 0x11008000 0 0x70>, + <0 0x11000280 0 0x80>; + interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_LOW>; + clock-div = <16>; + clocks = <&pericfg CLK_PERI_I2C1>, <&pericfg CLK_PERI_AP_DMA>; + clock-names = "main", "dma"; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + i2c2: i2c at 11009000 { + compatible = "mediatek,mt2701-i2c", + "mediatek,mt6577-i2c"; + reg = <0 0x11009000 0 0x70>, + <0 0x11000300 0 0x80>; + interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_LOW>; + clock-div = <16>;
arch/arm/boot/dts/mt2701.dtsi line 333
Quoted 10 lines
arch/arm/boot/dts/mt2701.dtsi +7
-0+ clocks = <&pericfg CLK_PERI_I2C2>, <&pericfg CLK_PERI_AP_DMA>; + clock-names = "main", "dma"; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + spi0: spi at 1100a000 { compatible = "mediatek,mt2701-spi"; #address-cells = <1>;
Dear Matthias,
Could you take this patch together with
[PATCH v4 1/2]dt-bindings: i2c: Add Mediatek MT2701 i2c binding ?
Thanks!
Matthias Brugger
maintainerRe: [PATCH v4 2/2] arm: dts: Add Mediatek MT2701 i2c device node
Quoted 10 lines · Jun Gao
Quoted 9 lines · Jun Gao
From: Jun Gao <[email protected]>
Add MT2701 i2c device node.
Signed-off-by Jun Gao <[email protected]>--- arch/arm/boot/dts/mt2701-evb.dts | 42 ++++++++++++++++++++++++++++++++++++++++ arch/arm/boot/dts/mt2701.dtsi | 42 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 84 insertions(+)
[...]
Quoted 8 lines
Dear Matthias,
Could you take this patch together with
[PATCH v4 1/2]dt-bindings: i2c: Add Mediatek MT2701 i2c binding ?Thanks!
They are both included in the pull request I send [1] [2], or do I miss something?
Regards,
Matthias
[1]
https://github.com/mbgg/linux-mediatek/commit/729b7f8dbdaff270c53052897ea06486221a49a2
[2]
https://github.com/mbgg/linux-mediatek/commit/c6c301d3ff7531894257acc4f4a73928a109bda1
Re: [PATCH v4 2/2] arm: dts: Add Mediatek MT2701 i2c device node
Quoted 25 lines · Matthias Brugger
Quoted 10 lines · Jun Gao
Quoted 9 lines · Jun Gao
From: Jun Gao <[email protected]>
Add MT2701 i2c device node.
Signed-off-by Jun Gao <[email protected]>--- arch/arm/boot/dts/mt2701-evb.dts | 42 ++++++++++++++++++++++++++++++++++++++++ arch/arm/boot/dts/mt2701.dtsi | 42 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 84 insertions(+)[...]
Quoted 8 lines
Dear Matthias,
Could you take this patch together with
[PATCH v4 1/2]dt-bindings: i2c: Add Mediatek MT2701 i2c binding ?Thanks!
They are both included in the pull request I send [1] [2], or do I miss something?
Quoted 7 lines
Regards,
Matthias[1]
https://github.com/mbgg/linux-mediatek/commit/729b7f8dbdaff270c53052897ea06486221a49a2
[2]
https://github.com/mbgg/linux-mediatek/commit/c6c301d3ff7531894257acc4f4a73928a109bda1
Dear Matthias,
Would you mind to use the same style as follows in i2c-mtk.txt of [2]?
"mediatek,mt2701-i2c", "mediatek,mt6577-i2c": for Mediatek MT2701 "mediatek,mt6577-i2c": for Mediatek MT6577 "mediatek,mt6589-i2c": for Mediatek MT6589 "mediatek,mt7623-i2c", "mediatek,mt6577-i2c": for Mediatek MT7623 "mediatek,mt8173-i2c": for Mediatek MT8173
Thanks!
Matthias Brugger
maintainerRe: [PATCH v4 2/2] arm: dts: Add Mediatek MT2701 i2c device node
Quoted 38 lines · Jun Gao
Quoted 25 lines · Matthias Brugger
Quoted 10 lines · Jun Gao
Quoted 9 lines · Jun Gao
From: Jun Gao <[email protected]>
Add MT2701 i2c device node.
Signed-off-by Jun Gao <[email protected]>--- arch/arm/boot/dts/mt2701-evb.dts | 42 ++++++++++++++++++++++++++++++++++++++++ arch/arm/boot/dts/mt2701.dtsi | 42 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 84 insertions(+)[...]
Quoted 8 lines
Dear Matthias,
Could you take this patch together with
[PATCH v4 1/2]dt-bindings: i2c: Add Mediatek MT2701 i2c binding ?Thanks!
They are both included in the pull request I send [1] [2], or do I miss something?
Quoted 7 lines
Regards,
Matthias[1]
https://github.com/mbgg/linux-mediatek/commit/729b7f8dbdaff270c53052897ea06486221a49a2
[2]
https://github.com/mbgg/linux-mediatek/commit/c6c301d3ff7531894257acc4f4a73928a109bda1Dear Matthias,
Would you mind to use the same style as follows in i2c-mtk.txt of [2]?
Quoted 9 lines
"mediatek,mt2701-i2c", "mediatek,mt6577-i2c": for Mediatek MT2701 "mediatek,mt6577-i2c": for Mediatek MT6577 "mediatek,mt6589-i2c": for Mediatek MT6589 "mediatek,mt7623-i2c", "mediatek,mt6577-i2c": for Mediatek MT7623 "mediatek,mt8173-i2c": for Mediatek MT8173
Thanks!
You mean I should fix-up the patch to fit to the new binding description? Or do you mean it should be MTxxxx instead of mtxxxx?
Regards,
Matthias
Re: [PATCH v4 2/2] arm: dts: Add Mediatek MT2701 i2c device node
Quoted 47 lines · Matthias Brugger
Quoted 45 lines · Jun Gao
Quoted 25 lines · Matthias Brugger
Quoted 10 lines · Jun Gao
Quoted 9 lines · Jun Gao
From: Jun Gao <[email protected]>
Add MT2701 i2c device node.
Signed-off-by Jun Gao <[email protected]>--- arch/arm/boot/dts/mt2701-evb.dts | 42 ++++++++++++++++++++++++++++++++++++++++ arch/arm/boot/dts/mt2701.dtsi | 42 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 84 insertions(+)[...]
Quoted 8 lines
Dear Matthias,
Could you take this patch together with
[PATCH v4 1/2]dt-bindings: i2c: Add Mediatek MT2701 i2c binding ?Thanks!
They are both included in the pull request I send [1] [2], or do I miss something?
Quoted 7 lines
Regards,
Matthias[1]
https://github.com/mbgg/linux-mediatek/commit/729b7f8dbdaff270c53052897ea06486221a49a2
[2]
https://github.com/mbgg/linux-mediatek/commit/c6c301d3ff7531894257acc4f4a73928a109bda1Dear Matthias,
Would you mind to use the same style as follows in i2c-mtk.txt of [2]?
"mediatek,mt2701-i2c", "mediatek,mt6577-i2c": for Mediatek MT2701 "mediatek,mt6577-i2c": for Mediatek MT6577 "mediatek,mt6589-i2c": for Mediatek MT6589 "mediatek,mt7623-i2c", "mediatek,mt6577-i2c": for Mediatek MT7623 "mediatek,mt8173-i2c": for Mediatek MT8173
Quoted 8 lines
Quoted 2 lines
Thanks!
You mean I should fix-up the patch to fit to the new binding description? Or do you mean it should be MTxxxx instead of mtxxxx?
Regards,
Matthias
Dear Matthias,
I mean fix-up the patch to fit to the new binding description. Is it OK?
Thanks!
Matthias Brugger
maintainerRe: [PATCH v4 2/2] arm: dts: Add Mediatek MT2701 i2c device node
Quoted 54 lines · Jun Gao
Quoted 53 lines · Matthias Brugger
Quoted 38 lines · Jun Gao
Quoted 25 lines · Matthias Brugger
Quoted 10 lines · Jun Gao
Quoted 9 lines · Jun Gao
From: Jun Gao <[email protected]>
Add MT2701 i2c device node.
Signed-off-by Jun Gao <[email protected]>--- arch/arm/boot/dts/mt2701-evb.dts | 42 ++++++++++++++++++++++++++++++++++++++++ arch/arm/boot/dts/mt2701.dtsi | 42 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 84 insertions(+)[...]
Quoted 8 lines
Dear Matthias,
Could you take this patch together with
[PATCH v4 1/2]dt-bindings: i2c: Add Mediatek MT2701 i2c binding ?Thanks!
They are both included in the pull request I send [1] [2], or do I miss something?
Quoted 7 lines
Regards,
Matthias[1]
https://github.com/mbgg/linux-mediatek/commit/729b7f8dbdaff270c53052897ea06486221a49a2
[2]
https://github.com/mbgg/linux-mediatek/commit/c6c301d3ff7531894257acc4f4a73928a109bda1Dear Matthias,
Would you mind to use the same style as follows in i2c-mtk.txt of [2]?
Quoted 9 lines
"mediatek,mt2701-i2c", "mediatek,mt6577-i2c": for Mediatek MT2701 "mediatek,mt6577-i2c": for Mediatek MT6577 "mediatek,mt6589-i2c": for Mediatek MT6589 "mediatek,mt7623-i2c", "mediatek,mt6577-i2c": for Mediatek MT7623 "mediatek,mt8173-i2c": for Mediatek MT8173
Thanks!
You mean I should fix-up the patch to fit to the new binding description? Or do you mean it should be MTxxxx instead of mtxxxx?
Quoted 7 lines
Quoted 2 lines
Regards,
MatthiasDear Matthias,
I mean fix-up the patch to fit to the new binding description. Is it OK?
Then I can't see the difference between what you are asking for and what is already pushed to the repository. Please send a patch, that will make things clearer.
Regards,
Matthias
Re: [PATCH v4 2/2] arm: dts: Add Mediatek MT2701 i2c device node
Quoted 64 lines · Matthias Brugger
Quoted 54 lines · Jun Gao
Quoted 53 lines · Matthias Brugger
Quoted 38 lines · Jun Gao
Quoted 25 lines · Matthias Brugger
Quoted 10 lines · Jun Gao
Quoted 9 lines · Jun Gao
From: Jun Gao <[email protected]>
Add MT2701 i2c device node.
Signed-off-by Jun Gao <[email protected]>--- arch/arm/boot/dts/mt2701-evb.dts | 42 ++++++++++++++++++++++++++++++++++++++++ arch/arm/boot/dts/mt2701.dtsi | 42 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 84 insertions(+)[...]
Quoted 8 lines
Dear Matthias,
Could you take this patch together with
[PATCH v4 1/2]dt-bindings: i2c: Add Mediatek MT2701 i2c binding ?Thanks!
They are both included in the pull request I send [1] [2], or do I miss something?
Quoted 7 lines
Regards,
Matthias[1]
https://github.com/mbgg/linux-mediatek/commit/729b7f8dbdaff270c53052897ea06486221a49a2
[2]
https://github.com/mbgg/linux-mediatek/commit/c6c301d3ff7531894257acc4f4a73928a109bda1Dear Matthias,
Would you mind to use the same style as follows in i2c-mtk.txt of [2]?
Quoted 9 lines
"mediatek,mt2701-i2c", "mediatek,mt6577-i2c": for Mediatek MT2701 "mediatek,mt6577-i2c": for Mediatek MT6577 "mediatek,mt6589-i2c": for Mediatek MT6589 "mediatek,mt7623-i2c", "mediatek,mt6577-i2c": for Mediatek MT7623 "mediatek,mt8173-i2c": for Mediatek MT8173
Thanks!
You mean I should fix-up the patch to fit to the new binding description? Or do you mean it should be MTxxxx instead of mtxxxx?
Quoted 7 lines
Quoted 2 lines
Regards,
MatthiasDear Matthias,
I mean fix-up the patch to fit to the new binding description. Is it OK?
Quoted 6 lines
Then I can't see the difference between what you are asking for and what is already pushed to the repository. Please send a patch, that will make things clearer.
Regards,
Matthias
Dear Matthias,
like this:
diff:
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,mt2701-i2c", "mediatek,mt6577-i2c": for Mediatek MT2701 + "mediatek,mt6577-i2c": for Mediatek MT6577 + "mediatek,mt6589-i2c": for Mediatek MT6589 + "mediatek,mt7623-i2c", "mediatek,mt6577-i2c": for Mediatek
MT7623
+ "mediatek,mt8173-i2c": for Mediatek MT8173
- reg: physical base address of the controller and dma base, length
of memory
mapped region.
- interrupts: interrupt number to the cpu.
Thanks!
Matthias Brugger
maintainerRe: [PATCH v4 2/2] arm: dts: Add Mediatek MT2701 i2c device node
Quoted 89 lines · Jun Gao
Quoted 64 lines · Matthias Brugger
Quoted 54 lines · Jun Gao
Quoted 53 lines · Matthias Brugger
Quoted 38 lines · Jun Gao
Quoted 25 lines · Matthias Brugger
Quoted 10 lines · Jun Gao
Quoted 9 lines · Jun Gao
From: Jun Gao <[email protected]>
Add MT2701 i2c device node.
Signed-off-by Jun Gao <[email protected]>--- arch/arm/boot/dts/mt2701-evb.dts | 42 ++++++++++++++++++++++++++++++++++++++++ arch/arm/boot/dts/mt2701.dtsi | 42 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 84 insertions(+)[...]
Quoted 8 lines
Dear Matthias,
Could you take this patch together with
[PATCH v4 1/2]dt-bindings: i2c: Add Mediatek MT2701 i2c binding ?Thanks!
They are both included in the pull request I send [1] [2], or do I miss something?
Quoted 7 lines
Regards,
Matthias[1]
https://github.com/mbgg/linux-mediatek/commit/729b7f8dbdaff270c53052897ea06486221a49a2
[2]
https://github.com/mbgg/linux-mediatek/commit/c6c301d3ff7531894257acc4f4a73928a109bda1Dear Matthias,
Would you mind to use the same style as follows in i2c-mtk.txt of [2]?
Quoted 9 lines
"mediatek,mt2701-i2c", "mediatek,mt6577-i2c": for Mediatek MT2701 "mediatek,mt6577-i2c": for Mediatek MT6577 "mediatek,mt6589-i2c": for Mediatek MT6589 "mediatek,mt7623-i2c", "mediatek,mt6577-i2c": for Mediatek MT7623 "mediatek,mt8173-i2c": for Mediatek MT8173
Thanks!
You mean I should fix-up the patch to fit to the new binding description? Or do you mean it should be MTxxxx instead of mtxxxx?
Quoted 7 lines
Quoted 2 lines
Regards,
MatthiasDear Matthias,
I mean fix-up the patch to fit to the new binding description. Is it OK?
Quoted 6 lines
Then I can't see the difference between what you are asking for and what is already pushed to the repository. Please send a patch, that will make things clearer.
Regards,
MatthiasDear Matthias,
like this:
diff:
Required properties:
- compatible: value should be either of the following.(quoted diff) +1
-5- (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,mt2701-i2c", "mediatek,mt6577-i2c": for MediatekMT2701
(quoted diff) +3
-0+ "mediatek,mt6577-i2c": for Mediatek MT6577 + "mediatek,mt6589-i2c": for Mediatek MT6589 + "mediatek,mt7623-i2c", "mediatek,mt6577-i2c": for Mediatek
Quoted 7 lines
MT7623
+ "mediatek,mt8173-i2c": for Mediatek MT8173
- reg: physical base address of the controller and dma base, length
of memory
mapped region.
- interrupts: interrupt number to the cpu.
Please look at [2], this is already staged.
[2]
https://github.com/mbgg/linux-mediatek/commit/c6c301d3ff7531894257acc4f4a73928a109bda1
Re: [PATCH v4 2/2] arm: dts: Add Mediatek MT2701 i2c device node
Quoted 99 lines · Matthias Brugger
Quoted 89 lines · Jun Gao
Quoted 64 lines · Matthias Brugger
Quoted 54 lines · Jun Gao
Quoted 53 lines · Matthias Brugger
Quoted 38 lines · Jun Gao
Quoted 25 lines · Matthias Brugger
Quoted 10 lines · Jun Gao
Quoted 9 lines · Jun Gao
From: Jun Gao <[email protected]>
Add MT2701 i2c device node.
Signed-off-by Jun Gao <[email protected]>--- arch/arm/boot/dts/mt2701-evb.dts | 42 ++++++++++++++++++++++++++++++++++++++++ arch/arm/boot/dts/mt2701.dtsi | 42 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 84 insertions(+)[...]
Quoted 8 lines
Dear Matthias,
Could you take this patch together with
[PATCH v4 1/2]dt-bindings: i2c: Add Mediatek MT2701 i2c binding ?Thanks!
They are both included in the pull request I send [1] [2], or do I miss something?
Quoted 7 lines
Regards,
Matthias[1]
https://github.com/mbgg/linux-mediatek/commit/729b7f8dbdaff270c53052897ea06486221a49a2
[2]
https://github.com/mbgg/linux-mediatek/commit/c6c301d3ff7531894257acc4f4a73928a109bda1Dear Matthias,
Would you mind to use the same style as follows in i2c-mtk.txt of [2]?
Quoted 9 lines
"mediatek,mt2701-i2c", "mediatek,mt6577-i2c": for Mediatek MT2701 "mediatek,mt6577-i2c": for Mediatek MT6577 "mediatek,mt6589-i2c": for Mediatek MT6589 "mediatek,mt7623-i2c", "mediatek,mt6577-i2c": for Mediatek MT7623 "mediatek,mt8173-i2c": for Mediatek MT8173
Thanks!
You mean I should fix-up the patch to fit to the new binding description? Or do you mean it should be MTxxxx instead of mtxxxx?
Quoted 7 lines
Quoted 2 lines
Regards,
MatthiasDear Matthias,
I mean fix-up the patch to fit to the new binding description. Is it OK?
Quoted 6 lines
Then I can't see the difference between what you are asking for and what is already pushed to the repository. Please send a patch, that will make things clearer.
Regards,
MatthiasDear Matthias,
like this:
diff:
Required properties:
- compatible: value should be either of the following.(quoted diff) +1
-5- (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,mt2701-i2c", "mediatek,mt6577-i2c": for MediatekMT2701
(quoted diff) +3
-0+ "mediatek,mt6577-i2c": for Mediatek MT6577 + "mediatek,mt6589-i2c": for Mediatek MT6589 + "mediatek,mt7623-i2c", "mediatek,mt6577-i2c": for MediatekQuoted 7 lines
MT7623
+ "mediatek,mt8173-i2c": for Mediatek MT8173
- reg: physical base address of the controller and dma base, length
of memory
mapped region.
- interrupts: interrupt number to the cpu.
Quoted 4 lines
Please look at [2], this is already staged.
[2]
https://github.com/mbgg/linux-mediatek/commit/c6c301d3ff7531894257acc4f4a73928a109bda1
Dear Matthias,
base on [2]
diff:
"mediatek,mt2701-i2c", "mediatek,mt6577-i2c": for Mediatek MT2701
- "mediatek,mt6577-i2c": for i2c compatible with mt6577 i2c. - "mediatek,mt6589-i2c": for i2c compatible with mt6589 i2c. - "mediatek,mt7623-i2c", "mediatek,mt6577-i2c": for i2c compatible with mt7623 i2c. - "mediatek,mt8173-i2c": for i2c compatible with mt8173 i2c. + "mediatek,mt6577-i2c": for Mediatek MT6577 + "mediatek,mt6589-i2c": for Mediatek MT6589 + "mediatek,mt7623-i2c", "mediatek,mt6577-i2c": for Mediatek MT7623 + "mediatek,mt8173-i2c": for Mediatek MT8173
Thanks!