Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp4485205rdh; Wed, 29 Nov 2023 02:53:39 -0800 (PST) X-Google-Smtp-Source: AGHT+IEH7gE/4F30KJSMlOGu5HLrxkMQ9GW3qSJ6k1gBukDkz+Lk3aBUghEDxHsj1gKfLE1mLYU7 X-Received: by 2002:a17:90b:17cf:b0:285:a18e:7565 with SMTP id me15-20020a17090b17cf00b00285a18e7565mr13224956pjb.5.1701255219098; Wed, 29 Nov 2023 02:53:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701255219; cv=none; d=google.com; s=arc-20160816; b=bIK2ScNxXFLqdN0q5ZG5mXTTpfPCX+Kwbz11nPKwUSde2HVYLnG1FBAHN97FImIGTj 4Hycse7brpBWfcSiLJd6di4hstsmeXdgbxAzFTfV9x+x9BqNOHjMlpWkeMxK2rVXXw64 cEIa/0M7YKUnwlmLdwzDLw0jNhMesNMP6PtWjYBpsJCIQfF42M7jagmCXniR6pdZ8xxm ZpsySjTn9G1Zh8nWSQXDHFMMR1sOFESMJ4pD+HENCM9L5wH298NQTS2vZWS5rzSDoLOr BqV7h7oM1GyIwoFHxbyfxWp/aMFeBfR55YgIcJTVp1uQmq9KQdRLPTcBcBZvTdke6FgQ MWbQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:autocrypt :from:references:cc:to:content-language:subject:user-agent :mime-version:date:message-id:dkim-signature; bh=l2jvWR/J4cBkDbvzBiC6ME393r+YwZ2uP+QwtlnTojA=; fh=hNI3i5ZkBfPhSwT1aTzCjnkoU1qOHYUajXgFSsp6xQ8=; b=c9sLTHJ7nswBV5hGiDgImWIClqTWsGgDmSEycNf9pul1gOJm4T4qQnt/umPV9LMFzz Mfa2+Y+2Gk5ndL5+Gep1mzyvFm243hB0VPRPiny+UO/ReH4Ce/waXQH7JFW47rZ9mDwg RF9ggdj6VbMistuVZzzp77qoCUK6fmAVOeAMB8e48MTjIE6pdh/dUg0hMsHELYVUBPP0 1nWgqBfVso7SI/TqAbw5h84tLXwtcNWwEkQ2n2SXODn9sHgdKp6bVAElFeb+1aUfsvxS 3LP6bT4m4u87MBP1lBKDg6Lfuuu3Ca/OC0VXRHP2Rn1TPT0KfWo+2KNT/s69Qa4Xt6gD l7Tw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=EPDWgDSt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id gj15-20020a17090b108f00b0027d01d450desi1055681pjb.86.2023.11.29.02.53.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Nov 2023 02:53:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=EPDWgDSt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 3A1B58051182; Wed, 29 Nov 2023 02:53:36 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231148AbjK2KxV (ORCPT + 99 others); Wed, 29 Nov 2023 05:53:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49428 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229656AbjK2KxT (ORCPT ); Wed, 29 Nov 2023 05:53:19 -0500 Received: from mail-ej1-x634.google.com (mail-ej1-x634.google.com [IPv6:2a00:1450:4864:20::634]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1313910F4 for ; Wed, 29 Nov 2023 02:53:25 -0800 (PST) Received: by mail-ej1-x634.google.com with SMTP id a640c23a62f3a-a013d22effcso884666766b.2 for ; Wed, 29 Nov 2023 02:53:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1701255203; x=1701860003; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=l2jvWR/J4cBkDbvzBiC6ME393r+YwZ2uP+QwtlnTojA=; b=EPDWgDStiR0EOZV0u9YFD33/0hCskFYFYWF4hZzTW3WyVfpJBqRR+gGSkOVsHilJYm 6dR9zvxU0FiASK06s7GYt1Zook9ZJdnk41XAPO493uzE6FwINNAc9SDBaPQULatOqKmb bdtBm5JjgMxXKSjQpmpT9vypIskLTHZHLi7p0PDQBjRCiKyRndVyMi60kxKa5JP2zITL Gk/KDwr7o9H530ZJAOnpaNcKEm9E7lp0/MgxnVs4E6v/2wDwtXIphWqN4n5I+DiUDao7 DMBlHpQtBOjInux28KXwZIxG7tRz8JennZ7ecPftaSBL59i6bWJdjb60tp1jdo+GDp6i JsWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701255203; x=1701860003; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=l2jvWR/J4cBkDbvzBiC6ME393r+YwZ2uP+QwtlnTojA=; b=qPJ8FAKk1bpC//GqlfWzwoksllHCZyh09fTBk7ryZ2SR/M6+3jNq6mh2bqw8nEwA75 viHIZkxD+aQ0NJci4Y59AslnfJC15RVwhBouOdZzU7JoW4U0DFbFKuwRJBB94q7Aop5t 8BCeHuXCoqUkj8LAQwBhrcXr2bYdDiEWvzUWllnG4eMEz0y4hWdZNkOXv7BRjqCOyzsQ 3YQ4ak6xs3A7zYrx2pyE1mT0T94aLe5H8EjaoHHeXsYWIcayu54l6e+QMUzmrzhVZPDu wOtkHOBnQNoZQw2oyHzJxJE/F9CxfyutBj2C6Xlh7yquXxMyNIGVAXmG87Pp7ySgC1Jx xmvg== X-Gm-Message-State: AOJu0Yz5ppaR5JTyuhNFn43NtxZYfwNcoKkj0gTKcPAdie9OWvqcuHbp 8Ueihn8d07Ei24P/lLndd09dcQ== X-Received: by 2002:a17:906:f6cf:b0:a10:a91f:e75e with SMTP id jo15-20020a170906f6cf00b00a10a91fe75emr6306762ejb.18.1701255203380; Wed, 29 Nov 2023 02:53:23 -0800 (PST) Received: from [192.168.1.20] ([178.197.223.109]) by smtp.gmail.com with ESMTPSA id k7-20020a17090627c700b009e50ea0a05asm7814793ejc.99.2023.11.29.02.53.21 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 29 Nov 2023 02:53:22 -0800 (PST) Message-ID: <068ca34d-a930-4542-bde3-4fbb4c228807@linaro.org> Date: Wed, 29 Nov 2023 11:53:20 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 5/6] dt-bindings: serial: cdns: Add new compatible string for StarFive JH8100 UART Content-Language: en-US To: JeeHeng Sia , "kernel@esmil.dk" , "robh+dt@kernel.org" , "krzysztof.kozlowski+dt@linaro.org" , "krzk@kernel.org" , "conor+dt@kernel.org" , "paul.walmsley@sifive.com" , "palmer@dabbelt.com" , "aou@eecs.berkeley.edu" , "daniel.lezcano@linaro.org" , "tglx@linutronix.de" , "conor@kernel.org" , "anup@brainfault.org" , "gregkh@linuxfoundation.org" , "jirislaby@kernel.org" , "michal.simek@amd.com" , Michael Zhu , "drew@beagleboard.org" Cc: "devicetree@vger.kernel.org" , "linux-riscv@lists.infradead.org" , "linux-kernel@vger.kernel.org" , Leyfoon Tan References: <20231129060043.368874-1-jeeheng.sia@starfivetech.com> <20231129060043.368874-6-jeeheng.sia@starfivetech.com> <8f2f241d-580a-4906-949a-b99b5a600868@linaro.org> From: Krzysztof Kozlowski Autocrypt: addr=krzysztof.kozlowski@linaro.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy12FA5GduRLhQU vK4tU7ojoem/G23PcowM1CwPurC8sAVsQb9KmwTGh7rVz3ks3w/zfGBy3+WmLg++C2Wct6nM Pd8/6CBVjEWqD06/RjI2AnjIq5fSEH/BIfXXfC68nMp9BZoy3So4ZsbOlBmtAPvMYX6U8VwD TNeBxJu5Ex0Izf1NV9CzC3nNaFUYOY8KfN01X5SExAoVTr09ewARAQABzTRLcnp5c3p0b2Yg S296bG93c2tpIDxrcnp5c3p0b2Yua296bG93c2tpQGxpbmFyby5vcmc+wsGUBBMBCgA+FiEE m9B+DgxR+NWWd7dUG5NDfTtBYp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iqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Wed, 29 Nov 2023 02:53:36 -0800 (PST) On 29/11/2023 11:33, JeeHeng Sia wrote: > > >> -----Original Message----- >> From: Krzysztof Kozlowski >> Sent: Wednesday, November 29, 2023 4:26 PM >> To: JeeHeng Sia ; kernel@esmil.dk; robh+dt@kernel.org; krzysztof.kozlowski+dt@linaro.org; >> krzk@kernel.org; conor+dt@kernel.org; paul.walmsley@sifive.com; palmer@dabbelt.com; aou@eecs.berkeley.edu; >> daniel.lezcano@linaro.org; tglx@linutronix.de; conor@kernel.org; anup@brainfault.org; gregkh@linuxfoundation.org; >> jirislaby@kernel.org; michal.simek@amd.com; Michael Zhu ; drew@beagleboard.org >> Cc: devicetree@vger.kernel.org; linux-riscv@lists.infradead.org; linux-kernel@vger.kernel.org; Leyfoon Tan >> >> 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 >>> Reviewed-by: Ley Foon Tan >> >> 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