[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1552297396.12703.2.camel@mhfsdcap03>
Date: Mon, 11 Mar 2019 17:43:16 +0800
From: Qii Wang <qii.wang@...iatek.com>
To: Nicolas Boichat <drinkcat@...omium.org>
CC: <wsa@...-dreams.de>, <linux-i2c@...r.kernel.org>,
<devicetree@...r.kernel.org>,
linux-arm Mailing List <linux-arm-kernel@...ts.infradead.org>,
lkml <linux-kernel@...r.kernel.org>,
"moderated list:ARM/Mediatek SoC support"
<linux-mediatek@...ts.infradead.org>,
srv_heupstream <srv_heupstream@...iatek.com>,
Leilk Liu <leilk.liu@...iatek.com>,
<xinping.qian@...iatek.com>, <liguo.zhang@...iatek.com>,
Rob Herring <robh@...nel.org>
Subject: Re: [PATCH v6 6/6] dts: arm64: mt8183: Add I2C nodes
On Mon, 2019-03-11 at 16:36 +0800, Nicolas Boichat wrote:
> On Mon, Mar 11, 2019 at 1:41 PM Qii Wang <qii.wang@...iatek.com> wrote:
> >
> > This patch adds nodes for I2C controller.
> >
> > Signed-off-by: Qii Wang <qii.wang@...iatek.com>
> > ---
>
> This applies on top of some other uncommitted series, right? This is
> fine, but please say which one.
>
https://patchwork.kernel.org/cover/10846715/
This series are based on 5.0-rc1(i2c/for-next) and these series
http://lists.infradead.org/pipermail/linux-mediatek/2019-February/017570.html
http://lists.infradead.org/pipermail/linux-mediatek/2019-February/017320.html
> > arch/arm64/boot/dts/mediatek/mt8183.dtsi | 190 ++++++++++++++++++++++++++++++
> > 1 file changed, 190 insertions(+)
> >
> > diff --git a/arch/arm64/boot/dts/mediatek/mt8183.dtsi b/arch/arm64/boot/dts/mediatek/mt8183.dtsi
> > index 165b859..f20f1af 100644
> > --- a/arch/arm64/boot/dts/mediatek/mt8183.dtsi
> > +++ b/arch/arm64/boot/dts/mediatek/mt8183.dtsi
> > @@ -16,6 +16,21 @@
> > #address-cells = <2>;
> > #size-cells = <2>;
> >
> > + aliases {
> > + i2c0 = &i2c0;
> > + i2c1 = &i2c1;
> > + i2c2 = &i2c2;
> > + i2c3 = &i2c3;
> > + i2c4 = &i2c4;
> > + i2c5 = &i2c5;
> > + i2c6 = &i2c6;
> > + i2c7 = &i2c7;
> > + i2c8 = &i2c8;
> > + i2c9 = &i2c9;
> > + i2c10 = &i2c10;
> > + i2c11 = &i2c11;
> > + };
> > +
> > cpus {
> > #address-cells = <1>;
> > #size-cells = <0>;
> > @@ -268,6 +283,79 @@
> > status = "disabled";
> > };
> >
> > + i2c6: i2c@...05000 {
> > + compatible = "mediatek,mt8183-i2c";
> > + reg = <0 0x11005000 0 0x1000>,
> > + <0 0x11000600 0 0x80>;
> > + interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_LOW>;
> > + clocks = <&infracfg CLK_INFRA_I2C6>,
> > + <&infracfg CLK_INFRA_AP_DMA>;
> > + clock-names = "main", "dma";
> > + clock-div = <1>;
> > + #address-cells = <1>;
> > + #size-cells = <0>;
> > + status = "disabled";
> > + };
> > +
> > + i2c0: i2c@...07000 {
> > + compatible = "mediatek,mt8183-i2c";
> > + reg = <0 0x11007000 0 0x1000>,
> > + <0 0x11000080 0 0x80>;
> > + interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_LOW>;
> > + clocks = <&infracfg CLK_INFRA_I2C0>,
> > + <&infracfg CLK_INFRA_AP_DMA>;
> > + clock-names = "main", "dma";
> > + clock-div = <1>;
> > + #address-cells = <1>;
> > + #size-cells = <0>;
> > + status = "disabled";
> > + };
> > +
> > + i2c4: i2c@...08000 {
> > + compatible = "mediatek,mt8183-i2c";
> > + id = <4>;
> > + reg = <0 0x11008000 0 0x1000>,
> > + <0 0x11000100 0 0x80>;
> > + interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_LOW>;
> > + clocks = <&infracfg CLK_INFRA_I2C1>,
> > + <&infracfg CLK_INFRA_AP_DMA>,
> > + <&infracfg CLK_INFRA_I2C1_ARBITER>;
> > + clock-names = "main", "dma","arb";
> > + clock-div = <1>;
> > + #address-cells = <1>;
> > + #size-cells = <0>;
> > + status = "disabled";
> > + };
> > +
> > + i2c2: i2c@...09000 {
> > + compatible = "mediatek,mt8183-i2c";
> > + reg = <0 0x11009000 0 0x1000>,
> > + <0 0x11000280 0 0x80>;
> > + interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_LOW>;
> > + clocks = <&infracfg CLK_INFRA_I2C2>,
> > + <&infracfg CLK_INFRA_AP_DMA>,
> > + <&infracfg CLK_INFRA_I2C2_ARBITER>;
> > + clock-names = "main", "dma", "arb";
> > + clock-div = <1>;
> > + #address-cells = <1>;
> > + #size-cells = <0>;
> > + status = "disabled";
> > + };
> > +
> > + i2c3: i2c@...0f000 {
> > + compatible = "mediatek,mt8183-i2c";
> > + reg = <0 0x1100f000 0 0x1000>,
> > + <0 0x11000400 0 0x80>;
> > + interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_LOW>;
> > + clocks = <&infracfg CLK_INFRA_I2C3>,
> > + <&infracfg CLK_INFRA_AP_DMA>;
> > + clock-names = "main", "dma";
> > + clock-div = <1>;
> > + #address-cells = <1>;
> > + #size-cells = <0>;
> > + status = "disabled";
> > + };
> > +
> > spi0: spi@...0a000 {
> > compatible = "mediatek,mt8183-spi";
> > #address-cells = <1>;
> > @@ -294,6 +382,20 @@
> > status = "disabled";
> > };
> >
> > + i2c1: i2c@...11000 {
> > + compatible = "mediatek,mt8183-i2c";
> > + reg = <0 0x11011000 0 0x1000>,
> > + <0 0x11000480 0 0x80>;
> > + interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_LOW>;
> > + clocks = <&infracfg CLK_INFRA_I2C4>,
> > + <&infracfg CLK_INFRA_AP_DMA>;
> > + clock-names = "main", "dma";
> > + clock-div = <1>;
> > + #address-cells = <1>;
> > + #size-cells = <0>;
> > + status = "disabled";
> > + };
> > +
> > spi2: spi@...12000 {
> > compatible = "mediatek,mt8183-spi";
> > #address-cells = <1>;
> > @@ -320,6 +422,66 @@
> > status = "disabled";
> > };
> >
> > + i2c9: i2c@...14000 {
> > + compatible = "mediatek,mt8183-i2c";
> > + reg = <0 0x11014000 0 0x1000>,
> > + <0 0x11000180 0 0x80>;
> > + interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_LOW>;
> > + clocks = <&infracfg CLK_INFRA_I2C1_IMM>,
> > + <&infracfg CLK_INFRA_AP_DMA>,
> > + <&infracfg CLK_INFRA_I2C1_ARBITER>;
> > + clock-names = "main", "dma", "arb";
> > + clock-div = <1>;
> > + #address-cells = <1>;
> > + #size-cells = <0>;
> > + status = "disabled";
> > + };
> > +
> > + i2c10: i2c@...15000 {
> > + compatible = "mediatek,mt8183-i2c";
> > + reg = <0 0x11015000 0 0x1000>,
> > + <0 0x11000300 0 0x80>;
> > + interrupts = <GIC_SPI 132 IRQ_TYPE_LEVEL_LOW>;
> > + clocks = <&infracfg CLK_INFRA_I2C2_IMM>,
> > + <&infracfg CLK_INFRA_AP_DMA>,
> > + <&infracfg CLK_INFRA_I2C2_ARBITER>;
> > + clock-names = "main", "dma", "arb";
> > + clock-div = <1>;
> > + #address-cells = <1>;
> > + #size-cells = <0>;
> > + status = "disabled";
> > + };
> > +
> > + i2c5: i2c@...16000 {
> > + compatible = "mediatek,mt8183-i2c";
> > + reg = <0 0x11016000 0 0x1000>,
> > + <0 0x11000500 0 0x80>;
> > + interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_LOW>;
> > + clocks = <&infracfg CLK_INFRA_I2C5>,
> > + <&infracfg CLK_INFRA_AP_DMA>,
> > + <&infracfg CLK_INFRA_I2C5_ARBITER>;
> > + clock-names = "main", "dma", "arb";
> > + clock-div = <1>;
> > + #address-cells = <1>;
> > + #size-cells = <0>;
> > + status = "disabled";
> > + };
> > +
> > + i2c11: i2c@...17000 {
> > + compatible = "mediatek,mt8183-i2c";
> > + reg = <0 0x11017000 0 0x1000>,
> > + <0 0x11000580 0 0x80>;
> > + interrupts = <GIC_SPI 133 IRQ_TYPE_LEVEL_LOW>;
> > + clocks = <&infracfg CLK_INFRA_I2C5_IMM>,
> > + <&infracfg CLK_INFRA_AP_DMA>,
> > + <&infracfg CLK_INFRA_I2C5_ARBITER>;
> > + clock-names = "main", "dma", "arb";
> > + clock-div = <1>;
> > + #address-cells = <1>;
> > + #size-cells = <0>;
> > + status = "disabled";
> > + };
> > +
> > spi4: spi@...18000 {
> > compatible = "mediatek,mt8183-spi";
> > #address-cells = <1>;
> > @@ -346,6 +508,34 @@
> > status = "disabled";
> > };
> >
> > + i2c7: i2c@...1a000 {
> > + compatible = "mediatek,mt8183-i2c";
> > + reg = <0 0x1101a000 0 0x1000>,
> > + <0 0x11000680 0 0x80>;
> > + interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_LOW>;
> > + clocks = <&infracfg CLK_INFRA_I2C7>,
> > + <&infracfg CLK_INFRA_AP_DMA>;
> > + clock-names = "main", "dma";
> > + clock-div = <1>;
> > + #address-cells = <1>;
> > + #size-cells = <0>;
> > + status = "disabled";
> > + };
> > +
> > + i2c8: i2c@...1b000 {
> > + compatible = "mediatek,mt8183-i2c";
> > + reg = <0 0x1101b000 0 0x1000>,
> > + <0 0x11000700 0 0x80>;
> > + interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_LOW>;
> > + clocks = <&infracfg CLK_INFRA_I2C8>,
> > + <&infracfg CLK_INFRA_AP_DMA>;
> > + clock-names = "main", "dma";
> > + clock-div = <1>;
> > + #address-cells = <1>;
> > + #size-cells = <0>;
> > + status = "disabled";
> > + };
> > +
> > audiosys: syscon@...20000 {
> > compatible = "mediatek,mt8183-audiosys", "syscon";
> > reg = <0 0x11220000 0 0x1000>;
> > --
> > 1.7.9.5
> >
Powered by blists - more mailing lists