[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1466470218.863.4.camel@mtkswgap22>
Date: Tue, 21 Jun 2016 08:50:18 +0800
From: Mars Cheng <mars.cheng@...iatek.com>
To: Matthias Brugger <matthias.bgg@...il.com>
CC: CC Hwang <cc.hwang@...iatek.com>,
Loda Choui <loda.chou@...iatek.com>,
Miles Chen <miles.chen@...iatek.com>,
Scott Shu <scott.shu@...iatek.com>,
Jades Shih <jades.shih@...iatek.com>,
Yingjoe Chen <yingjoe.chen@...iatek.com>,
My Chuang <my.chuang@...iatek.com>,
<linux-kernel@...r.kernel.org>,
<linux-mediatek@...ts.infradead.org>, <devicetree@...r.kernel.org>
Subject: Re: [PATCH 2/2] arm64: dts: mediatek: add mt6755 support
On Mon, 2016-06-20 at 19:09 +0200, Matthias Brugger wrote:
> >>> + uart_clk: dummy26m {
> >>> + compatible = "fixed-clock";
> >>> + clock-frequency = <26000000>;
> >>> + #clock-cells = <0>;
> >>> + };
> >>> +
> >>
> >> We can do that, but I would prefer to see the clock driver early. So
> >> that the DTS we carry around as complete as possible.
> >>
> >
> > OK, I will merge the clk later. However, the clk driver would be
> > submmited later, is that OK? Or would you prefer sunmmit clk driver
> > together?
> >
>
> The uart won't work without any clock node. It is OK like this. I just
> wanted to emphasis that we should try to get the clock driver accpeted
> early in the effort.
>
> Thanks,
> Matthias
Got it. I will not include the clk dts & driver in basic chip patch
v2.We will submmit clk driver soon after this basic chip support patch.
Thanks.
>
> >>> + timer {
> >>> + compatible = "arm,armv8-timer";
> >>> + interrupt-parent = <&gic>;
> >>> + interrupts = <GIC_PPI 13
> >>> + (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>,
> >>> + <GIC_PPI 14
> >>> + (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>,
> >>> + <GIC_PPI 11
> >>> + (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>,
> >>> + <GIC_PPI 10
> >>> + (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>;
> >>> + };
> >>> +
> >>> + sysirq: intpol-controller@...00620 {
> >>> + compatible = "mediatek,mt6755-sysirq",
> >>> + "mediatek,mt6577-sysirq";
> >>> + interrupt-controller;
> >>> + #interrupt-cells = <3>;
> >>> + interrupt-parent = <&gic>;
> >>> + reg = <0 0x10200620 0 0x20>;
> >>> + };
> >>> +
> >>> + gic: interrupt-controller@...31000 {
> >>> + compatible = "arm,gic-400";
> >>> + #interrupt-cells = <3>;
> >>> + interrupt-parent = <&gic>;
> >>> + interrupt-controller;
> >>> + reg = <0 0x10231000 0 0x1000>,
> >>> + <0 0x10232000 0 0x2000>,
> >>> + <0 0x10234000 0 0x2000>,
> >>> + <0 0x10236000 0 0x2000>;
> >>> + };
> >>> +
> >>> + uart0: serial@...02000 {
> >>> + compatible = "mediatek,mt6755-uart",
> >>> + "mediatek,mt6577-uart";
> >>> + reg = <0 0x11002000 0 0x400>;
> >>> + interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_LOW>;
> >>> + clocks = <&uart_clk>;
> >>
> >> status = "disabled";
> >
> > OK, will fix this.
> >>
> >>> + };
> >>> +
> >>> + uart1: serial@...03000 {
> >>> + compatible = "mediatek,mt6755-uart",
> >>> + "mediatek,mt6577-uart";
> >>> + reg = <0 0x11003000 0 0x400>;
> >>> + interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_LOW>;
> >>> + clocks = <&uart_clk>;
> >>
> >> same here.
> >
> > OK, will fix this.
> >
> > Thanks.
> >>
> >> Regards,
> >> Matthias
> >
> >
Powered by blists - more mailing lists