drm/msm/dp: pull I/O data out of msm_dp_catalog_private()

Having I/O regions inside a msm_dp_catalog_private() results in extra
layers of one-line wrappers for accessing the data. Move I/O region base
and size to the globally visible struct msm_dp_catalog.

Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Tested-by: Stephen Boyd <swboyd@chromium.org> # sc7180-trogdor
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Patchwork: https://patchwork.freedesktop.org/patch/654319/
Link: https://lore.kernel.org/r/20250518-fd-dp-audio-fixup-v6-3-2f0ec3ec000d@oss.qualcomm.com
This commit is contained in:
Dmitry Baryshkov 2025-05-18 14:21:36 +03:00 committed by Dmitry Baryshkov
parent 7b38d53d46
commit 56d802f61a
2 changed files with 230 additions and 316 deletions

File diff suppressed because it is too large Load Diff

View File

@ -34,6 +34,18 @@
struct msm_dp_catalog {
bool wide_bus_en;
u32 hw_revision;
void __iomem *ahb_base;
size_t ahb_len;
void __iomem *aux_base;
size_t aux_len;
void __iomem *link_base;
size_t link_len;
void __iomem *p0_base;
size_t p0_len;
};
/* Debug module */