qca-nss-dp: add support for IPQ50xx
authorGeorge Moussalem <george.moussalem@outlook.com>
Mon, 7 Oct 2024 06:42:07 +0000 (10:42 +0400)
committerRobert Marko <robimarko@gmail.com>
Thu, 6 Feb 2025 08:51:13 +0000 (09:51 +0100)
commit39750798f7ad9f8e0b999eee999bceb38138763e
tree8b1cf616b3b5a6ffb42f3b8fa0ef50f8827dc7ce
parent7bffb469bc8c44333be6239aef4fdc8cbeb5bc03
qca-nss-dp: add support for IPQ50xx

Add support for the Qualcomm IPQ50xx in the QCA NSS dataplane driver.
The QCA implementation uses depracated DMA api calls and a downstream SCM
call, so convert to proper Linux DMA and SCM api calls.
In addition, add fixed-link support to support SGMII which is used to
connect the internal IPQ50xx switch to an external switch (ex. QCA8337)

Co-developed-by: Ziyang Huang <hzyitc@outlook.com>
Signed-off-by: Ziyang Huang <hzyitc@outlook.com>
Signed-off-by: George Moussalem <george.moussalem@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/17182
Signed-off-by: Robert Marko <robimarko@gmail.com>
package/kernel/qca-nss-dp/patches/0012-01-syn-gmac-use-standard-DMA-api.patch [new file with mode: 0644]
package/kernel/qca-nss-dp/patches/0012-02-ipq50xx-use-corrent-scm-function-to-write-tcsr.patch [new file with mode: 0644]
package/kernel/qca-nss-dp/patches/0013-nss_dp_main-support-fixed-link.patch [new file with mode: 0644]