diff options
author | Mantas Pucka <mantas@8devices.com> | 2024-01-23 18:09:19 +0200 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2024-01-24 11:11:52 +0530 |
commit | f74c35b630d40d414ca6b53f7b1b468dd4abf478 (patch) | |
tree | 5a44b08a4172ea831d0fd3e732a94793fa955481 /scripts/gdb/linux/pgtable.py | |
parent | 6613476e225e090cc9aad49be7fa504e290dd33d (diff) |
phy: qcom-qmp-usb: fix register offsets for ipq8074/ipq6018
Commit 2be22aae6b18 ("phy: qcom-qmp-usb: populate offsets configuration")
introduced register offsets to the driver but for ipq8074/ipq6018 they do
not match what was in the old style device tree. Example from old
ipq6018.dtsi:
<0x00078200 0x130>, /* Tx */
<0x00078400 0x200>, /* Rx */
<0x00078800 0x1f8>, /* PCS */
<0x00078600 0x044>; /* PCS misc */
which would translate to:
{.., .pcs = 0x800, .pcs_misc = 0x600, .tx = 0x200, .rx = 0x400 }
but was translated to:
{.., .pcs = 0x600, .tx = 0x200, .rx = 0x400 }
So split usb_offsets and fix USB initialization for IPQ8074 and IPQ6018.
Tested only on IPQ6018
Fixes: 2be22aae6b18 ("phy: qcom-qmp-usb: populate offsets configuration")
Signed-off-by: Mantas Pucka <mantas@8devices.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/1706026160-17520-2-git-send-email-mantas@8devices.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/pgtable.py')
0 files changed, 0 insertions, 0 deletions