[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <cover.1679330630.git.lorenzo@kernel.org>
Date: Mon, 20 Mar 2023 17:57:54 +0100
From: Lorenzo Bianconi <lorenzo@...nel.org>
To: netdev@...r.kernel.org
Cc: davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
pabeni@...hat.com, matthias.bgg@...il.com,
linux-mediatek@...ts.infradead.org, nbd@....name, john@...ozen.org,
sean.wang@...iatek.com, Mark-MC.Lee@...iatek.com,
lorenzo.bianconi@...hat.com, daniel@...rotopia.org,
krzysztof.kozlowski+dt@...aro.org, robh+dt@...nel.org,
devicetree@...r.kernel.org
Subject: [PATCH net-next 00/10] mtk: wed: move cpuboot, ilm and dlm in dedicated dts nodes
Since cpuboot, ilm and dlm memory region are not part of MT7986 SoC RAM,
move them in dedicated mt7986a syscon dts nodes.
This series helps to keep backward-compatibility with older version of uboot
codebase where we have a limit of 8 reserved-memory dts child nodes.
At the same time we keep backward-compatibility with older dts version where
cpuboot, ilm and dlm were defined as reserved-memory child nodes.
Lorenzo Bianconi (10):
net: ethernet: mtk_wed: rename mtk_wed_get_memory_region in
mtk_wed_get_reserved_memory_region
net: ethernet: mtk_wed: move cpuboot in a dedicated dts node
dt-bindings: soc: mediatek: move cpuboot in a dedicated dts node
arm64: dts: mt7986: move cpuboot in a dedicated node
net: ethernet: mtk_wed: move ilm a dedicated dts node
dt-bindings: soc: mediatek: move ilm in a dedicated dts node
arm64: dts: mt7986: move ilm in a dedicated node
net: ethernet: mtk_wed: move dlm a dedicated dts node
dt-bindings: soc: mediatek: move dlm in a dedicated dts node
arm64: dts: mt7986: move dlm in a dedicated node
.../arm/mediatek/mediatek,mt7622-wed.yaml | 30 ++++---
.../mediatek/mediatek,mt7986-wo-cpuboot.yaml | 45 ++++++++++
.../soc/mediatek/mediatek,mt7986-wo-dlm.yaml | 46 ++++++++++
.../soc/mediatek/mediatek,mt7986-wo-ilm.yaml | 45 ++++++++++
arch/arm64/boot/dts/mediatek/mt7986a.dtsi | 69 +++++++-------
drivers/net/ethernet/mediatek/mtk_wed.c | 19 ++++
drivers/net/ethernet/mediatek/mtk_wed_mcu.c | 89 ++++++++++++++++---
drivers/net/ethernet/mediatek/mtk_wed_wo.h | 3 +-
8 files changed, 289 insertions(+), 57 deletions(-)
create mode 100644 Documentation/devicetree/bindings/soc/mediatek/mediatek,mt7986-wo-cpuboot.yaml
create mode 100644 Documentation/devicetree/bindings/soc/mediatek/mediatek,mt7986-wo-dlm.yaml
create mode 100644 Documentation/devicetree/bindings/soc/mediatek/mediatek,mt7986-wo-ilm.yaml
--
2.39.2
Powered by blists - more mailing lists