[PATCH v2 2/3] PCI: dw-rockchip: Reorganize register and bitfield definitions
Hans Zhang
18255117159 at 163.com
Wed Apr 23 08:23:41 PDT 2025
On 2025/4/23 23:12, Niklas Cassel wrote:
> On Wed, Apr 23, 2025 at 10:14:57PM +0800, Hans Zhang wrote:
>>> I can see why you renamed PCIE_CLIENT_GENERAL_CONTROL to PCIE_CLIENT_GENERAL_CON
>>> (to match PCIE_CLIENT_MSG_GEN_CON).
>>>
>>> But now we have PCIE_CLIENT_MSG_GEN_CON / PCIE_CLIENT_GENERAL_CON and
>>> PCIE_CLIENT_HOT_RESET_CTRL.
>>>
>>> _CTRL seems like a more common shortening. How about renaming all three to
>>> end with _CTRL ?
>>
>> I saw that TRM is named like this.
>>
>> PCIE_CLIENT_GENERAL_CON / PCIE_CLIENT_MSG_GEN_CON /
>> PCIE_CLIENT_HOT_RESET_CTRL
>>
>> Shall we take TRM as the standard or your suggestion?
>
> Aha, so the inconsistency is in the TRM... hahaha :)
>
> Probably best to keep it identical to the TRM.
>
Hi Niklas,
Thank you very much for your reply. Okay.
Best regards,
Hans
More information about the Linux-rockchip
mailing list