From: Romain Gantois <romain.gantois@bootlin.com>
To: davem@davemloft.net, Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>
Cc: Romain Gantois <romain.gantois@bootlin.com>,
Jakub Kicinski <kuba@kernel.org>,
Eric Dumazet <edumazet@google.com>,
Paolo Abeni <pabeni@redhat.com>,
netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
devicetree@vger.kernel.org, thomas.petazzoni@bootlin.com,
Andrew Lunn <andrew@lunn.ch>,
Florian Fainelli <f.fainelli@gmail.com>,
Heiner Kallweit <hkallweit1@gmail.com>,
Russell King <linux@armlinux.org.uk>,
linux-arm-kernel@lists.infradead.org,
Vladimir Oltean <vladimir.oltean@nxp.com>,
Luka Perkov <luka.perkov@sartura.hr>,
Robert Marko <robert.marko@sartura.hr>,
Andy Gross <agross@kernel.org>,
Bjorn Andersson <andersson@kernel.org>,
Konrad Dybcio <konrad.dybcio@somainline.org>,
Maxime Chevallier <maxime.chevallier@bootlin.com>
Subject: [PATCH net-next 0/5] net: ipqess: introduce Qualcomm IPQESS driver
Date: Mon, 23 Oct 2023 17:50:07 +0200 [thread overview]
Message-ID: <20231023155013.512999-1-romain.gantois@bootlin.com> (raw)
Hello everyone,
This is a driver for the Qualcomm IPQ4019 Ethernet Switch Subsystem. The
IPQ4019 SoC integrates a modified version of the QCA8K Ethernet switch. One
major difference with the original switch IP is that port tags are passed
to the integrated Ethernet controller out-of-band.
My colleague Maxime Chevallier submitted several iterations of this driver
about a year ago, here is the latest one:
https://lore.kernel.org/netdev/20221104174151.439008-1-maxime.chevallier@bootlin.com/
These series were rejected because they required adding out-of-band tagging
support to the DSA subsystem. Therefore, we rewrote the driver as a pure
switchdev module, which shares a common backend library with the current
QCA8K driver.
The main driver components are:
- ipqess_switch.c which registers and configures the integrated switch
- ipqess_port.c which creates net devices for each one of the front-facing
ports.
- ipqess_edma.c which handles the integrated EDMA Ethernet controller
linked to the CPU port.
- drivers/net/dsa/qca/qca8k-common.c which defines low-level ESS access
methods common to this driver and the original DSA QCA8K driver.
Thanks to the people from Sartura for providing us hardware and working on
the base QCA8K driver, and to Maxime for his work on the EDMA code.
Best regards,
Romain
Romain Gantois (5):
net: dt-bindings: Introduce the Qualcomm IPQESS Ethernet switch
net: dsa: qca: Make the QCA8K hardware library available globally
net: ipqess: introduce the Qualcomm IPQESS driver
net: ipqess: add a PSGMII calibration procedure to the IPQESS driver
dts: qcom: ipq4019: Add description for the IPQ4019 ESS EDMA and
switch
.../bindings/net/qcom,ipq4019-ess.yaml | 152 ++
MAINTAINERS | 7 +
.../boot/dts/qcom/qcom-ipq4018-ap120c-ac.dtsi | 13 +
arch/arm/boot/dts/qcom/qcom-ipq4019.dtsi | 94 +
drivers/net/dsa/qca/Kconfig | 10 +
drivers/net/dsa/qca/Makefile | 5 +-
drivers/net/dsa/qca/qca8k-8xxx.c | 2 +-
drivers/net/dsa/qca/qca8k-common.c | 97 +-
drivers/net/dsa/qca/qca8k-leds.c | 2 +-
drivers/net/ethernet/qualcomm/Kconfig | 14 +
drivers/net/ethernet/qualcomm/Makefile | 2 +
drivers/net/ethernet/qualcomm/ipqess/Makefile | 8 +
.../ethernet/qualcomm/ipqess/ipqess_calib.c | 495 ++++
.../ethernet/qualcomm/ipqess/ipqess_edma.c | 1162 ++++++++++
.../ethernet/qualcomm/ipqess/ipqess_edma.h | 484 ++++
.../qualcomm/ipqess/ipqess_notifiers.c | 306 +++
.../qualcomm/ipqess/ipqess_notifiers.h | 29 +
.../ethernet/qualcomm/ipqess/ipqess_port.c | 2017 +++++++++++++++++
.../ethernet/qualcomm/ipqess/ipqess_port.h | 99 +
.../ethernet/qualcomm/ipqess/ipqess_switch.c | 559 +++++
.../ethernet/qualcomm/ipqess/ipqess_switch.h | 40 +
.../net/dsa/qca => include/linux/dsa}/qca8k.h | 74 +-
22 files changed, 5648 insertions(+), 23 deletions(-)
create mode 100644 Documentation/devicetree/bindings/net/qcom,ipq4019-ess.yaml
create mode 100644 drivers/net/ethernet/qualcomm/ipqess/Makefile
create mode 100644 drivers/net/ethernet/qualcomm/ipqess/ipqess_calib.c
create mode 100644 drivers/net/ethernet/qualcomm/ipqess/ipqess_edma.c
create mode 100644 drivers/net/ethernet/qualcomm/ipqess/ipqess_edma.h
create mode 100644 drivers/net/ethernet/qualcomm/ipqess/ipqess_notifiers.c
create mode 100644 drivers/net/ethernet/qualcomm/ipqess/ipqess_notifiers.h
create mode 100644 drivers/net/ethernet/qualcomm/ipqess/ipqess_port.c
create mode 100644 drivers/net/ethernet/qualcomm/ipqess/ipqess_port.h
create mode 100644 drivers/net/ethernet/qualcomm/ipqess/ipqess_switch.c
create mode 100644 drivers/net/ethernet/qualcomm/ipqess/ipqess_switch.h
rename {drivers/net/dsa/qca => include/linux/dsa}/qca8k.h (87%)
--
2.42.0
next reply other threads:[~2023-10-23 15:50 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-23 15:50 Romain Gantois [this message]
2023-10-23 15:50 ` [PATCH net-next 1/5] net: dt-bindings: Introduce the Qualcomm IPQESS Ethernet switch Romain Gantois
2023-10-23 17:37 ` Krzysztof Kozlowski
2023-10-24 8:01 ` Romain Gantois
2023-10-23 17:40 ` Rob Herring
2023-10-24 9:54 ` Romain Gantois
2023-10-24 9:56 ` Krzysztof Kozlowski
2023-10-24 10:05 ` Romain Gantois
2023-10-24 10:54 ` Krzysztof Kozlowski
2023-10-24 12:13 ` Romain Gantois
2023-10-23 15:50 ` [PATCH net-next 2/5] net: dsa: qca: Make the QCA8K hardware library available globally Romain Gantois
2023-10-23 16:40 ` Andrew Lunn
2023-10-23 15:50 ` [PATCH net-next 3/5] net: ipqess: introduce the Qualcomm IPQESS driver Romain Gantois
2023-10-23 17:50 ` Andrew Lunn
2023-10-24 9:16 ` Romain Gantois
2023-10-24 14:08 ` Andrew Lunn
2023-10-24 16:23 ` Robert Marko
2023-10-24 16:48 ` Andrew Lunn
2023-10-24 11:44 ` Wojciech Drewek
2023-10-24 15:55 ` kernel test robot
2023-10-23 15:50 ` [PATCH net-next 4/5] net: ipqess: add a PSGMII calibration procedure to the " Romain Gantois
2023-10-23 18:01 ` Andrew Lunn
2023-10-24 9:03 ` Romain Gantois
2023-10-24 14:13 ` Andrew Lunn
2023-10-24 16:49 ` Robert Marko
2023-10-23 15:50 ` [PATCH net-next 5/5] dts: qcom: ipq4019: Add description for the IPQ4019 ESS EDMA and switch Romain Gantois
2023-10-23 17:39 ` Krzysztof Kozlowski
-- strict thread matches above, loose matches on Subject: below --
2022-04-22 18:03 [PATCH net-next 0/5] net: ipqess: introduce Qualcomm IPQESS driver Maxime Chevallier
2022-04-22 20:29 ` Andrew Lunn
2022-04-26 12:12 ` Robert Marko
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=20231023155013.512999-1-romain.gantois@bootlin.com \
--to=romain.gantois@bootlin.com \
--cc=agross@kernel.org \
--cc=andersson@kernel.org \
--cc=andrew@lunn.ch \
--cc=davem@davemloft.net \
--cc=devicetree@vger.kernel.org \
--cc=edumazet@google.com \
--cc=f.fainelli@gmail.com \
--cc=hkallweit1@gmail.com \
--cc=konrad.dybcio@somainline.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=kuba@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=luka.perkov@sartura.hr \
--cc=maxime.chevallier@bootlin.com \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=robert.marko@sartura.hr \
--cc=robh+dt@kernel.org \
--cc=thomas.petazzoni@bootlin.com \
--cc=vladimir.oltean@nxp.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox