From: Matthias Brugger <matthias.bgg@gmail.com>
To: Hanks Chen <hanks.chen@mediatek.com>
Cc: Linus Walleij <linus.walleij@linaro.org>,
Rob Herring <robh+dt@kernel.org>,
Michael Turquette <mturquette@baylibre.com>,
Stephen Boyd <sboyd@kernel.org>, Sean Wang <sean.wang@kernel.org>,
mtk01761 <wendell.lin@mediatek.com>,
Andy Teng <andy.teng@mediatek.com>,
linux-gpio@vger.kernel.org, devicetree@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org,
wsd_upstream@mediatek.com, CC Hwang <cc.hwang@mediatek.com>,
Loda Chou <loda.chou@mediatek.com>
Subject: Re: [PATCH v8 6/7] arm64: dts: add dts nodes for MT6779
Date: Mon, 20 Jul 2020 18:13:46 +0200 [thread overview]
Message-ID: <742eefe1-954b-eb3f-98b7-469833df729a@gmail.com> (raw)
In-Reply-To: <1594872242.11090.8.camel@mtkswgap22>
On 16/07/2020 06:04, Hanks Chen wrote:
> On Tue, 2020-07-14 at 20:14 +0200, Matthias Brugger wrote:
>>
>> On 14/07/2020 11:20, Hanks Chen wrote:
>>> this adds initial MT6779 dts settings for board support,
>>> including cpu, gic, timer, ccf, pinctrl, uart, sysirq...etc.
>>>
>>> Signed-off-by: Hanks Chen <hanks.chen@mediatek.com>
>>> ---
>>> arch/arm64/boot/dts/mediatek/Makefile | 1 +
>>> arch/arm64/boot/dts/mediatek/mt6779-evb.dts | 31 +++
>>> arch/arm64/boot/dts/mediatek/mt6779.dtsi | 271 ++++++++++++++++++++
>>> 3 files changed, 303 insertions(+)
>>> create mode 100644 arch/arm64/boot/dts/mediatek/mt6779-evb.dts
>>> create mode 100644 arch/arm64/boot/dts/mediatek/mt6779.dtsi
>>>
>> [...]
>>> +
>>> + uart0: serial@11002000 {
>>> + compatible = "mediatek,mt6779-uart",
>>> + "mediatek,mt6577-uart";
>>> + reg = <0 0x11002000 0 0x400>;
>>> + interrupts = <GIC_SPI 115 IRQ_TYPE_LEVEL_LOW>;
>>> + clocks = <&clk26m>, <&infracfg_ao CLK_INFRA_UART0>;
>>> + clock-names = "baud", "bus";
>>> + status = "disabled";
>>> + };
>>> +
>>> + uart1: serial@11003000 {
>>> + compatible = "mediatek,mt6779-uart",
>>> + "mediatek,mt6577-uart";
>>> + reg = <0 0x11003000 0 0x400>;
>>> + interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_LOW>;
>>> + clocks = <&clk26m>, <&infracfg_ao CLK_INFRA_UART1>;
>>> + clock-names = "baud", "bus";
>>> + status = "disabled";
>>> + };
>>> +
>>> + uart2: serial@11004000 {
>>> + compatible = "mediatek,mt6779-uart",
>>> + "mediatek,mt6577-uart";
>>> + reg = <0 0x11004000 0 0x400>;
>>> + interrupts = <GIC_SPI 117 IRQ_TYPE_LEVEL_LOW>;
>>> + clocks = <&clk26m>, <&infracfg_ao CLK_INFRA_UART2>;
>>> + clock-names = "baud", "bus";
>>> + status = "disabled";
>>> + };
>>
>> Devicetree describes the HW we have. As far as I know, we have 4 UARTs on
>> MT6779. So we should list them all here.
>>
>
> Actually, We have only 3 UARTs HW on MT6779, but have 4 UART clk in
> header file of clk.
Correct, I got confused by the four clocks.
With that clarified I'm fine with the patch and will take it as soon as the
clock driver patch is accepted.
Regards,
Matthias
> CLK_INFRA_UART3 is a dummy clk interface, it has no effect on the
> operation of the read/write instruction.
>
> If you think it is not good, I can remove it in the header file of clk.
>
> Thanks
>
>> Regards,
>> Matthias
>
WARNING: multiple messages have this Message-ID (diff)
From: Matthias Brugger <matthias.bgg@gmail.com>
To: Hanks Chen <hanks.chen@mediatek.com>
Cc: devicetree@vger.kernel.org, CC Hwang <cc.hwang@mediatek.com>,
wsd_upstream@mediatek.com, Stephen Boyd <sboyd@kernel.org>,
Andy Teng <andy.teng@mediatek.com>,
Linus Walleij <linus.walleij@linaro.org>,
Sean Wang <sean.wang@kernel.org>,
Loda Chou <loda.chou@mediatek.com>,
linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org,
Rob Herring <robh+dt@kernel.org>,
linux-mediatek@lists.infradead.org,
mtk01761 <wendell.lin@mediatek.com>,
Michael Turquette <mturquette@baylibre.com>,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH v8 6/7] arm64: dts: add dts nodes for MT6779
Date: Mon, 20 Jul 2020 18:13:46 +0200 [thread overview]
Message-ID: <742eefe1-954b-eb3f-98b7-469833df729a@gmail.com> (raw)
In-Reply-To: <1594872242.11090.8.camel@mtkswgap22>
On 16/07/2020 06:04, Hanks Chen wrote:
> On Tue, 2020-07-14 at 20:14 +0200, Matthias Brugger wrote:
>>
>> On 14/07/2020 11:20, Hanks Chen wrote:
>>> this adds initial MT6779 dts settings for board support,
>>> including cpu, gic, timer, ccf, pinctrl, uart, sysirq...etc.
>>>
>>> Signed-off-by: Hanks Chen <hanks.chen@mediatek.com>
>>> ---
>>> arch/arm64/boot/dts/mediatek/Makefile | 1 +
>>> arch/arm64/boot/dts/mediatek/mt6779-evb.dts | 31 +++
>>> arch/arm64/boot/dts/mediatek/mt6779.dtsi | 271 ++++++++++++++++++++
>>> 3 files changed, 303 insertions(+)
>>> create mode 100644 arch/arm64/boot/dts/mediatek/mt6779-evb.dts
>>> create mode 100644 arch/arm64/boot/dts/mediatek/mt6779.dtsi
>>>
>> [...]
>>> +
>>> + uart0: serial@11002000 {
>>> + compatible = "mediatek,mt6779-uart",
>>> + "mediatek,mt6577-uart";
>>> + reg = <0 0x11002000 0 0x400>;
>>> + interrupts = <GIC_SPI 115 IRQ_TYPE_LEVEL_LOW>;
>>> + clocks = <&clk26m>, <&infracfg_ao CLK_INFRA_UART0>;
>>> + clock-names = "baud", "bus";
>>> + status = "disabled";
>>> + };
>>> +
>>> + uart1: serial@11003000 {
>>> + compatible = "mediatek,mt6779-uart",
>>> + "mediatek,mt6577-uart";
>>> + reg = <0 0x11003000 0 0x400>;
>>> + interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_LOW>;
>>> + clocks = <&clk26m>, <&infracfg_ao CLK_INFRA_UART1>;
>>> + clock-names = "baud", "bus";
>>> + status = "disabled";
>>> + };
>>> +
>>> + uart2: serial@11004000 {
>>> + compatible = "mediatek,mt6779-uart",
>>> + "mediatek,mt6577-uart";
>>> + reg = <0 0x11004000 0 0x400>;
>>> + interrupts = <GIC_SPI 117 IRQ_TYPE_LEVEL_LOW>;
>>> + clocks = <&clk26m>, <&infracfg_ao CLK_INFRA_UART2>;
>>> + clock-names = "baud", "bus";
>>> + status = "disabled";
>>> + };
>>
>> Devicetree describes the HW we have. As far as I know, we have 4 UARTs on
>> MT6779. So we should list them all here.
>>
>
> Actually, We have only 3 UARTs HW on MT6779, but have 4 UART clk in
> header file of clk.
Correct, I got confused by the four clocks.
With that clarified I'm fine with the patch and will take it as soon as the
clock driver patch is accepted.
Regards,
Matthias
> CLK_INFRA_UART3 is a dummy clk interface, it has no effect on the
> operation of the read/write instruction.
>
> If you think it is not good, I can remove it in the header file of clk.
>
> Thanks
>
>> Regards,
>> Matthias
>
_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek
WARNING: multiple messages have this Message-ID (diff)
From: Matthias Brugger <matthias.bgg@gmail.com>
To: Hanks Chen <hanks.chen@mediatek.com>
Cc: devicetree@vger.kernel.org, CC Hwang <cc.hwang@mediatek.com>,
wsd_upstream@mediatek.com, Stephen Boyd <sboyd@kernel.org>,
Andy Teng <andy.teng@mediatek.com>,
Linus Walleij <linus.walleij@linaro.org>,
Sean Wang <sean.wang@kernel.org>,
Loda Chou <loda.chou@mediatek.com>,
linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org,
Rob Herring <robh+dt@kernel.org>,
linux-mediatek@lists.infradead.org,
mtk01761 <wendell.lin@mediatek.com>,
Michael Turquette <mturquette@baylibre.com>,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH v8 6/7] arm64: dts: add dts nodes for MT6779
Date: Mon, 20 Jul 2020 18:13:46 +0200 [thread overview]
Message-ID: <742eefe1-954b-eb3f-98b7-469833df729a@gmail.com> (raw)
In-Reply-To: <1594872242.11090.8.camel@mtkswgap22>
On 16/07/2020 06:04, Hanks Chen wrote:
> On Tue, 2020-07-14 at 20:14 +0200, Matthias Brugger wrote:
>>
>> On 14/07/2020 11:20, Hanks Chen wrote:
>>> this adds initial MT6779 dts settings for board support,
>>> including cpu, gic, timer, ccf, pinctrl, uart, sysirq...etc.
>>>
>>> Signed-off-by: Hanks Chen <hanks.chen@mediatek.com>
>>> ---
>>> arch/arm64/boot/dts/mediatek/Makefile | 1 +
>>> arch/arm64/boot/dts/mediatek/mt6779-evb.dts | 31 +++
>>> arch/arm64/boot/dts/mediatek/mt6779.dtsi | 271 ++++++++++++++++++++
>>> 3 files changed, 303 insertions(+)
>>> create mode 100644 arch/arm64/boot/dts/mediatek/mt6779-evb.dts
>>> create mode 100644 arch/arm64/boot/dts/mediatek/mt6779.dtsi
>>>
>> [...]
>>> +
>>> + uart0: serial@11002000 {
>>> + compatible = "mediatek,mt6779-uart",
>>> + "mediatek,mt6577-uart";
>>> + reg = <0 0x11002000 0 0x400>;
>>> + interrupts = <GIC_SPI 115 IRQ_TYPE_LEVEL_LOW>;
>>> + clocks = <&clk26m>, <&infracfg_ao CLK_INFRA_UART0>;
>>> + clock-names = "baud", "bus";
>>> + status = "disabled";
>>> + };
>>> +
>>> + uart1: serial@11003000 {
>>> + compatible = "mediatek,mt6779-uart",
>>> + "mediatek,mt6577-uart";
>>> + reg = <0 0x11003000 0 0x400>;
>>> + interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_LOW>;
>>> + clocks = <&clk26m>, <&infracfg_ao CLK_INFRA_UART1>;
>>> + clock-names = "baud", "bus";
>>> + status = "disabled";
>>> + };
>>> +
>>> + uart2: serial@11004000 {
>>> + compatible = "mediatek,mt6779-uart",
>>> + "mediatek,mt6577-uart";
>>> + reg = <0 0x11004000 0 0x400>;
>>> + interrupts = <GIC_SPI 117 IRQ_TYPE_LEVEL_LOW>;
>>> + clocks = <&clk26m>, <&infracfg_ao CLK_INFRA_UART2>;
>>> + clock-names = "baud", "bus";
>>> + status = "disabled";
>>> + };
>>
>> Devicetree describes the HW we have. As far as I know, we have 4 UARTs on
>> MT6779. So we should list them all here.
>>
>
> Actually, We have only 3 UARTs HW on MT6779, but have 4 UART clk in
> header file of clk.
Correct, I got confused by the four clocks.
With that clarified I'm fine with the patch and will take it as soon as the
clock driver patch is accepted.
Regards,
Matthias
> CLK_INFRA_UART3 is a dummy clk interface, it has no effect on the
> operation of the read/write instruction.
>
> If you think it is not good, I can remove it in the header file of clk.
>
> Thanks
>
>> Regards,
>> Matthias
>
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2020-07-20 16:18 UTC|newest]
Thread overview: 50+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-14 9:19 [PATCH v8 0/7] Add basic SoC Support for Mediatek MT6779 SoC Hanks Chen
2020-07-14 9:19 ` Hanks Chen
2020-07-14 9:19 ` Hanks Chen
2020-07-14 9:19 ` [PATCH v8 1/7] pinctrl: mediatek: update pinmux definitions for mt6779 Hanks Chen
2020-07-14 9:19 ` Hanks Chen
2020-07-14 9:19 ` Hanks Chen
2020-07-14 20:34 ` Rob Herring
2020-07-14 20:34 ` Rob Herring
2020-07-14 20:34 ` Rob Herring
2020-07-16 13:49 ` Linus Walleij
2020-07-16 13:49 ` Linus Walleij
2020-07-16 13:49 ` Linus Walleij
2020-07-14 9:19 ` [PATCH v8 2/7] dt-bindings: pinctrl: add bindings for MediaTek MT6779 SoC Hanks Chen
2020-07-14 9:19 ` Hanks Chen
2020-07-14 9:19 ` Hanks Chen
2020-07-14 20:35 ` Rob Herring
2020-07-14 20:35 ` Rob Herring
2020-07-14 20:35 ` Rob Herring
2020-07-14 9:19 ` [PATCH v8 3/7] pinctrl: mediatek: avoid virtual gpio trying to set reg Hanks Chen
2020-07-14 9:19 ` Hanks Chen
2020-07-14 9:19 ` Hanks Chen
2020-07-14 20:47 ` Sean Wang
2020-07-14 20:47 ` Sean Wang
2020-07-14 20:47 ` Sean Wang
2020-07-14 9:19 ` [PATCH v8 4/7] pinctrl: mediatek: add pinctrl support for MT6779 SoC Hanks Chen
2020-07-14 9:19 ` Hanks Chen
2020-07-14 9:20 ` [PATCH v8 5/7] pinctrl: mediatek: add mt6779 eint support Hanks Chen
2020-07-14 9:20 ` Hanks Chen
2020-07-14 9:20 ` Hanks Chen
2020-07-14 9:20 ` [PATCH v8 6/7] arm64: dts: add dts nodes for MT6779 Hanks Chen
2020-07-14 9:20 ` Hanks Chen
2020-07-14 9:20 ` Hanks Chen
2020-07-14 18:14 ` Matthias Brugger
2020-07-14 18:14 ` Matthias Brugger
2020-07-14 18:14 ` Matthias Brugger
2020-07-16 4:04 ` Hanks Chen
2020-07-16 4:04 ` Hanks Chen
2020-07-16 4:04 ` Hanks Chen
2020-07-20 16:13 ` Matthias Brugger [this message]
2020-07-20 16:13 ` Matthias Brugger
2020-07-20 16:13 ` Matthias Brugger
2020-07-21 6:00 ` Hanks Chen
2020-07-21 6:00 ` Hanks Chen
2020-07-21 6:00 ` Hanks Chen
2020-07-21 22:09 ` Matthias Brugger
2020-07-21 22:09 ` Matthias Brugger
2020-07-21 22:09 ` Matthias Brugger
2020-07-14 9:20 ` [PATCH v8 7/7] clk: mediatek: add UART0 clock support Hanks Chen
2020-07-14 9:20 ` Hanks Chen
2020-07-14 9:20 ` Hanks Chen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=742eefe1-954b-eb3f-98b7-469833df729a@gmail.com \
--to=matthias.bgg@gmail.com \
--cc=andy.teng@mediatek.com \
--cc=cc.hwang@mediatek.com \
--cc=devicetree@vger.kernel.org \
--cc=hanks.chen@mediatek.com \
--cc=linus.walleij@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=loda.chou@mediatek.com \
--cc=mturquette@baylibre.com \
--cc=robh+dt@kernel.org \
--cc=sboyd@kernel.org \
--cc=sean.wang@kernel.org \
--cc=wendell.lin@mediatek.com \
--cc=wsd_upstream@mediatek.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.