From: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
To: "Sjoerd Simons" <sjoerd@collabora.com>,
"Rob Herring" <robh@kernel.org>,
"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
"Conor Dooley" <conor+dt@kernel.org>,
"Matthias Brugger" <matthias.bgg@gmail.com>,
"Ryder Lee" <ryder.lee@mediatek.com>,
"Jianjun Wang" <jianjun.wang@mediatek.com>,
"Bjorn Helgaas" <bhelgaas@google.com>,
"Lorenzo Pieralisi" <lpieralisi@kernel.org>,
"Krzysztof Wilczyński" <kwilczynski@kernel.org>,
"Manivannan Sadhasivam" <mani@kernel.org>,
"Chunfeng Yun" <chunfeng.yun@mediatek.com>,
"Vinod Koul" <vkoul@kernel.org>,
"Kishon Vijay Abraham I" <kishon@kernel.org>,
"Lee Jones" <lee@kernel.org>,
"Andrew Lunn" <andrew+netdev@lunn.ch>,
"David S. Miller" <davem@davemloft.net>,
"Eric Dumazet" <edumazet@google.com>,
"Jakub Kicinski" <kuba@kernel.org>,
"Paolo Abeni" <pabeni@redhat.com>,
"Lorenzo Bianconi" <lorenzo@kernel.org>,
"Felix Fietkau" <nbd@nbd.name>
Cc: kernel@collabora.com, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-mediatek@lists.infradead.org, linux-pci@vger.kernel.org,
linux-phy@lists.infradead.org, netdev@vger.kernel.org,
Daniel Golle <daniel@makrotopia.org>,
Bryan Hinton <bryan@bryanhinton.com>,
Conor Dooley <conor.dooley@microchip.com>
Subject: Re: [PATCH v2 00/15] arm64: dts: mediatek: Add Openwrt One AP functionality
Date: Mon, 3 Nov 2025 09:56:21 +0100 [thread overview]
Message-ID: <781e754e-6603-4ae3-9340-24403a6d8137@collabora.com> (raw)
In-Reply-To: <20251101-openwrt-one-network-v2-0-2a162b9eea91@collabora.com>
Il 01/11/25 14:32, Sjoerd Simons ha scritto:
> Significant changes in V2:
> * https://lore.kernel.org/lkml/20251016-openwrt-one-network-v1-0-de259719b6f2@collabora.com/
> * Only introduce labels in mt7981b.dtsi when required
> * Switch Airoha EN8811H phy irq to level rather then edge triggered
> * Move uart0 pinctrl from board dts to soc dtsi
> * Only overwrite constraints with non-default values in MT7981 bindings
> * Make SPI NOR nvmem cell labels more meaningfull
> * Seperate fixing and disable-by-default for the mt7981 in seperate
> patches
>
> This series add various peripherals to the Openwrt One, to make it
> actually useful an access point:
>
> * Pcie express (tested with nvme storage)
> * Wired network interfaces
> * Wireless network interfaces (2.4g, 5ghz wifi)
> * Status leds
> * SPI NOR for factory data
>
> Unsurprisingly the series is a mix of dt binding updates, extensions of
> the mt7981b and the openwrt one dtb. All driver support required is
> already available.
>
> Sadly during testing i've found various quirks requiring kernel
> arguments. Documenting those here both as note to self and making it
> easier for others to test :)
>
> * fw_devlink=permissive: the nvmem fixed-layout doesn't create a layout
> device, so doesn't trigger fw_devlink
This should really be fixed in fw_devlink I believe. It's not the first device
that uses nvmem fixed-layout and will not be the last one.
> * clk_ignore_unused: Needed when building CONFIG_NET_MEDIATEK_SOC as a
> module. If the ethernet related clocks (gp1/gp2) get disabled the
> mac ends up in a weird state causing it not to function correctly.
I'm sure that this can be resolved by adding resets.
> * pcie_aspm: ASPM is forced to enabled in 6.18-rc1, unfortunately
> enabling ASPM L1.1 ends up triggering unrecoverable AERs.
That must be resolved in the PCIe driver - either it must disable L1.1 support
or needs some fixes around.
Still, I think if you add resets to the PCIe node you should at least get the
MAC recovered at PM resume time (but being this a router, I really don't think
that this would matter - still, for the sake of completion...)
Overall, this series is good and I'm fine with picking all of the changes: even
if there are some needed quirks, those aren't freezing the boot process and the
worst thing that could ever happen is that in some conditions some devices will
simply not probe.
I guess that the resets, etc, can be added later as a fix - but at least we can
get those devices at least partially up and running .
Can anyone pick the bindings please, so that I can pick everything else?
Cheers,
Angelo
>
> Patches are against the mediatek trees for-next branch
>
> Signed-off-by: Sjoerd Simons <sjoerd@collabora.com>
> ---
> Sjoerd Simons (15):
> arm64: dts: mediatek: mt7981b: Configure UART0 pinmux
> arm64: dts: mediatek: mt7981b: Add reserved memory for TF-A
> dt-bindings: mfd: syscon: Add mt7981-topmisc
> dt-bindings: PCI: mediatek-gen3: Add MT7981 PCIe compatible
> dt-bindings: phy: mediatek,tphy: Add support for MT7981
> arm64: dts: mediatek: mt7981b: Add PCIe and USB support
> arm64: dts: mediatek: mt7981b-openwrt-one: Enable PCIe and USB
> dt-bindings: net: mediatek,net: Correct bindings for MT7981
> arm64: dts: mediatek: mt7981b: Add Ethernet and WiFi offload support
> arm64: dts: mediatek: mt7981b-openwrt-one: Enable SPI NOR
> arm64: dts: mediatek: mt7981b-openwrt-one: Enable Ethernet
> arm64: dts: mediatek: mt7981b: Disable wifi by default
> arm64: dts: mediatek: mt7981b: Add wifi memory region
> arm64: dts: mediatek: mt7981b-openwrt-one: Enable wifi
> arm64: dts: mediatek: mt7981b-openwrt-one: Enable software leds
>
> Documentation/devicetree/bindings/mfd/syscon.yaml | 1 +
> .../devicetree/bindings/net/mediatek,net.yaml | 13 +-
> .../bindings/pci/mediatek-pcie-gen3.yaml | 1 +
> .../devicetree/bindings/phy/mediatek,tphy.yaml | 1 +
> .../boot/dts/mediatek/mt7981b-openwrt-one.dts | 263 +++++++++++++++++++++
> arch/arm64/boot/dts/mediatek/mt7981b.dtsi | 247 ++++++++++++++++++-
> 6 files changed, 519 insertions(+), 7 deletions(-)
> ---
> base-commit: 860a0efbb95de468b17c86ed5cf8d90ee4bc5d7b
> change-id: 20251016-openwrt-one-network-40bc9ac1b25c
>
> Best regards,
next prev parent reply other threads:[~2025-11-03 8:56 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-01 13:32 [PATCH v2 00/15] arm64: dts: mediatek: Add Openwrt One AP functionality Sjoerd Simons
2025-11-01 13:32 ` [PATCH v2 01/15] arm64: dts: mediatek: mt7981b: Configure UART0 pinmux Sjoerd Simons
2025-11-01 13:32 ` [PATCH v2 02/15] arm64: dts: mediatek: mt7981b: Add reserved memory for TF-A Sjoerd Simons
2025-11-01 13:32 ` [PATCH v2 03/15] dt-bindings: mfd: syscon: Add mt7981-topmisc Sjoerd Simons
2025-11-01 13:32 ` [PATCH v2 04/15] dt-bindings: PCI: mediatek-gen3: Add MT7981 PCIe compatible Sjoerd Simons
2025-11-01 13:32 ` [PATCH v2 05/15] dt-bindings: phy: mediatek,tphy: Add support for MT7981 Sjoerd Simons
2025-11-01 13:32 ` [PATCH v2 06/15] arm64: dts: mediatek: mt7981b: Add PCIe and USB support Sjoerd Simons
2025-11-01 13:32 ` [PATCH v2 07/15] arm64: dts: mediatek: mt7981b-openwrt-one: Enable PCIe and USB Sjoerd Simons
2025-11-01 13:32 ` [PATCH v2 08/15] dt-bindings: net: mediatek,net: Correct bindings for MT7981 Sjoerd Simons
2025-11-02 16:34 ` Krzysztof Kozlowski
2025-11-03 8:43 ` AngeloGioacchino Del Regno
2025-11-01 13:32 ` [PATCH v2 09/15] arm64: dts: mediatek: mt7981b: Add Ethernet and WiFi offload support Sjoerd Simons
2025-11-01 13:32 ` [PATCH v2 10/15] arm64: dts: mediatek: mt7981b-openwrt-one: Enable SPI NOR Sjoerd Simons
2025-11-01 13:32 ` [PATCH v2 11/15] arm64: dts: mediatek: mt7981b-openwrt-one: Enable Ethernet Sjoerd Simons
2025-11-01 13:32 ` [PATCH v2 12/15] arm64: dts: mediatek: mt7981b: Disable wifi by default Sjoerd Simons
2025-11-01 13:32 ` [PATCH v2 13/15] arm64: dts: mediatek: mt7981b: Add wifi memory region Sjoerd Simons
2025-11-01 13:32 ` [PATCH v2 14/15] arm64: dts: mediatek: mt7981b-openwrt-one: Enable wifi Sjoerd Simons
2025-11-03 8:44 ` AngeloGioacchino Del Regno
2025-11-01 13:33 ` [PATCH v2 15/15] arm64: dts: mediatek: mt7981b-openwrt-one: Enable software leds Sjoerd Simons
2025-11-03 8:56 ` AngeloGioacchino Del Regno [this message]
2025-11-05 9:02 ` (subset) [PATCH v2 00/15] arm64: dts: mediatek: Add Openwrt One AP functionality AngeloGioacchino Del Regno
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=781e754e-6603-4ae3-9340-24403a6d8137@collabora.com \
--to=angelogioacchino.delregno@collabora.com \
--cc=andrew+netdev@lunn.ch \
--cc=bhelgaas@google.com \
--cc=bryan@bryanhinton.com \
--cc=chunfeng.yun@mediatek.com \
--cc=conor+dt@kernel.org \
--cc=conor.dooley@microchip.com \
--cc=daniel@makrotopia.org \
--cc=davem@davemloft.net \
--cc=devicetree@vger.kernel.org \
--cc=edumazet@google.com \
--cc=jianjun.wang@mediatek.com \
--cc=kernel@collabora.com \
--cc=kishon@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=kuba@kernel.org \
--cc=kwilczynski@kernel.org \
--cc=lee@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=linux-pci@vger.kernel.org \
--cc=linux-phy@lists.infradead.org \
--cc=lorenzo@kernel.org \
--cc=lpieralisi@kernel.org \
--cc=mani@kernel.org \
--cc=matthias.bgg@gmail.com \
--cc=nbd@nbd.name \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=robh@kernel.org \
--cc=ryder.lee@mediatek.com \
--cc=sjoerd@collabora.com \
--cc=vkoul@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