Re: [PATCH 5/6] PCI/pwrctrl: tc9563: Rename DSP3 to VDSP

From: Alex Elder

Date: Mon Jul 27 2026 - 12:13:41 EST


On 7/25/26 3:59 AM, Manivannan Sadhasivam via B4 Relay wrote:
From: Manivannan Sadhasivam <manivannan.sadhasivam@xxxxxxxxxxxxxxxx>

TC9563 Reference Manual calls DSP3 as VDSP (Virtual Downstream Port). Hence
name it as such to avoid ambiguity.

I didn't really like the overloaded "virtual" term (though maybe
it is normal for PCI). However I do like that this makes it
clearer that the third downstream port is different from the
first two.

Reviewed-by: Alex Elder <elder@xxxxxxxxxxxx>


Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@xxxxxxxxxxxxxxxx>
---
drivers/pci/pwrctrl/pci-pwrctrl-tc9563.c | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/drivers/pci/pwrctrl/pci-pwrctrl-tc9563.c b/drivers/pci/pwrctrl/pci-pwrctrl-tc9563.c
index 28e9ec3e172a..f1179737f221 100644
--- a/drivers/pci/pwrctrl/pci-pwrctrl-tc9563.c
+++ b/drivers/pci/pwrctrl/pci-pwrctrl-tc9563.c
@@ -80,7 +80,7 @@ enum tc9563_pwrctrl_ports {
TC9563_USP,
TC9563_DSP1,
TC9563_DSP2,
- TC9563_DSP3,
+ TC9563_VDSP,
TC9563_ETHERNET,
TC9563_MAX
};
@@ -328,8 +328,8 @@ static int tc9563_pwrctrl_set_tx_amplitude(struct tc9563_pwrctrl *tc9563,
case TC9563_DSP2:
port_access = 0x8;
break;
- case TC9563_DSP3:
- dev_dbg(dev, "Tx amplitude tuning not supported for DSP3\n");
+ case TC9563_VDSP:
+ dev_dbg(dev, "Tx amplitude tuning not supported for VDSP\n");
return 0;
default:
return -EINVAL;
@@ -368,8 +368,8 @@ static int tc9563_pwrctrl_disable_dfe(struct tc9563_pwrctrl *tc9563,
port_access = 0x8;
lane_access = 0x1;
break;
- case TC9563_DSP3:
- dev_dbg(dev, "DFE tuning not supported for DSP3\n");
+ case TC9563_VDSP:
+ dev_dbg(dev, "DFE tuning not supported for VDSP\n");
return 0;
default:
return -EINVAL;
@@ -612,10 +612,10 @@ static int tc9563_pwrctrl_probe(struct platform_device *pdev)
break;
/*
- * The integrated Ethernet MAC Endpoint under DSP3 is a single
+ * The integrated Ethernet MAC Endpoint under VDSP is a single
* device whose functions share the same config registers.
*/
- if (port == TC9563_DSP3) {
+ if (port == TC9563_VDSP) {
struct device_node *eth __free(device_node) =
of_get_next_available_child(child, NULL);
if (eth) {