From: Sean Wang <sean.wang@mediatek.com>
To: Matthias Brugger <matthias.bgg@gmail.com>
Cc: robh+dt@kernel.org, mark.rutland@arm.com,
devicetree@vger.kernel.org, linux-mediatek@lists.infradead.org,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v1 05/19] arm: dts: mt7623: add BTIF, HSDMA and SPI-NOR device nodes
Date: Mon, 12 Mar 2018 17:53:07 +0800 [thread overview]
Message-ID: <1520848387.27000.0.camel@mtkswgap22> (raw)
In-Reply-To: <cea7b0bf-fcd9-6405-c437-d3251e7bb4bf@gmail.com>
On Mon, 2018-03-12 at 10:40 +0100, Matthias Brugger wrote:
>
> On 02/23/2018 11:16 AM, sean.wang@mediatek.com wrote:
> > From: Sean Wang <sean.wang@mediatek.com>
> >
> > add BTIF, HSDMA and SPI-NOR device nodes and enable it on relevant boards
>
> AFAIK hsdma controller is not upstream yet.
> Please resubmit when at least the binding got merged.
>
Sure, I will drop the node for HSDMA in the next version.
> Thanks,
> Matthias
>
> >
> > Signed-off-by: Sean Wang <sean.wang@mediatek.com>
> > ---
> > arch/arm/boot/dts/mt7623.dtsi | 36 ++++++++++++++++++++++++++-
> > arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts | 6 ++++-
> > 2 files changed, 40 insertions(+), 2 deletions(-)
> >
> > diff --git a/arch/arm/boot/dts/mt7623.dtsi b/arch/arm/boot/dts/mt7623.dtsi
> > index 91317a1..da56c54 100644
> > --- a/arch/arm/boot/dts/mt7623.dtsi
> > +++ b/arch/arm/boot/dts/mt7623.dtsi
> > @@ -1,5 +1,5 @@
> > /*
> > - * Copyright (c) 2017 MediaTek Inc.
> > + * Copyright (c) 2017-2018 MediaTek Inc.
> > * Author: John Crispin <john@phrozen.org>
> > * Sean Wang <sean.wang@mediatek.com>
> > *
> > @@ -483,6 +483,18 @@
> > nvmem-cell-names = "calibration-data";
> > };
> >
> > + btif: serial@1100c000 {
> > + compatible = "mediatek,mt7623-btif",
> > + "mediatek,mtk-btif";
> > + reg = <0 0x1100c000 0 0x1000>;
> > + interrupts = <GIC_SPI 50 IRQ_TYPE_LEVEL_LOW>;
> > + clocks = <&pericfg CLK_PERI_BTIF>;
> > + clock-names = "main";
> > + reg-shift = <2>;
> > + reg-io-width = <4>;
> > + status = "disabled";
> > + };
> > +
> > nandc: nfi@1100d000 {
> > compatible = "mediatek,mt7623-nfc",
> > "mediatek,mt2701-nfc";
> > @@ -508,6 +520,18 @@
> > status = "disabled";
> > };
> >
> > + nor_flash: spi@11014000 {
> > + compatible = "mediatek,mt7623-nor",
> > + "mediatek,mt8173-nor";
> > + reg = <0 0x11014000 0 0x1000>;
> > + clocks = <&pericfg CLK_PERI_FLASH>,
> > + <&topckgen CLK_TOP_FLASH_SEL>;
> > + clock-names = "spi", "sf";
> > + #address-cells = <1>;
> > + #size-cells = <0>;
> > + status = "disabled";
> > + };
> > +
> > spi1: spi@11016000 {
> > compatible = "mediatek,mt7623-spi",
> > "mediatek,mt2701-spi";
> > @@ -861,6 +885,16 @@
> > #reset-cells = <1>;
> > };
> >
> > + hsdma: dma-controller@1b007000 {
> > + compatible = "mediatek,mt7623-hsdma";
> > + reg = <0 0x1b007000 0 0x1000>;
> > + interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_LOW>;
> > + clocks = <ðsys CLK_ETHSYS_HSDMA>;
> > + clock-names = "hsdma";
> > + power-domains = <&scpsys MT2701_POWER_DOMAIN_ETH>;
> > + #dma-cells = <1>;
> > + };
> > +
> > eth: ethernet@1b100000 {
> > compatible = "mediatek,mt7623-eth",
> > "mediatek,mt2701-eth",
> > diff --git a/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts b/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts
> > index 3efecc5..ec11e14 100644
> > --- a/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts
> > +++ b/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts
> > @@ -1,5 +1,5 @@
> > /*
> > - * Copyright 2017 Sean Wang <sean.wang@mediatek.com>
> > + * Copyright 2017-2018 Sean Wang <sean.wang@mediatek.com>
> > *
> > * SPDX-License-Identifier: (GPL-2.0+ OR MIT)
> > */
> > @@ -86,6 +86,10 @@
> > };
> > };
> >
> > +&btif {
> > + status = "okay";
> > +};
> > +
> > &cir {
> > pinctrl-names = "default";
> > pinctrl-0 = <&cir_pins_a>;
> >
next prev parent reply other threads:[~2018-03-12 9:53 UTC|newest]
Thread overview: 51+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-23 10:16 [PATCH v1 00/19] refactor dts and add support for more boards sean.wang
2018-02-23 10:16 ` [PATCH v1 04/19] dt-bindings: arm: mediatek: add support for more mt7623 reference boards sean.wang
2018-03-02 16:00 ` Rob Herring
2018-03-12 11:03 ` Matthias Brugger
2018-02-23 10:16 ` [PATCH v1 05/19] arm: dts: mt7623: add BTIF, HSDMA and SPI-NOR device nodes sean.wang
2018-03-12 9:40 ` Matthias Brugger
2018-03-12 9:53 ` Sean Wang [this message]
2018-02-23 10:16 ` [PATCH v1 07/19] arm: dts: mt7623: fix the regulators mmc should use on bananapi-r2 sean.wang
2018-03-18 23:49 ` Matthias Brugger
2018-02-23 10:16 ` [PATCH v1 08/19] arm: dts: mt7623: enable three available UARTs " sean.wang
2018-03-18 23:49 ` Matthias Brugger
2018-02-23 10:16 ` [PATCH v1 09/19] arm: dts: mt7623: add related clock properties to cpu[1-3] nodes sean.wang
2018-02-26 4:13 ` Viresh Kumar
2018-03-18 23:49 ` Matthias Brugger
2018-02-23 10:16 ` [PATCH v1 10/19] arm: dts: mt7623: remove useless property pinctrl-names at node switch@0 sean.wang
2018-03-18 23:50 ` Matthias Brugger
2018-02-23 10:16 ` [PATCH v1 11/19] arm: dts: mt7623: use - instead of _ in DT node name sean.wang
2018-03-18 23:50 ` Matthias Brugger
2018-02-23 10:16 ` [PATCH v1 12/19] arm: dts: mt7623: fix all Warnings (unit_address_vs_reg) sean.wang
2018-03-18 21:54 ` Matthias Brugger
2018-02-23 10:16 ` [PATCH v1 13/19] arm: dts: mt7623: move node mt6323 leds to mt6323.dtsi sean.wang
2018-03-02 15:40 ` Rob Herring
2018-03-02 22:46 ` Sean Wang
2018-03-18 23:46 ` Matthias Brugger
2018-03-18 22:01 ` Matthias Brugger
2018-02-23 10:16 ` [PATCH v1 14/19] arm: dts: mt7623: extend common file to unify all boards with MT7623 SoCs sean.wang
2018-02-23 10:16 ` [PATCH v1 15/19] arm: dts: mt7623: add SPI[1, 2], I2C2 and sound related nodes to reference board sean.wang
2018-02-23 10:16 ` [PATCH v1 16/19] arm: dts: mt7623: fixup available memory size on bananapi-r2 sean.wang
2018-03-02 15:42 ` Rob Herring
2018-03-02 23:27 ` Sean Wang
2018-03-05 14:16 ` Rob Herring
2018-03-05 15:46 ` Sean Wang
2018-02-23 10:16 ` [PATCH v1 17/19] arm: dts: mt7623: add MT7623N reference board with eMMC sean.wang
2018-02-23 10:16 ` [PATCH v1 18/19] arm: dts: mt7623: add MT7623A reference boards sean.wang
2018-03-02 15:45 ` Rob Herring
2018-03-03 2:15 ` Sean Wang
2018-03-05 14:10 ` Rob Herring
2018-03-05 15:10 ` Sean Wang
[not found] ` <cover.1519378871.git.sean.wang-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org>
2018-02-23 10:16 ` [PATCH v1 01/19] dt-bindings: pinctrl: mediatek: use - instead of _ in examples sean.wang-NuS5LvNUpcJWk0Htik3J/w
2018-03-02 7:43 ` Linus Walleij
2018-02-23 10:16 ` [PATCH v1 02/19] dt-bindings: cpufreq: " sean.wang-NuS5LvNUpcJWk0Htik3J/w
2018-02-26 4:13 ` Viresh Kumar
2018-03-19 2:51 ` Sean Wang
2018-03-19 10:35 ` Matthias Brugger
2018-03-02 15:53 ` Rob Herring
2018-02-23 10:16 ` [PATCH v1 03/19] dt-bindings: pinctrl: mediatek: add bindings for I2C2 and SPI2 on MT7623 sean.wang-NuS5LvNUpcJWk0Htik3J/w
2018-03-02 7:44 ` Linus Walleij
2018-02-23 10:16 ` [PATCH v1 06/19] arm: dts: mt7623: fix USB initialization fails on bananapi-r2 sean.wang-NuS5LvNUpcJWk0Htik3J/w
2018-03-12 11:03 ` Matthias Brugger
2018-02-23 10:16 ` [PATCH v1 19/19] arm: dts: mediatek: converted to using SPDX identifiers sean.wang-NuS5LvNUpcJWk0Htik3J/w
2018-03-02 15:52 ` Rob Herring
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=1520848387.27000.0.camel@mtkswgap22 \
--to=sean.wang@mediatek.com \
--cc=devicetree@vger.kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=mark.rutland@arm.com \
--cc=matthias.bgg@gmail.com \
--cc=robh+dt@kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).