Re: [PATCH 04/13] phy: qcom-qmp-pcie: unify ipq registers

From: Johan Hovold
Date: Thu Sep 29 2022 - 02:53:46 EST


On Wed, Sep 28, 2022 at 08:34:37PM +0300, Dmitry Baryshkov wrote:
>
>
> On 28 September 2022 18:28:13 GMT+03:00, Johan Hovold <johan+linaro@xxxxxxxxxx> wrote:
> >The IPQ register array is identical to sm8250_pcie_regs_layout so drop
> >the former.
>
> I'd not do such merge. They belong to different generations. I'd
> suggest changing these arrays to use symbolic names defined in
> corresponding qmp headers.

That could be done too, but this is not how these drivers are
implemented currently. Whenever the resource lists match, they end up
being reused. These values need not even change between revisions.

Johan