From: Sean Wang <sean.wang-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org>
To: Matthias Brugger <matthias.bgg-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org,
mark.rutland-5wv7dgnIgG8@public.gmane.org,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
john-Pj+rj9U5foFAfugRpC6u6w@public.gmane.org,
linux-mediatek-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org
Subject: Re: [PATCH v4 9/9] arm: dts: mt7623: add dts file for Bananapi R2 (BPI-R2) board
Date: Mon, 31 Jul 2017 10:46:22 +0800 [thread overview]
Message-ID: <1501469182.10930.3.camel@mtkswgap22> (raw)
In-Reply-To: <805ad5c4-db47-ef10-565d-b63e33a84bdf-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
On Thu, 2017-07-27 at 16:39 +0200, Matthias Brugger wrote:
>
> On 05/25/2017 06:02 AM, sean.wang-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org wrote:
> > From: Sean Wang <sean.wang-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org>
> >
> > Add support for the Bananapi R2 (BPI-R2) development board from
> > BIPAI KEJI. Detailed hardware information for BPI-R2 which could be
> > found on http://www.banana-pi.org/r2.html
> >
> > The patch currently only adds Mediatek GMAC, MT7530 Switch, the crypto
> > engine, USB, IR, I2S, I2C, UART, SPI, PWM, GPIO keys, GPIO LEDs and
> > PMIC LEDs. As to the other missing hardware and peripherals, they would
> > be added and integrated continuously.
> >
> > Signed-off-by: Sean Wang <sean.wang-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org>
> > Acked-by: Rob Herring <robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
> > ---
> > Documentation/devicetree/bindings/arm/mediatek.txt | 2 +
> > arch/arm/boot/dts/Makefile | 1 +
> > arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts | 440 +++++++++++++++++++++
> > 3 files changed, 443 insertions(+)
> > create mode 100644 arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts
> >
> [...]
> > diff --git a/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts b/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts
> > new file mode 100644
> > index 0000000..72c7984
> > --- /dev/null
> > +++ b/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts
> [...]
> > +
> > +ð {
> > + status = "okay";
> > + gmac0: mac@0 {
> > + compatible = "mediatek,eth-mac";
> > + reg = <0>;
> > + phy-mode = "trgmii";
> > + fixed-link {
> > + speed = <1000>;
> > + full-duplex;
> > + pause;
> > + };
> > + };
> > +
> > + mdio: mdio-bus {
> > + switch@0 {
> > + compatible = "mediatek,mt7530";
> > + #address-cells = <1>;
> > + #size-cells = <0>;
> > + reg = <0>;
>
> What is this reg needed for? I can't find it neither in the code nor in the
> bindings (mt7530 and general dsa bindings). Actually it throws a warning when
> compiling:
> arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dtb: Warning (reg_format): "reg"
> property in /ethernet@1b100000/mdio-bus/switch@0 has invalid length (4 bytes)
> (#address-cells == 2, #size-cells == 1)
> arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dtb: Warning
> (avoid_default_addr_size): Relying on default #address-cells value for
> /ethernet@1b100000/mdio-bus/switch@0
> arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dtb: Warning
> (avoid_default_addr_size): Relying on default #size-cells value for
> /ethernet@1b100000/mdio-bus/switch@0
>
> Regards,
> Matthias
>
Hi, Matthias
many thanks
It should be just my written mistakes. Recently I prepared the next
version including a few fixups and enhancements which also would include
the warning correction you reported here.
Sean
> _______________________________________________
> Linux-mediatek mailing list
> Linux-mediatek-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org
> http://lists.infradead.org/mailman/listinfo/linux-mediatek
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
WARNING: multiple messages have this Message-ID (diff)
From: sean.wang@mediatek.com (Sean Wang)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v4 9/9] arm: dts: mt7623: add dts file for Bananapi R2 (BPI-R2) board
Date: Mon, 31 Jul 2017 10:46:22 +0800 [thread overview]
Message-ID: <1501469182.10930.3.camel@mtkswgap22> (raw)
In-Reply-To: <805ad5c4-db47-ef10-565d-b63e33a84bdf@gmail.com>
On Thu, 2017-07-27 at 16:39 +0200, Matthias Brugger wrote:
>
> On 05/25/2017 06:02 AM, sean.wang at mediatek.com wrote:
> > From: Sean Wang <sean.wang@mediatek.com>
> >
> > Add support for the Bananapi R2 (BPI-R2) development board from
> > BIPAI KEJI. Detailed hardware information for BPI-R2 which could be
> > found on http://www.banana-pi.org/r2.html
> >
> > The patch currently only adds Mediatek GMAC, MT7530 Switch, the crypto
> > engine, USB, IR, I2S, I2C, UART, SPI, PWM, GPIO keys, GPIO LEDs and
> > PMIC LEDs. As to the other missing hardware and peripherals, they would
> > be added and integrated continuously.
> >
> > Signed-off-by: Sean Wang <sean.wang@mediatek.com>
> > Acked-by: Rob Herring <robh@kernel.org>
> > ---
> > Documentation/devicetree/bindings/arm/mediatek.txt | 2 +
> > arch/arm/boot/dts/Makefile | 1 +
> > arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts | 440 +++++++++++++++++++++
> > 3 files changed, 443 insertions(+)
> > create mode 100644 arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts
> >
> [...]
> > diff --git a/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts b/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts
> > new file mode 100644
> > index 0000000..72c7984
> > --- /dev/null
> > +++ b/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts
> [...]
> > +
> > +ð {
> > + status = "okay";
> > + gmac0: mac at 0 {
> > + compatible = "mediatek,eth-mac";
> > + reg = <0>;
> > + phy-mode = "trgmii";
> > + fixed-link {
> > + speed = <1000>;
> > + full-duplex;
> > + pause;
> > + };
> > + };
> > +
> > + mdio: mdio-bus {
> > + switch at 0 {
> > + compatible = "mediatek,mt7530";
> > + #address-cells = <1>;
> > + #size-cells = <0>;
> > + reg = <0>;
>
> What is this reg needed for? I can't find it neither in the code nor in the
> bindings (mt7530 and general dsa bindings). Actually it throws a warning when
> compiling:
> arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dtb: Warning (reg_format): "reg"
> property in /ethernet at 1b100000/mdio-bus/switch at 0 has invalid length (4 bytes)
> (#address-cells == 2, #size-cells == 1)
> arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dtb: Warning
> (avoid_default_addr_size): Relying on default #address-cells value for
> /ethernet at 1b100000/mdio-bus/switch at 0
> arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dtb: Warning
> (avoid_default_addr_size): Relying on default #size-cells value for
> /ethernet at 1b100000/mdio-bus/switch at 0
>
> Regards,
> Matthias
>
Hi, Matthias
many thanks
It should be just my written mistakes. Recently I prepared the next
version including a few fixups and enhancements which also would include
the warning correction you reported here.
Sean
> _______________________________________________
> Linux-mediatek mailing list
> Linux-mediatek at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-mediatek
WARNING: multiple messages have this Message-ID (diff)
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>, <john@phrozen.org>,
<linux-mediatek@lists.infradead.org>,
<linux-kernel@vger.kernel.org>,
<linux-arm-kernel@lists.infradead.org>
Subject: Re: [PATCH v4 9/9] arm: dts: mt7623: add dts file for Bananapi R2 (BPI-R2) board
Date: Mon, 31 Jul 2017 10:46:22 +0800 [thread overview]
Message-ID: <1501469182.10930.3.camel@mtkswgap22> (raw)
In-Reply-To: <805ad5c4-db47-ef10-565d-b63e33a84bdf@gmail.com>
On Thu, 2017-07-27 at 16:39 +0200, Matthias Brugger wrote:
>
> On 05/25/2017 06:02 AM, sean.wang@mediatek.com wrote:
> > From: Sean Wang <sean.wang@mediatek.com>
> >
> > Add support for the Bananapi R2 (BPI-R2) development board from
> > BIPAI KEJI. Detailed hardware information for BPI-R2 which could be
> > found on http://www.banana-pi.org/r2.html
> >
> > The patch currently only adds Mediatek GMAC, MT7530 Switch, the crypto
> > engine, USB, IR, I2S, I2C, UART, SPI, PWM, GPIO keys, GPIO LEDs and
> > PMIC LEDs. As to the other missing hardware and peripherals, they would
> > be added and integrated continuously.
> >
> > Signed-off-by: Sean Wang <sean.wang@mediatek.com>
> > Acked-by: Rob Herring <robh@kernel.org>
> > ---
> > Documentation/devicetree/bindings/arm/mediatek.txt | 2 +
> > arch/arm/boot/dts/Makefile | 1 +
> > arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts | 440 +++++++++++++++++++++
> > 3 files changed, 443 insertions(+)
> > create mode 100644 arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts
> >
> [...]
> > diff --git a/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts b/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts
> > new file mode 100644
> > index 0000000..72c7984
> > --- /dev/null
> > +++ b/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts
> [...]
> > +
> > +ð {
> > + status = "okay";
> > + gmac0: mac@0 {
> > + compatible = "mediatek,eth-mac";
> > + reg = <0>;
> > + phy-mode = "trgmii";
> > + fixed-link {
> > + speed = <1000>;
> > + full-duplex;
> > + pause;
> > + };
> > + };
> > +
> > + mdio: mdio-bus {
> > + switch@0 {
> > + compatible = "mediatek,mt7530";
> > + #address-cells = <1>;
> > + #size-cells = <0>;
> > + reg = <0>;
>
> What is this reg needed for? I can't find it neither in the code nor in the
> bindings (mt7530 and general dsa bindings). Actually it throws a warning when
> compiling:
> arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dtb: Warning (reg_format): "reg"
> property in /ethernet@1b100000/mdio-bus/switch@0 has invalid length (4 bytes)
> (#address-cells == 2, #size-cells == 1)
> arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dtb: Warning
> (avoid_default_addr_size): Relying on default #address-cells value for
> /ethernet@1b100000/mdio-bus/switch@0
> arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dtb: Warning
> (avoid_default_addr_size): Relying on default #size-cells value for
> /ethernet@1b100000/mdio-bus/switch@0
>
> Regards,
> Matthias
>
Hi, Matthias
many thanks
It should be just my written mistakes. Recently I prepared the next
version including a few fixups and enhancements which also would include
the warning correction you reported here.
Sean
> _______________________________________________
> Linux-mediatek mailing list
> Linux-mediatek@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-mediatek
next prev parent reply other threads:[~2017-07-31 2:46 UTC|newest]
Thread overview: 54+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-25 4:02 [PATCH v4 0/9] arm: dts: extend mt7623 support sean.wang
2017-05-25 4:02 ` sean.wang
2017-05-25 4:02 ` sean.wang at mediatek.com
2017-05-25 4:02 ` [PATCH v4 1/9] dt-bindings: arm: mediatek: update for MT7623n SoC and relevant boards sean.wang
2017-05-25 4:02 ` sean.wang
2017-05-25 4:02 ` sean.wang at mediatek.com
2017-05-31 17:54 ` Rob Herring
2017-05-31 17:54 ` Rob Herring
2017-05-31 17:54 ` Rob Herring
2017-05-25 4:02 ` [PATCH v4 3/9] arm: dts: mt7623: add mt7623-mt6323.dtsi file sean.wang
2017-05-25 4:02 ` sean.wang
2017-05-25 4:02 ` sean.wang at mediatek.com
[not found] ` <2c770301279b10b78382b53529a6b83a6d847e32.1495683769.git.sean.wang-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org>
2017-05-28 11:31 ` kbuild test robot
2017-05-28 11:31 ` kbuild test robot
2017-05-28 11:31 ` kbuild test robot
[not found] ` <201705281908.LU8TFOQ8%fengguang.wu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2017-05-29 15:27 ` Matthias Brugger
2017-05-29 15:27 ` Matthias Brugger
2017-05-29 15:27 ` Matthias Brugger
[not found] ` <d565b4dd-f6b7-ee43-ddfe-ae98328646ed-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-05-31 8:08 ` [kbuild-all] " Ye Xiaolong
2017-05-31 8:08 ` Ye Xiaolong
2017-05-31 8:08 ` Ye Xiaolong
[not found] ` <cover.1495683769.git.sean.wang-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org>
2017-05-25 4:02 ` [PATCH v4 2/9] dt-bindings: arm: mediatek: add bindings for mediatek MT7623a SoC Platform sean.wang-NuS5LvNUpcJWk0Htik3J/w
2017-05-25 4:02 ` sean.wang
2017-05-25 4:02 ` sean.wang at mediatek.com
2017-05-25 4:02 ` [PATCH v4 4/9] arm: dts: mt7623: rename mt7623-evb.dts to arch/arm/boot/dts/mt7623n-rfb.dtsi sean.wang-NuS5LvNUpcJWk0Htik3J/w
2017-05-25 4:02 ` sean.wang
2017-05-25 4:02 ` sean.wang at mediatek.com
2017-05-25 4:02 ` [PATCH v4 6/9] arm: dts: mt7623: cleanup the mt7623n rfb uart nodes sean.wang-NuS5LvNUpcJWk0Htik3J/w
2017-05-25 4:02 ` sean.wang
2017-05-25 4:02 ` sean.wang at mediatek.com
2017-05-25 4:02 ` [PATCH v4 7/9] arm: dts: mt7623: enable the usb device on the mt7623n rfb sean.wang-NuS5LvNUpcJWk0Htik3J/w
2017-05-25 4:02 ` sean.wang
2017-05-25 4:02 ` sean.wang at mediatek.com
[not found] ` <4cb528c77f4d44bd0932b69f39b0d5b557d9eab1.1495683769.git.sean.wang-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org>
2017-05-28 16:02 ` kbuild test robot
2017-05-28 16:02 ` kbuild test robot
2017-05-28 16:02 ` kbuild test robot
2017-05-25 4:02 ` [PATCH v4 9/9] arm: dts: mt7623: add dts file for Bananapi R2 (BPI-R2) board sean.wang-NuS5LvNUpcJWk0Htik3J/w
2017-05-25 4:02 ` sean.wang
2017-05-25 4:02 ` sean.wang at mediatek.com
[not found] ` <5cc5489b38fc2723c30c8cfe0d4353f967d100f3.1495683769.git.sean.wang-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org>
2017-05-28 20:53 ` kbuild test robot
2017-05-28 20:53 ` kbuild test robot
2017-05-28 20:53 ` kbuild test robot
2017-07-27 14:39 ` Matthias Brugger
2017-07-27 14:39 ` Matthias Brugger
2017-07-27 14:39 ` Matthias Brugger
[not found] ` <805ad5c4-db47-ef10-565d-b63e33a84bdf-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-07-31 2:46 ` Sean Wang [this message]
2017-07-31 2:46 ` Sean Wang
2017-07-31 2:46 ` Sean Wang
2017-05-25 4:02 ` [PATCH v4 5/9] ARM: mediatek: add MT7623a smp bringup code sean.wang
2017-05-25 4:02 ` sean.wang
2017-05-25 4:02 ` sean.wang at mediatek.com
2017-05-25 4:02 ` [PATCH v4 8/9] arm: dts: mt7623: enable the nand device on the mt7623n nand rfb sean.wang
2017-05-25 4:02 ` sean.wang
2017-05-25 4:02 ` sean.wang at mediatek.com
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=1501469182.10930.3.camel@mtkswgap22 \
--to=sean.wang-nus5lvnupcjwk0htik3j/w@public.gmane.org \
--cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=john-Pj+rj9U5foFAfugRpC6u6w@public.gmane.org \
--cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
--cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-mediatek-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
--cc=mark.rutland-5wv7dgnIgG8@public.gmane.org \
--cc=matthias.bgg-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.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 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.