Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp3659900rdh; Mon, 27 Nov 2023 23:21:23 -0800 (PST) X-Google-Smtp-Source: AGHT+IEZNCpGYsA2KtjxoEGxxxA8okgvV9h3mraW5Gv2eIDWd+8c6MzyymLcyo6OgQTI3Rk+Dktb X-Received: by 2002:a17:90a:dc08:b0:285:6622:ed1 with SMTP id i8-20020a17090adc0800b0028566220ed1mr24694773pjv.10.1701156082981; Mon, 27 Nov 2023 23:21:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701156082; cv=none; d=google.com; s=arc-20160816; b=sLoLTopn03JfB6eG7J+on5+Z+9pjFTxvnu+NbuV3Dsz+MEUBm7k3+V87kGieVBmUpC ALrSDqdhSCTnDZ7+/ueTDELWqHwr5f1FJzGuFeRcB6NZpZ2k5gxdRxsFnATcnQCyEpLD VCv+QpfcW5XWFJUrIn746loBspAjUfXcZau2juqykH7hGJmaIAiCHMGj3yAgwd1KcqKO M/v2Z6XXKOO+9bpuw+F8qepAfXgt2HPL5y7t3d6oimbQ1v830Un0oqA17UyTQzbHAQrz w6JnX3BRZ8M+gC6Vnbvx7JYvAHGp6i43Bu7SWnlEWK3xC3KOwvlDqZVo1AhoyoiYukYV Ubnw== 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=L1lKK+kGgxxdqtbVRqCuGy28QJnOCVe17YrJP9CmlWM=; fh=6fzyP6CcBhMBmiH9SuzBsM4FDJXYALDsZTWlYlo/tMg=; b=p5a8KUIO9VmOiGd/J+0JCOq87P0weyciRdHoFqV6g4q2OTb/SyIZQiLJDo10IZR8oe OEo5U9ET7tvITMpyc4sGtpUd2yJtkyZSRfuWyU6xtPNgoMWyrysViYNpFl4yX19wjVKD Y8Yxid7FqmUFde6n6fP5s2NpRa4HjBhLzrHra4bGV0ActfQhHUO/SvDhqzooACC5EdTQ 4/uhQkLzt6+tBFWkNg7ozfKUWLKMRIKwQf3YXCXE9/7ED4E4uPQs99gPlyB9RWLvt8V1 qDOQ0NxOTHTFD5wnmrVm9/iC5AU00ljXmwU7zr6WpCOJI+G0v2+xOE0E1vjOS5IbadZ/ of/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=avPsvg7D; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id ck21-20020a056a02091500b005b11e5a69fdsi12395598pgb.508.2023.11.27.23.21.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Nov 2023 23:21:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=avPsvg7D; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id A9D6E806117B; Mon, 27 Nov 2023 23:21:19 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343819AbjK1HVF (ORCPT + 99 others); Tue, 28 Nov 2023 02:21:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40390 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343790AbjK1HVE (ORCPT ); Tue, 28 Nov 2023 02:21:04 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EC27DB7 for ; Mon, 27 Nov 2023 23:21:10 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id AA6FFC433C8; Tue, 28 Nov 2023 07:21:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1701156070; bh=E1l+1Z+uwwMLqKabp03y/RSp8HfubdSHT+S8B/r9/TM=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=avPsvg7DKMIft1TwQpgYOGOHZEaxcPA5nhrl6HNbW4Bb6YM49BC8LAB7jWfsimVZ7 koRhOHEQymZ9wEjRnc+AExFYAqjechxXv2pbukIcYbcoZnXnwcEkElJy5+Q2mZ69oT LfSLCJY8O6PAYHVC4Cq/OFhU1sX7CFQVu0wvipCxtD79q0sJ3ttFvof1wntZzCZfXr k/o+xQLx1/FKHr4xBsRShFag+YGumZ01cSDSztHh/M6KTYzG6RbIggxrpLqMmeyD6P bvdFzue6a5IXfH82ZPONB5QX/hnm/cm5ymV1UAhiPR37b8DLVJ654OmrjvGAD5OQg9 LTL01I8IODHKA== Message-ID: Date: Tue, 28 Nov 2023 08:21:06 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 6/7] serial: xilinx_uartps: Add new compatible string for StarFive Content-Language: en-US To: JeeHeng Sia , "paul.walmsley@sifive.com" , "palmer@dabbelt.com" , "aou@eecs.berkeley.edu" , "conor@kernel.org" , "kernel@esmil.dk" , "robh+dt@kernel.org" , "emil.renner.berthing@canonical.com" Cc: "linux-riscv@lists.infradead.org" , "linux-kernel@vger.kernel.org" , Leyfoon Tan References: <20231127013602.253835-1-jeeheng.sia@starfivetech.com> <20231127013602.253835-7-jeeheng.sia@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gaIRIBE+NUqckM+3zJHGmVPqJP/h2Iwv6nw8U+7Yyl6gU BLHFTg2hYnLFJI4Xjg+AX1hHFVKmvl3VBHIsBv0oDcsQWXqY+NaFahT0lRPjYtrTa1v3tem/ JoFzZ4B0p27K+qQCF2R96hVvuEyjzBmdq2esyE6zIqftdo4MOJho8uctOiWbwNNq2U9pPWmu 4vXVFBYIGmpyNPYzRm0QPwARAQABwsF8BBgBCgAmAhsMFiEEm9B+DgxR+NWWd7dUG5NDfTtB YpsFAmA872oFCRRflLYACgkQG5NDfTtBYpvScw/9GrqBrVLuJoJ52qBBKUBDo4E+5fU1bjt0 Gv0nh/hNJuecuRY6aemU6HOPNc2t8QHMSvwbSF+Vp9ZkOvrM36yUOufctoqON+wXrliEY0J4 ksR89ZILRRAold9Mh0YDqEJc1HmuxYLJ7lnbLYH1oui8bLbMBM8S2Uo9RKqV2GROLi44enVt vdrDvo+CxKj2K+d4cleCNiz5qbTxPUW/cgkwG0lJc4I4sso7l4XMDKn95c7JtNsuzqKvhEVS oic5by3fbUnuI0cemeizF4QdtX2uQxrP7RwHFBd+YUia7zCcz0//rv6FZmAxWZGy5arNl6Vm lQqNo7/Poh8WWfRS+xegBxc6hBXahpyUKphAKYkah+m+I0QToCfnGKnPqyYIMDEHCS/RfqA5 t8F+O56+oyLBAeWX7XcmyM6TGeVfb+OZVMJnZzK0s2VYAuI0Rl87FBFYgULdgqKV7R7WHzwD uZwJCLykjad45hsWcOGk3OcaAGQS6NDlfhM6O9aYNwGL6tGt/6BkRikNOs7VDEa4/HlbaSJo 7FgndGw1kWmkeL6oQh7wBvYll2buKod4qYntmNKEicoHGU+x91Gcan8mCoqhJkbqrL7+nXG2 5Q/GS5M9RFWS+nYyJh+c3OcfKqVcZQNANItt7+ULzdNJuhvTRRdC3g9hmCEuNSr+CLMdnRBY fv0= In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 fry.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 (fry.vger.email [0.0.0.0]); Mon, 27 Nov 2023 23:21:19 -0800 (PST) On 28/11/2023 06:25, JeeHeng Sia wrote: > > >> -----Original Message----- >> From: Krzysztof Kozlowski >> Sent: Monday, November 27, 2023 4:49 PM >> To: JeeHeng Sia ; paul.walmsley@sifive.com; palmer@dabbelt.com; aou@eecs.berkeley.edu; >> conor@kernel.org; kernel@esmil.dk; robh+dt@kernel.org; emil.renner.berthing@canonical.com >> Cc: linux-riscv@lists.infradead.org; linux-kernel@vger.kernel.org; Leyfoon Tan >> Subject: Re: [PATCH 6/7] serial: xilinx_uartps: Add new compatible string for StarFive >> >> On 27/11/2023 02:36, Sia Jee Heng wrote: >>> This patch adds the new compatible string for StarFive JH8100 SoC >>> >>> Signed-off-by: Sia Jee Heng >>> Reviewed-by: Ley Foon Tan >>> --- >>> drivers/tty/serial/xilinx_uartps.c | 3 ++- >>> 1 file changed, 2 insertions(+), 1 deletion(-) >>> >>> diff --git a/drivers/tty/serial/xilinx_uartps.c b/drivers/tty/serial/xilinx_uartps.c >>> index 66a45a634158..170901c143c2 100644 >>> --- a/drivers/tty/serial/xilinx_uartps.c >>> +++ b/drivers/tty/serial/xilinx_uartps.c >>> @@ -1210,7 +1210,7 @@ OF_EARLYCON_DECLARE(cdns, "xlnx,xuartps", cdns_early_console_setup); >>> OF_EARLYCON_DECLARE(cdns, "cdns,uart-r1p8", cdns_early_console_setup); >>> OF_EARLYCON_DECLARE(cdns, "cdns,uart-r1p12", cdns_early_console_setup); >>> OF_EARLYCON_DECLARE(cdns, "xlnx,zynqmp-uart", cdns_early_console_setup); >>> - >>> +OF_EARLYCON_DECLARE(cdns, "starfive,jh8100-uart", cdns_early_console_setup); >>> >>> /* Static pointer to console port */ >>> static struct uart_port *console_port; >>> @@ -1448,6 +1448,7 @@ static const struct of_device_id cdns_uart_of_match[] = { >>> { .compatible = "cdns,uart-r1p8", }, >>> { .compatible = "cdns,uart-r1p12", .data = &zynqmp_uart_def }, >>> { .compatible = "xlnx,zynqmp-uart", .data = &zynqmp_uart_def }, >>> + { .compatible = "starfive,jh8100-uart", }, >> >> Why you do not express compatibility in your bindings? Skip this driver >> change. > The compatibility string was added to the binding in the 5th patch. We need to add this compatibility string to the driver, as the other compatibilities were used for other SoCs. You did not add "compatibility string" but compatible. I am asking why you are not expressing in your bindings the compatibility between this and other devices. And no, you do not need driver change for compatible devices, so again: skip this driver change. Best regards, Krzysztof