[PATCH 01/16] dt-bindings: PCI: Rename Exynos PCIe binding to Samsung PCIe
Krzysztof Kozlowski
krzysztof.kozlowski at linaro.org
Fri Mar 3 02:12:38 PST 2023
On 02/03/2023 13:54, Shradha Todi wrote:
>
>
>> -----Original Message-----
>> From: Krzysztof Kozlowski [mailto:krzysztof.kozlowski at linaro.org]
>> Sent: 16 February 2023 16:24
>> To: Shradha Todi <shradha.t at samsung.com>; lpieralisi at kernel.org;
>> kw at linux.com; robh at kernel.org; bhelgaas at google.com;
>> krzysztof.kozlowski+dt at linaro.org; alim.akhtar at samsung.com;
>> jingoohan1 at gmail.com; Sergey.Semin at baikalelectronics.ru;
>> lukas.bulwahn at gmail.com; hongxing.zhu at nxp.com; tglx at linutronix.de;
>> m.szyprowski at samsung.com; jh80.chung at samsung.co;
>> pankaj.dubey at samsung.com
>> Cc: linux-pci at vger.kernel.org; devicetree at vger.kernel.org; linux-arm-
>> kernel at lists.infradead.org; linux-samsung-soc at vger.kernel.org; linux-
>> kernel at vger.kernel.org
>> Subject: Re: [PATCH 01/16] dt-bindings: PCI: Rename Exynos PCIe binding to
>> Samsung PCIe
>>
>> On 14/02/2023 13:13, Shradha Todi wrote:
>>> The current DT bindings is being used for Exynos5433 SoC only.
>>> In order to extend this binding for all SoCs manufactured by Samsung
>>> using DWC PCIe controller, renaming this file to a more generic name.
>>
>> Thank you for your patch. There is something to discuss/improve.
>>
>>>
>>> Signed-off-by: Shradha Todi <shradha.t at samsung.com>
>>> ---
>>> .../pci/{samsung,exynos-pcie.yaml => samsung,pcie.yaml} | 6 +++---
>>> 1 file changed, 3 insertions(+), 3 deletions(-) rename
>>> Documentation/devicetree/bindings/pci/{samsung,exynos-pcie.yaml =>
>>> samsung,pcie.yaml} (93%)
>>>
>>> diff --git
>>> a/Documentation/devicetree/bindings/pci/samsung,exynos-pcie.yaml
>>> b/Documentation/devicetree/bindings/pci/samsung,pcie.yaml
>>> similarity index 93%
>>> rename from
>>> Documentation/devicetree/bindings/pci/samsung,exynos-pcie.yaml
>>> rename to Documentation/devicetree/bindings/pci/samsung,pcie.yaml
>>> index f20ed7e709f7..6cd36d9ccba0 100644
>>> --- a/Documentation/devicetree/bindings/pci/samsung,exynos-pcie.yaml
>>> +++ b/Documentation/devicetree/bindings/pci/samsung,pcie.yaml
>>
>> We keep the name rather tied to compatible, not generic. There are no other
>> compatibles here, so I don't think we should rename it.
>>
>
> Our intention to rename was to have a common name for Samsung manufactured SoCs having PCIe controller.
> Though this change may not be a blocker for us but we feel it will be good to have a common name as this file will
> not have bindings only for Exynos series of SoC (Samsung Sys. LSI designed) but also custom ASICs such as FSD / ARTPEC SoC (Samsung Foundry designed).
> We hope we are not breaking any ABI as such in this patch.
There is no FSD/Artpec added here, so renaming just for "rename" is a
no. If you add new hardware here, this could have sense, depending on
the hardware. But since we pretty often expect the first compatible to
be the name of the file, why renaming at all?
Best regards,
Krzysztof
More information about the linux-arm-kernel
mailing list