[PW_SID:1062708] net: stmmac: qcom-ethqos: add support for SCMI power domains#1569
[PW_SID:1062708] net: stmmac: qcom-ethqos: add support for SCMI power domains#1569linux-riscv-bot wants to merge 7 commits into
Conversation
…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>
|
Patch 1: "[net-next,v7,1/7] dt-bindings: net: qcom: document the ethqos device for SCMI-based systems" |
|
Patch 1: "[net-next,v7,1/7] dt-bindings: net: qcom: document the ethqos device for SCMI-based systems" |
|
Patch 1: "[net-next,v7,1/7] dt-bindings: net: qcom: document the ethqos device for SCMI-based systems" |
|
Patch 1: "[net-next,v7,1/7] dt-bindings: net: qcom: document the ethqos device for SCMI-based systems" |
|
Patch 1: "[net-next,v7,1/7] dt-bindings: net: qcom: document the ethqos device for SCMI-based systems" |
|
Patch 1: "[net-next,v7,1/7] dt-bindings: net: qcom: document the ethqos device for SCMI-based systems" |
|
Patch 1: "[net-next,v7,1/7] dt-bindings: net: qcom: document the ethqos device for SCMI-based systems" |
|
Patch 1: "[net-next,v7,1/7] dt-bindings: net: qcom: document the ethqos device for SCMI-based systems" |
|
Patch 1: "[net-next,v7,1/7] dt-bindings: net: qcom: document the ethqos device for SCMI-based systems" |
|
Patch 1: "[net-next,v7,1/7] dt-bindings: net: qcom: document the ethqos device for SCMI-based systems" |
|
Patch 1: "[net-next,v7,1/7] dt-bindings: net: qcom: document the ethqos device for SCMI-based systems" |
|
Patch 1: "[net-next,v7,1/7] dt-bindings: net: qcom: document the ethqos device for SCMI-based systems" |
|
Patch 2: "[net-next,v7,2/7] net: stmmac: qcom-ethqos: use generic device properties" |
|
Patch 2: "[net-next,v7,2/7] net: stmmac: qcom-ethqos: use generic device properties" |
|
Patch 2: "[net-next,v7,2/7] net: stmmac: qcom-ethqos: use generic device properties" |
|
Patch 2: "[net-next,v7,2/7] net: stmmac: qcom-ethqos: use generic device properties" |
|
Patch 2: "[net-next,v7,2/7] net: stmmac: qcom-ethqos: use generic device properties" |
|
Patch 2: "[net-next,v7,2/7] net: stmmac: qcom-ethqos: use generic device properties" |
|
Patch 2: "[net-next,v7,2/7] net: stmmac: qcom-ethqos: use generic device properties" |
|
Patch 2: "[net-next,v7,2/7] net: stmmac: qcom-ethqos: use generic device properties" |
|
Patch 2: "[net-next,v7,2/7] net: stmmac: qcom-ethqos: use generic device properties" |
|
Patch 2: "[net-next,v7,2/7] net: stmmac: qcom-ethqos: use generic device properties" |
|
Patch 2: "[net-next,v7,2/7] net: stmmac: qcom-ethqos: use generic device properties" |
|
Patch 5: "[net-next,v7,5/7] net: stmmac: qcom-ethqos: split power management context into a separate struct" |
|
Patch 5: "[net-next,v7,5/7] net: stmmac: qcom-ethqos: split power management context into a separate struct" |
|
Patch 5: "[net-next,v7,5/7] net: stmmac: qcom-ethqos: split power management context into a separate struct" |
|
Patch 5: "[net-next,v7,5/7] net: stmmac: qcom-ethqos: split power management context into a separate struct" |
|
Patch 6: "[net-next,v7,6/7] net: stmmac: qcom-ethqos: define a callback for setting the serdes speed" |
|
Patch 6: "[net-next,v7,6/7] net: stmmac: qcom-ethqos: define a callback for setting the serdes speed" |
|
Patch 6: "[net-next,v7,6/7] net: stmmac: qcom-ethqos: define a callback for setting the serdes speed" |
|
Patch 6: "[net-next,v7,6/7] net: stmmac: qcom-ethqos: define a callback for setting the serdes speed" |
|
Patch 6: "[net-next,v7,6/7] net: stmmac: qcom-ethqos: define a callback for setting the serdes speed" |
|
Patch 6: "[net-next,v7,6/7] net: stmmac: qcom-ethqos: define a callback for setting the serdes speed" |
|
Patch 6: "[net-next,v7,6/7] net: stmmac: qcom-ethqos: define a callback for setting the serdes speed" |
|
Patch 6: "[net-next,v7,6/7] net: stmmac: qcom-ethqos: define a callback for setting the serdes speed" |
|
Patch 6: "[net-next,v7,6/7] net: stmmac: qcom-ethqos: define a callback for setting the serdes speed" |
|
Patch 6: "[net-next,v7,6/7] net: stmmac: qcom-ethqos: define a callback for setting the serdes speed" |
|
Patch 6: "[net-next,v7,6/7] net: stmmac: qcom-ethqos: define a callback for setting the serdes speed" |
|
Patch 6: "[net-next,v7,6/7] net: stmmac: qcom-ethqos: define a callback for setting the serdes speed" |
|
Patch 7: "[net-next,v7,7/7] net: stmmac: qcom-ethqos: add support for sa8255p" |
|
Patch 7: "[net-next,v7,7/7] net: stmmac: qcom-ethqos: add support for sa8255p" |
|
Patch 7: "[net-next,v7,7/7] net: stmmac: qcom-ethqos: add support for sa8255p" |
|
Patch 7: "[net-next,v7,7/7] net: stmmac: qcom-ethqos: add support for sa8255p" |
|
Patch 7: "[net-next,v7,7/7] net: stmmac: qcom-ethqos: add support for sa8255p" |
|
Patch 7: "[net-next,v7,7/7] net: stmmac: qcom-ethqos: add support for sa8255p" |
|
Patch 7: "[net-next,v7,7/7] net: stmmac: qcom-ethqos: add support for sa8255p" |
|
Patch 7: "[net-next,v7,7/7] net: stmmac: qcom-ethqos: add support for sa8255p" |
|
Patch 7: "[net-next,v7,7/7] net: stmmac: qcom-ethqos: add support for sa8255p" |
|
Patch 7: "[net-next,v7,7/7] net: stmmac: qcom-ethqos: add support for sa8255p" |
|
Patch 7: "[net-next,v7,7/7] net: stmmac: qcom-ethqos: add support for sa8255p" |
|
Patch 7: "[net-next,v7,7/7] net: stmmac: qcom-ethqos: add support for sa8255p" |
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