From: Krzysztof Kozlowski <krzk@kernel.org>
To: 郑豪威 <zhenghaowei@loongson.cn>
Cc: gregkh@linuxfoundation.org, jirislaby@kernel.org,
robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org,
chenhuacai@kernel.org, kernel@xen0n.name, p.zabel@pengutronix.de,
linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org,
devicetree@vger.kernel.org, loongarch@lists.linux.dev
Subject: Re: [PATCH v3 1/3] dt-bindings: serial: Add Loongson UART controller
Date: Mon, 26 Aug 2024 10:17:44 +0200 [thread overview]
Message-ID: <8b908c2b-c8bc-4b46-b6ff-e23f0ceaa92a@kernel.org> (raw)
In-Reply-To: <e0f40e93-a325-4db2-86af-5d2d29fb0095@loongson.cn>
On 26/08/2024 08:54, 郑豪威 wrote:
>
> 在 2024/8/26 13:59, Krzysztof Kozlowski 写道:
>> On Mon, Aug 26, 2024 at 10:47:03AM +0800,zhenghaowei@loongson.cn wrote:
>>> From: Haowei Zheng<zhenghaowei@loongson.cn>
>>>
>>> Add Loongson UART controller binding with DT schema format using
>>> json-schema.
>>>
>>> Signed-off-by: Haowei Zheng<zhenghaowei@loongson.cn>
>>> ---
>>> .../bindings/serial/loongson,uart.yaml | 63 +++++++++++++++++++
>>> 1 file changed, 63 insertions(+)
>>> create mode 100644 Documentation/devicetree/bindings/serial/loongson,uart.yaml
>>>
>>> Changes in V2:
>>>
>>> - Correct the schema formatting errors.
>>>
>>> - file name changed from 'loongson-uart.yaml' to 'loongson,ls7a-uart.yaml'
>>>
>>> - Replace 'loongson,loongson-uart' with 'loongson,ls7a-uart'.
>>>
>>> Changes in V3:
>>>
>>> - Change the filename from 'loongson,ls7a-uart.yaml' to 'loongson,uart.yaml'.
>>>
>>> - Drop newly defined features: fractional-division, rts-invert, dtr-invert,
>>> cts-invert and dsr-invert.
>>>
>>> - Add three specific SoC: 'loongson,ls7a-uart', 'loongson,ls3a5000-uart' and
>>> 'loongson,ls2k2000-uart'.
>>>
>>> - Drop 'LOONGSON UART DRIVER' description in MAINTAINERS.
>>>
>>> diff --git a/Documentation/devicetree/bindings/serial/loongson,uart.yaml b/Documentation/devicetree/bindings/serial/loongson,uart.yaml
>>> new file mode 100644
>>> index 000000000000..19a65dd5be9f
>>> --- /dev/null
>>> +++ b/Documentation/devicetree/bindings/serial/loongson,uart.yaml
>>> @@ -0,0 +1,63 @@
>>> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
>>> +%YAML 1.2
>>> +---
>>> +$id:http://devicetree.org/schemas/loongson,uart.yaml#
>>> +$schema:http://devicetree.org/meta-schemas/core.yaml#
>>> +
>>> +title: Loongson UART
>>> +
>>> +maintainers:
>>> + - Haowei Zheng<zhenghaowei@loongson.cn>
>>> +
>>> +allOf:
>>> + - $ref: serial.yaml
>>> +
>>> +properties:
>>> + compatible:
>>> + oneOf:
>>> + - enum:
>>> + - loongson,ls7a-uart
>> Quick look tells me there is no such soc like ls7a. If there is such,
>> please point me to the DTSI.
>>
> I had a problem with my description of ls7a, it's just a bridge chip, but
>
> both ls2k0500 and ls2k1000 share the same UART controller as it.
I do not know what is a bridge chip, but anyway: provide DTSI.
No DTSI? Then how is it a chip?
>
>>> + - loongson,ls3a5000-uart
>>> + - loongson,ls2k2000-uart
>>> + - items:
>>> + - enum:
>>> + - loongson,ls2k1000-uart
>>> + - loongson,ls2k0500-uart
>>> + - const: loongson,ls7a-uart
>> Just use real SoC names.
>
> The ls7a is not an SoC; it is typically used in conjunction with
> Loongson 3 series
So no, drop. "Not a SoC" cannot be a standalone compatible and makes
little sense to have it here while all others use specific compatibles.
We keep repeating the same for Loongson and we are getting tired. There
is not much improvements from you. Who in Loongson is responsible for
managing your contributions so he/she/they will assure us you understand
what we ask you?
Best regards,
Krzysztof
next prev parent reply other threads:[~2024-08-26 8:17 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-26 2:47 [PATCH v3 0/3] uart: Introduce uart driver for the Loongson family chips zhenghaowei
2024-08-26 2:47 ` [PATCH v3 1/3] dt-bindings: serial: Add Loongson UART controller zhenghaowei
2024-08-26 5:59 ` Krzysztof Kozlowski
2024-08-26 6:54 ` 郑豪威
2024-08-26 8:17 ` Krzysztof Kozlowski [this message]
2024-08-26 2:47 ` [PATCH v3 2/3] tty: serial: 8250: Add loongson uart driver support zhenghaowei
2024-08-26 2:47 ` [PATCH v3 3/3] LoongArch: Update dts to support Loongson UART driver zhenghaowei
2024-08-26 6:00 ` Krzysztof Kozlowski
2024-08-26 6:54 ` 郑豪威
2024-08-26 8:18 ` Krzysztof Kozlowski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8b908c2b-c8bc-4b46-b6ff-e23f0ceaa92a@kernel.org \
--to=krzk@kernel.org \
--cc=chenhuacai@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=gregkh@linuxfoundation.org \
--cc=jirislaby@kernel.org \
--cc=kernel@xen0n.name \
--cc=krzk+dt@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-serial@vger.kernel.org \
--cc=loongarch@lists.linux.dev \
--cc=p.zabel@pengutronix.de \
--cc=robh@kernel.org \
--cc=zhenghaowei@loongson.cn \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox