Skip to content

[PW_SID:1062708] net: stmmac: qcom-ethqos: add support for SCMI power domains#1569

Closed
linux-riscv-bot wants to merge 7 commits into
workflow__riscv__fixesfrom
pw1062708
Closed

[PW_SID:1062708] net: stmmac: qcom-ethqos: add support for SCMI power domains#1569
linux-riscv-bot wants to merge 7 commits into
workflow__riscv__fixesfrom
pw1062708

Conversation

@linux-riscv-bot
Copy link
Copy Markdown

PR for series 1062708 applied to workflow__riscv__fixes

Name: net: stmmac: qcom-ethqos: add support for SCMI power domains
URL: https://patchwork.kernel.org/project/linux-riscv/list/?series=1062708
Version: 7

Bartosz Golaszewski added 7 commits March 6, 2026 16:07
…tems

Describe the firmware-managed variant of the QCom DesignWare MAC. As the
properties here differ a lot from the HLOS-managed variant, lets put it
in a separate file. Since we need to update the maximum number of power
domains, let's update existing bindings referencing the top-level
snps,dwmac.yaml and limit their maxItems for power-domains to 1.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Reviewed-by: Romain Gantois <romain.gantois@bootlin.com> # For RZ/N1
Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
In order to drop the dependency on CONFIG_OF, convert all device property
getters from OF-specific to generic device properties and stop pulling
in any linux/of.h symbols.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
As the first step in enabling power domain support in the driver, we'll
split the device match data and runtime data structures into their
general and power-management-specific parts. To allow that: first wrap
the emac driver data in another layer which will later be expanded.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
…te structure

Now that we have a separate wrapper for device match data, let's extend
this structure with a pointer to the structure containing fields related
to power-management only. This is done because a device may have the
same device settings but different power management mode (e.g.: firmware
vs manual).

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
…ate struct

