[PATCH v2 5/6] dt-bindings: serial: cdns: Add new compatible string for StarFive JH8100 UART
Krzysztof Kozlowski
krzysztof.kozlowski at linaro.org
Wed Nov 29 02:53:20 PST 2023
On 29/11/2023 11:33, JeeHeng Sia wrote:
>
>
>> -----Original Message-----
>> From: Krzysztof Kozlowski <krzysztof.kozlowski at linaro.org>
>> Sent: Wednesday, November 29, 2023 4:26 PM
>> To: JeeHeng Sia <jeeheng.sia at starfivetech.com>; kernel at esmil.dk; robh+dt at kernel.org; krzysztof.kozlowski+dt at linaro.org;
>> krzk at kernel.org; conor+dt at kernel.org; paul.walmsley at sifive.com; palmer at dabbelt.com; aou at eecs.berkeley.edu;
>> daniel.lezcano at linaro.org; tglx at linutronix.de; conor at kernel.org; anup at brainfault.org; gregkh at linuxfoundation.org;
>> jirislaby at kernel.org; michal.simek at amd.com; Michael Zhu <michael.zhu at starfivetech.com>; drew at beagleboard.org
>> Cc: devicetree at vger.kernel.org; linux-riscv at lists.infradead.org; linux-kernel at vger.kernel.org; Leyfoon Tan
>> <leyfoon.tan at starfivetech.com>
>> Subject: Re: [PATCH v2 5/6] dt-bindings: serial: cdns: Add new compatible string for StarFive JH8100 UART
>>
>> On 29/11/2023 07:00, Sia Jee Heng wrote:
>>> Add new compatible string for UART in the StarFive JH8100 SoC.
>>>
>>> Signed-off-by: Sia Jee Heng <jeeheng.sia at starfivetech.com>
>>> Reviewed-by: Ley Foon Tan <leyfoon.tan at starfivetech.com>
>>
>> The patch is quite different than v1. Are you sure the review is
>> applicable? If it was given for v2, where is it?
> This patch is impacted by the comment suggesting the exclusion of patch 5 in V1. In V2, this patch adds compatible for cdns-uart-r1p8, allowing us to continue using the cdns uart.
Please wrap your replies.
How does this answer my concern about review tag?
Do you understand that my comments are inline under the exact line which
is questioned?
>>
>>> ---
>>> Documentation/devicetree/bindings/serial/cdns,uart.yaml | 4 ++++
>>> 1 file changed, 4 insertions(+)
>>>
>>> diff --git a/Documentation/devicetree/bindings/serial/cdns,uart.yaml b/Documentation/devicetree/bindings/serial/cdns,uart.yaml
>>> index e35ad1109efc..0d05305778f2 100644
>>> --- a/Documentation/devicetree/bindings/serial/cdns,uart.yaml
>>> +++ b/Documentation/devicetree/bindings/serial/cdns,uart.yaml
>>> @@ -20,6 +20,10 @@ properties:
>>> items:
>>> - const: xlnx,zynqmp-uart
>>> - const: cdns,uart-r1p12
>>> + - description: UART controller for StarFive JH8100 SoC
>>
>> This is duplicating compatible, drop.
> Do you mean drop compatible for starfive,jh8100-uart ?
No, drop description and use directly " - items"
>>
>>> + items:
>>> + - const: starfive,jh8100-uart
>>> + - const: cdns,uart-r1p8
>>
>> Don't add things to the end of the list, but keep order. I would suggest
>> to put it at the beginning, so before Xilinx.
> I'm trying to get what you're asking, but it's a bit confusing for me. So, I thought it might be easier if I just share the code below. Please let me know if this addresses your comment?
> properties:
> compatible:
> oneOf:
> - description: UART controller for StarFive JH8100 SoC
> items:
> - const: cdns,uart-r1p8
Order is fixed, thanks. But drop description and bring back specific
compatible. You must have specific compatibles, always.
Best regards,
Krzysztof
More information about the linux-riscv
mailing list