Received: by 2002:ab2:788f:0:b0:1ee:8f2e:70ae with SMTP id b15csp629293lqi; Thu, 7 Mar 2024 07:15:18 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWLdmbWKidkDLEP50C1vI+8x5sPhUtULrXvoH2HWZ8Zl9KxaYFSQBNfHxaCvRQxGcLsHo3mM5oUL4IXUfigENLiLka2ntXD4Cf91FnbsQ== X-Google-Smtp-Source: AGHT+IGUjTuIW5ZXeb6D10hf884S+75o1i+pN+8WB6eopN+U5CfJl0VGT5GORamkyyjE4uMl826O X-Received: by 2002:a05:620a:8511:b0:788:1837:4b52 with SMTP id pe17-20020a05620a851100b0078818374b52mr8123810qkn.72.1709824517722; Thu, 07 Mar 2024 07:15:17 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709824517; cv=pass; d=google.com; s=arc-20160816; b=DfJb2sCcsK0vH814BBPIWGGTyiqThS1g6PAq7BmndNqAq/zZPAy1eiAdZhShljmn/Z 7YUPe4mdc7qxeQwJW3Q9++pa0ggHQJ+Bufox17wQrO8QyWnXAEysdADMyrozFtO30Fpu hsQl4XXrEMzu8kPtq5v6LS8PDj91s8eLwOmHkVN0RACGCG3+tNmnHGAQpXESKmcmk5Q5 71Q9502gIv+F08wPaCqK6Yh9VM6oN3cPqKxTtig60SRh6pb4RYqIQ0ZCYSzcMhQVSglO iYAe6bON5X7fEM6FW05BbIeLml1A82XFCkfJwTC6Co0JIubLAGQxQU8V9GfSv1IY6Ksz Wt8A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:message-id:references:in-reply-to:subject:cc:to:from :date:content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=jx4TBzhJx8K0HvNhESnsvKGKLNHd0Z0vKd6OX1rMKEI=; fh=AkIt1/Zra7PN1XuyTZzMsGAsxiAKtgLMcfxAdwJ4DqA=; b=htxOFmZgoQ4nhW0NCqoDlv5HyOJDUDq2VpT7pq1eCAI3LQsy1T07WXh1TvSdjBebvS BkNOfsGO0uhZH1b4/Htfwys7HbEMkh/CTq1gXUaEPXHa2byEViStkO7D6ob+NMwH+qa+ 2UFsqX8QnNFaEA1JdBQtwtxX7hzMw7Gqy7BDrCFBdh4mGNy6fKmMecbli8kImaLo7xcO 9ypkpum9bBGqY9FMtb5PC5boLZZWyuvp9QXTSEWNgrz8Agpla5waDM1VcFkRoWkPVK5D pPtuFfaj+Oc9KPS+Q0eHOjtLWAvgjePsQqeSJCiH/aCVZ8Uy1zvtrtJoqCS7AoAjt1ml i6ew==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@risingedge.co.za header.s=xneelo header.b="sY7Rkw/F"; arc=pass (i=1 spf=pass spfdomain=risingedge.co.za dkim=pass dkdomain=risingedge.co.za); spf=pass (google.com: domain of linux-kernel+bounces-95802-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-95802-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id oo5-20020a05620a530500b0078833ed7798si6356614qkn.497.2024.03.07.07.15.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Mar 2024 07:15:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-95802-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@risingedge.co.za header.s=xneelo header.b="sY7Rkw/F"; arc=pass (i=1 spf=pass spfdomain=risingedge.co.za dkim=pass dkdomain=risingedge.co.za); spf=pass (google.com: domain of linux-kernel+bounces-95802-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-95802-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 669701C23630 for ; Thu, 7 Mar 2024 15:15:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1289112F36F; Thu, 7 Mar 2024 15:15:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=risingedge.co.za header.i=@risingedge.co.za header.b="sY7Rkw/F" Received: from outgoing6.flk.host-h.net (outgoing6.flk.host-h.net [188.40.0.77]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A070512E1EF; Thu, 7 Mar 2024 15:15:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=188.40.0.77 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709824509; cv=none; b=cQcGp418zE1qVbaR5MB89D9ndq0z9D9QFO3354zpxLvOh5B3WG3QtS5iED2s/+gQBWhqGhhz5/cedezzsuMhyp/WvW2EI0TCUSTBIR7dZVTaP/8ypPTBXyW77o6pwCTzGxaXSf/vWPO1CSgu0K7KZvL1wJN+WZd6xjKS1EYKp6w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709824509; c=relaxed/simple; bh=UUWtrKgnOeFEflid2w6zP81l3y3HBuUwXIDGs4HnhcI=; h=MIME-Version:Content-Type:Date:From:To:Cc:Subject:In-Reply-To: References:Message-ID; b=H2cuROceRoBhngD4BBj4UuVY3bHsZWCWz6py8kTsIU1KLWaHtONl4lyvY5EMM6GyGBe5dS9/iosrohxu8R2D2od4XhrAJp9TbkmNVkNMzLtWK6gKMxvsUQlGkwI9j5kVptQebgAxImoDAwqxJtipxe9RS9KFVMuEjZJpUs4x+04= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=risingedge.co.za; spf=pass smtp.mailfrom=risingedge.co.za; dkim=pass (2048-bit key) header.d=risingedge.co.za header.i=@risingedge.co.za header.b=sY7Rkw/F; arc=none smtp.client-ip=188.40.0.77 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=risingedge.co.za Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=risingedge.co.za DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=risingedge.co.za; s=xneelo; h=Message-ID:References:In-Reply-To:Subject:Cc: To:From:Date:Content-Transfer-Encoding:Content-Type:MIME-Version:reply-to: sender:bcc; bh=jx4TBzhJx8K0HvNhESnsvKGKLNHd0Z0vKd6OX1rMKEI=; b=sY7Rkw/FxJTKWN gxlO2Csb8PtIDcCN/Q4iDvDWTPplaYQ/MeYmkak63jFzRTztW8h4UnayTRwFxzAStzWlqAmeOtMDQ QufwsGhMfft87vkrlAxhYTmVzVjDJ6y6710JwmhDXg2/seWo5QuPhXa30t9SeeozSkmU5oFD9fWzi 7mN5gCp1q3eBeQ2qAc7smlDlgQ/ktMNoW8LXcFSHk86PmPElKA93+tMWopEw7Fqvf6UGG8ftG5OVK PYfg3MbUC0+7PfP7iAmXAfq9V152J/mi310QUsJkIqQUCsGrTANFr8bpGAaqhYrz/IEWxQhVcw0kI eFYAPzV/wxewf97uUs8Q==; Received: from www31.flk1.host-h.net ([188.40.1.173]) by antispam2-flk1.host-h.net with esmtpsa (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1riFSU-001cWl-RA; Thu, 07 Mar 2024 17:15:02 +0200 Received: from roundcubeweb1.flk1.host-h.net ([138.201.244.33] helo=webmail9.konsoleh.co.za) by www31.flk1.host-h.net with esmtpa (Exim 4.92) (envelope-from ) id 1riFST-0002Zf-BT; Thu, 07 Mar 2024 17:14:57 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Thu, 07 Mar 2024 17:14:57 +0200 From: Justin Swartz To: Sergio Paracuellos Cc: =?UTF-8?Q?Ar=C4=B1n=C3=A7_=C3=9CNAL?= , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Thomas Bogendoerfer , Matthias Brugger , AngeloGioacchino Del Regno , linux-mips@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: Re: [PATCH 2/2] mips: dts: ralink: mt7621: add serial1 and serial2 nodes In-Reply-To: References: <20240306201045.1475-1-justin.swartz@risingedge.co.za> <20240306201045.1475-2-justin.swartz@risingedge.co.za> Message-ID: <13e3063facfea3407dba23b74b0a56db@risingedge.co.za> X-Sender: justin.swartz@risingedge.co.za User-Agent: Roundcube Webmail/1.3.17 X-Authenticated-Sender: justin.swartz@risingedge.co.za X-Virus-Scanned: Clear X-SpamExperts-Domain: risingedge.co.za X-SpamExperts-Username: Authentication-Results: host-h.net; auth=pass (login) smtp.auth=@risingedge.co.za X-SpamExperts-Outgoing-Class: ham X-SpamExperts-Outgoing-Evidence: SB/global_tokens (0.00421987309364) X-Recommended-Action: accept X-Filter-ID: Pt3MvcO5N4iKaDQ5O6lkdGlMVN6RH8bjRMzItlySaT+YJ0azQP9ouHAv4lOsgnc5PUtbdvnXkggZ 3YnVId/Y5jcf0yeVQAvfjHznO7+bT5wCPRB8bAzJcv2cv+UqiTTc2+CpNcmBnO4XM3Sck4bwNogU WCl1nkLBzZX0KuJ9bXiS85Z42w/+2OBolTNFbPomXFWCX8oNdggW7HE9XDTdSejrkEpbuUvwMvHx 3T+KSG//gbuP7hnUK8NQdLwsV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G8LAkbJoO2tY/Mg5ClXd30oBm8U++ JlmpaolH3tK93iPfP98wGFbAohdBavKJPKk6p1wUrYGZdaoTwlx9fA78Kt3ezXLYM3A6BXfvel8O EFDbU51Q2S43vcWL3lM20b9wQESc+PquLiZOpxiedGbqX4nzL9MgCv99rrli2UQdOGeuQqV2IVXB o/3R5VqqcOmERbjE+D5FzT0EaduWMjGSdmMR5Ch1HY0a4RW7JP9zvdSGB9tIDxuFtg36jUhUk8/b P2/Mw1j9lmNQqiIAMR1SEszVdPY4ocfmWv3Fe9Iziczdq+A= X-Report-Abuse-To: spam@antispamquarantine.host-h.net Hi Sergio On 2024-03-07 12:04, Sergio Paracuellos wrote: > Hi Justin, > > On Wed, Mar 6, 2024 at 9:11 PM Justin Swartz > wrote: >> >> Add serial1 and serial2 nodes to define the existence of >> UART1 and UART2. >> >> Signed-off-by: Justin Swartz >> --- >> arch/mips/boot/dts/ralink/mt7621.dtsi | 38 >> +++++++++++++++++++++++++++ >> 1 file changed, 38 insertions(+) >> >> diff --git a/arch/mips/boot/dts/ralink/mt7621.dtsi >> b/arch/mips/boot/dts/ralink/mt7621.dtsi >> index dca415fdd..2069249c8 100644 >> --- a/arch/mips/boot/dts/ralink/mt7621.dtsi >> +++ b/arch/mips/boot/dts/ralink/mt7621.dtsi >> @@ -128,6 +128,44 @@ serial0: serial@c00 { >> pinctrl-0 = <&uart1_pins>; >> }; >> >> + serial1: serial@d00 { >> + status = "disabled"; >> + >> + compatible = "ns16550a"; >> + reg = <0xd00 0x100>; >> + >> + clocks = <&sysc MT7621_CLK_UART2>; >> + >> + interrupt-parent = <&gic>; >> + interrupts = > IRQ_TYPE_LEVEL_HIGH>; >> + >> + reg-shift = <2>; >> + reg-io-width = <4>; >> + no-loopback-test; >> + >> + pinctrl-names = "default"; >> + pinctrl-0 = <&uart2_pins>; >> + }; >> + >> + serial2: serial@e00 { >> + status = "disabled"; >> + >> + compatible = "ns16550a"; >> + reg = <0xe00 0x100>; >> + >> + clocks = <&sysc MT7621_CLK_UART3>; >> + >> + interrupt-parent = <&gic>; >> + interrupts = > IRQ_TYPE_LEVEL_HIGH>; >> + >> + reg-shift = <2>; >> + reg-io-width = <4>; >> + no-loopback-test; >> + >> + pinctrl-names = "default"; >> + pinctrl-0 = <&uart3_pins>; >> + }; >> + > > Please follow the preferred order for properties described in dts > coding style [0]. I know that there is some mess around the properties > order in some nodes with the current dtsi file but we did not have > coding style before and now we have it, so I think we should follow it > at least for new additions. No problem. I see you've already "Acked-by" patch 1 (adding pinctrl properties to serial0) of this set, so would it be a better move to submit a new patch set that would look something like: 1. add pinctrl-name and pinctrl-0 to serial0 [no changes from what I sent] 2. reorder serial0 properties according to the DTS style guidelines 3. add serial1 and serial2 with the correct property order Or instead, submit one more patch that will reorder the properties in serial0, serial1 and serial2 - which would depend on the current set? > Best regards, > Sergio Paracuellos Regards Justin > [0]: https://docs.kernel.org/devicetree/bindings/dts-coding-style.html