With match data split into general and power-management sections, let's
now do the same with runtime device data.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
Ahead of adding support for firmware driven power management, let's
allow different ways of setting the PHY speed. To that end create a
callback with a single implementation for now, that will be extended
later.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
Extend the driver to support a new model - sa8255p. Unlike the
previously supported variants, this one's power management is done in
the firmware using SCMI. This is modeled in linux using power domains so
add support for them.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[net-next,v7,1/7] dt-bindings: net: qcom: document the ethqos device for SCMI-based systems"
build-rv32-defconfig
Desc: Builds riscv32 defconfig
Duration: 137.86 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[net-next,v7,1/7] dt-bindings: net: qcom: document the ethqos device for SCMI-based systems"
build-rv64-clang-allmodconfig
Desc: Builds riscv64 allmodconfig with Clang, and checks for errors and added warnings
Duration: 998.66 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[net-next,v7,1/7] dt-bindings: net: qcom: document the ethqos device for SCMI-based systems"
build-rv64-gcc-allmodconfig
Desc: Builds riscv64 allmodconfig with GCC, and checks for errors and added warnings
Duration: 1353.21 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[net-next,v7,1/7] dt-bindings: net: qcom: document the ethqos device for SCMI-based systems"
build-rv64-nommu-k210-defconfig
Desc: Builds riscv64 defconfig with NOMMU for K210
Duration: 26.59 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[net-next,v7,1/7] dt-bindings: net: qcom: document the ethqos device for SCMI-based systems"
build-rv64-nommu-k210-virt
Desc: Builds riscv64 defconfig with NOMMU for the virt platform
Duration: 28.12 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[net-next,v7,1/7] dt-bindings: net: qcom: document the ethqos device for SCMI-based systems"
checkpatch
Desc: Runs checkpatch.pl on the patch
Duration: 5.73 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[net-next,v7,1/7] dt-bindings: net: qcom: document the ethqos device for SCMI-based systems"
dtb-warn-rv64
Desc: Checks for Device Tree warnings/errors
Duration: 82.41 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[net-next,v7,1/7] dt-bindings: net: qcom: document the ethqos device for SCMI-based systems"
header-inline
Desc: Detects static functions without inline keyword in header files
Duration: 0.23 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[net-next,v7,1/7] dt-bindings: net: qcom: document the ethqos device for SCMI-based systems"
kdoc
Desc: Detects for kdoc errors
Duration: 0.93 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[net-next,v7,1/7] dt-bindings: net: qcom: document the ethqos device for SCMI-based systems"
module-param
Desc: Detect module_param changes
Duration: 0.36 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[net-next,v7,1/7] dt-bindings: net: qcom: document the ethqos device for SCMI-based systems"
verify-fixes
Desc: Verifies that the Fixes: tags exist
Duration: 0.23 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[net-next,v7,1/7] dt-bindings: net: qcom: document the ethqos device for SCMI-based systems"
verify-signedoff
Desc: Verifies that Signed-off-by: tags are correct
Duration: 0.30 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[net-next,v7,2/7] net: stmmac: qcom-ethqos: use generic device properties"
build-rv32-defconfig
Desc: Builds riscv32 defconfig
Duration: 136.90 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[net-next,v7,2/7] net: stmmac: qcom-ethqos: use generic device properties"
build-rv64-clang-allmodconfig
Desc: Builds riscv64 allmodconfig with Clang, and checks for errors and added warnings
Duration: 1040.15 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[net-next,v7,2/7] net: stmmac: qcom-ethqos: use generic device properties"
build-rv64-gcc-allmodconfig
Desc: Builds riscv64 allmodconfig with GCC, and checks for errors and added warnings
Duration: 1398.91 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[net-next,v7,2/7] net: stmmac: qcom-ethqos: use generic device properties"
build-rv64-nommu-k210-defconfig
Desc: Builds riscv64 defconfig with NOMMU for K210
Duration: 26.75 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[net-next,v7,2/7] net: stmmac: qcom-ethqos: use generic device properties"
build-rv64-nommu-k210-virt
Desc: Builds riscv64 defconfig with NOMMU for the virt platform
Duration: 28.11 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[net-next,v7,2/7] net: stmmac: qcom-ethqos: use generic device properties"
checkpatch
Desc: Runs checkpatch.pl on the patch
Duration: 0.97 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[net-next,v7,2/7] net: stmmac: qcom-ethqos: use generic device properties"
dtb-warn-rv64
Desc: Checks for Device Tree warnings/errors
Duration: 82.25 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[net-next,v7,2/7] net: stmmac: qcom-ethqos: use generic device properties"
header-inline
Desc: Detects static functions without inline keyword in header files
Duration: 0.23 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[net-next,v7,2/7] net: stmmac: qcom-ethqos: use generic device properties"
kdoc
Desc: Detects for kdoc errors
Duration: 0.87 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[net-next,v7,2/7] net: stmmac: qcom-ethqos: use generic device properties"
module-param
Desc: Detect module_param changes
Duration: 0.25 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[net-next,v7,2/7] net: stmmac: qcom-ethqos: use generic device properties"
verify-fixes
Desc: Verifies that the Fixes: tags exist
Duration: 0.22 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 5: "[net-next,v7,5/7] net: stmmac: qcom-ethqos: split power management context into a separate struct"
kdoc
Desc: Detects for kdoc errors
Duration: 0.86 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 5: "[net-next,v7,5/7] net: stmmac: qcom-ethqos: split power management context into a separate struct"
module-param
Desc: Detect module_param changes
Duration: 0.25 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 5: "[net-next,v7,5/7] net: stmmac: qcom-ethqos: split power management context into a separate struct"
verify-fixes
Desc: Verifies that the Fixes: tags exist
Duration: 0.22 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 5: "[net-next,v7,5/7] net: stmmac: qcom-ethqos: split power management context into a separate struct"
verify-signedoff
Desc: Verifies that Signed-off-by: tags are correct
Duration: 0.30 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 6: "[net-next,v7,6/7] net: stmmac: qcom-ethqos: define a callback for setting the serdes speed"
build-rv32-defconfig
Desc: Builds riscv32 defconfig
Duration: 136.62 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 6: "[net-next,v7,6/7] net: stmmac: qcom-ethqos: define a callback for setting the serdes speed"
build-rv64-clang-allmodconfig
Desc: Builds riscv64 allmodconfig with Clang, and checks for errors and added warnings
Duration: 1015.47 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 6: "[net-next,v7,6/7] net: stmmac: qcom-ethqos: define a callback for setting the serdes speed"
build-rv64-gcc-allmodconfig
Desc: Builds riscv64 allmodconfig with GCC, and checks for errors and added warnings
Duration: 1371.91 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 6: "[net-next,v7,6/7] net: stmmac: qcom-ethqos: define a callback for setting the serdes speed"
build-rv64-nommu-k210-defconfig
Desc: Builds riscv64 defconfig with NOMMU for K210
Duration: 26.62 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 6: "[net-next,v7,6/7] net: stmmac: qcom-ethqos: define a callback for setting the serdes speed"
build-rv64-nommu-k210-virt
Desc: Builds riscv64 defconfig with NOMMU for the virt platform
Duration: 27.77 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 6: "[net-next,v7,6/7] net: stmmac: qcom-ethqos: define a callback for setting the serdes speed"
checkpatch
Desc: Runs checkpatch.pl on the patch
Duration: 0.75 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 6: "[net-next,v7,6/7] net: stmmac: qcom-ethqos: define a callback for setting the serdes speed"
dtb-warn-rv64
Desc: Checks for Device Tree warnings/errors
Duration: 81.83 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 6: "[net-next,v7,6/7] net: stmmac: qcom-ethqos: define a callback for setting the serdes speed"
header-inline
Desc: Detects static functions without inline keyword in header files
Duration: 0.23 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 6: "[net-next,v7,6/7] net: stmmac: qcom-ethqos: define a callback for setting the serdes speed"
kdoc
Desc: Detects for kdoc errors
Duration: 0.88 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 6: "[net-next,v7,6/7] net: stmmac: qcom-ethqos: define a callback for setting the serdes speed"
module-param
Desc: Detect module_param changes
Duration: 0.25 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 6: "[net-next,v7,6/7] net: stmmac: qcom-ethqos: define a callback for setting the serdes speed"
verify-fixes
Desc: Verifies that the Fixes: tags exist
Duration: 0.23 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 6: "[net-next,v7,6/7] net: stmmac: qcom-ethqos: define a callback for setting the serdes speed"
verify-signedoff
Desc: Verifies that Signed-off-by: tags are correct
Duration: 0.31 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 7: "[net-next,v7,7/7] net: stmmac: qcom-ethqos: add support for sa8255p"
build-rv32-defconfig
Desc: Builds riscv32 defconfig
Duration: 137.70 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 7: "[net-next,v7,7/7] net: stmmac: qcom-ethqos: add support for sa8255p"
build-rv64-clang-allmodconfig
Desc: Builds riscv64 allmodconfig with Clang, and checks for errors and added warnings
Duration: 1014.98 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 7: "[net-next,v7,7/7] net: stmmac: qcom-ethqos: add support for sa8255p"
build-rv64-gcc-allmodconfig
Desc: Builds riscv64 allmodconfig with GCC, and checks for errors and added warnings
Duration: 1372.58 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 7: "[net-next,v7,7/7] net: stmmac: qcom-ethqos: add support for sa8255p"
build-rv64-nommu-k210-defconfig
Desc: Builds riscv64 defconfig with NOMMU for K210
Duration: 26.61 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 7: "[net-next,v7,7/7] net: stmmac: qcom-ethqos: add support for sa8255p"
build-rv64-nommu-k210-virt
Desc: Builds riscv64 defconfig with NOMMU for the virt platform
Duration: 27.66 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 7: "[net-next,v7,7/7] net: stmmac: qcom-ethqos: add support for sa8255p"
checkpatch
Desc: Runs checkpatch.pl on the patch
Duration: 0.93 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 7: "[net-next,v7,7/7] net: stmmac: qcom-ethqos: add support for sa8255p"
dtb-warn-rv64
Desc: Checks for Device Tree warnings/errors
Duration: 82.83 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 7: "[net-next,v7,7/7] net: stmmac: qcom-ethqos: add support for sa8255p"
header-inline
Desc: Detects static functions without inline keyword in header files
Duration: 0.23 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 7: "[net-next,v7,7/7] net: stmmac: qcom-ethqos: add support for sa8255p"
kdoc
Desc: Detects for kdoc errors
Duration: 0.87 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 7: "[net-next,v7,7/7] net: stmmac: qcom-ethqos: add support for sa8255p"
module-param
Desc: Detect module_param changes
Duration: 0.25 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 7: "[net-next,v7,7/7] net: stmmac: qcom-ethqos: add support for sa8255p"
verify-fixes
Desc: Verifies that the Fixes: tags exist
Duration: 0.22 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 7: "[net-next,v7,7/7] net: stmmac: qcom-ethqos: add support for sa8255p"
verify-signedoff
Desc: Verifies that Signed-off-by: tags are correct
Duration: 0.30 seconds
Result: PASS

@linux-riscv-bot linux-riscv-bot deleted the pw1062708 branch March 11, 2026 18:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant