Received: by 2002:ab2:3319:0:b0:1ef:7a0f:c32d with SMTP id i25csp467883lqc; Fri, 8 Mar 2024 02:58:08 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVS8CgK89O27QoYTvsWsAgCow4mF2uf9oM90IK292no2NyHKX7/ir6fapBO69PZ1ytKD37LB903WTkldZlW36Mj+SudfDtpIet170VDrg== X-Google-Smtp-Source: AGHT+IE5SM+FmxZQ20Xu7PRL/zc4HemMx0CpmbkdqNQzgYsvZIXa383N04cRcXRyHeeydNZnLSvY X-Received: by 2002:a05:6a20:4c05:b0:1a1:3f5a:cb32 with SMTP id fm5-20020a056a204c0500b001a13f5acb32mr8454090pzb.48.1709895488474; Fri, 08 Mar 2024 02:58:08 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709895488; cv=pass; d=google.com; s=arc-20160816; b=vL7NP8+gQYTNV9FohCo/zv+ztSX2htSN7SAfFS73eRgGaUJwYtEdyqa+J1HTburERl 0Ujo/CmGN+1tjCX6UvP2T0DntVIZpfakA8Xw9pS8K3xdUERrg6PB3zeW/F0b+pbGo2le OeHTJpjWhC55TwqP/xXlU2a5sQ5olkDvf6ZsVlnboY5tmsHLeqDNS3Cmfgy2U88HmiZI wH1ht1v/k0n45xJPTZeB5MpuD9xZ1jcIyRKSLuIuOXmynL7S1R2Jz0tRs5ShqTPStVdi xCF8dGnL2cYr6s4gEva8iCy61IHROn7jCaxmTvK2wEXl+AGwSfh+VASasF0XCc1NN5+J Heaw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=FAw+Jiw7p+B61UXDy8G+fuIZSzLjdiTqt3xioTIben4=; fh=0af8zixpaavIycXKGbWmtO5agFphRYXWtwJJKIOdKao=; b=hnVJNW3trBZSw2+0epwfdS82ln74nt+K3hMYv52EUNyuSqjiEq6Y3g+2uCU9TwggyL nnr4X0DhK7PCQH2e+jWQ91bHk/T7+hPaFOjfUvtHpAFNsBQSqecwNV0QpVUMa12hay7Y 1Rm8biCObt0n4P6S2KFgyJ3XmsgSnX7B+CFrRytkGv2xtFeRwaMCpOTBKBtLsjCs0Vqr 4d8bwTV2flR5g1SxWi6CD+FzxJku7mJFLY4avzwICb2FGbCdIDZ1MTnCvefCcfL/VvTN CK2PanqeyPnucJO49loJYGGSjbR5XNkkMoS+lRRCvZMn3DnCU+ptoZ8hGtcLMpu28JCB 51hQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@arinc9.com header.s=gm1 header.b=ZKRh7LPs; arc=pass (i=1 spf=pass spfdomain=arinc9.com dkim=pass dkdomain=arinc9.com dmarc=pass fromdomain=arinc9.com); spf=pass (google.com: domain of linux-kernel+bounces-96876-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-96876-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=arinc9.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id v14-20020a170903238e00b001dbeb95bafbsi15857941plh.575.2024.03.08.02.58.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Mar 2024 02:58:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-96876-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@arinc9.com header.s=gm1 header.b=ZKRh7LPs; arc=pass (i=1 spf=pass spfdomain=arinc9.com dkim=pass dkdomain=arinc9.com dmarc=pass fromdomain=arinc9.com); spf=pass (google.com: domain of linux-kernel+bounces-96876-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-96876-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=arinc9.com 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id B617EB22C21 for ; Fri, 8 Mar 2024 10:56:59 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B006352F91; Fri, 8 Mar 2024 10:56:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=arinc9.com header.i=@arinc9.com header.b="ZKRh7LPs" Received: from relay3-d.mail.gandi.net (relay3-d.mail.gandi.net [217.70.183.195]) (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 13AAF14A82; Fri, 8 Mar 2024 10:56:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.195 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709895410; cv=none; b=hHhdzmpTqXjbiJVMGsyLec42L6/Re+7mKqZkZb36KtewpA3HcL6Z5istlhs9X8+dM+reZBiJG19aQ3kZKLk307dkQL+OSM3TuQId9loF5NetN4yoc2B3SgeUAjk6KwXqgOa8GhoHE4/if6TBNBb4Rb7ahy6PDfuVlwQFo6vMNcA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709895410; c=relaxed/simple; bh=eDfcAFfLtMAlFQpX5YR9ldUyPqNu/0sGMCe5kqrcRug=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=kEMvYftsMnNdjfU9aGI8NC1oS6pBypI8BbzVo9lxdQIchtJe2FEYvgNGpVq7RxIlt9lOqxUInonHBHkABRRUi1SFtkr7JzU/1Aaaoycxe7HMoGHlZhEq4eErUgh+C74314QaPPJDc4TZ6aiMylDxz63or5F1vRee3gOIK8qKGdg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arinc9.com; spf=pass smtp.mailfrom=arinc9.com; dkim=pass (2048-bit key) header.d=arinc9.com header.i=@arinc9.com header.b=ZKRh7LPs; arc=none smtp.client-ip=217.70.183.195 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arinc9.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arinc9.com Received: by mail.gandi.net (Postfix) with ESMTPSA id 56D8260007; Fri, 8 Mar 2024 10:56:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arinc9.com; s=gm1; t=1709895406; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=FAw+Jiw7p+B61UXDy8G+fuIZSzLjdiTqt3xioTIben4=; b=ZKRh7LPs2bNtgyVYQTqeYkjYgvW7RBQ5+YMIvWLIvDz8aufrottZli9Ee2KqTBPg5+EtmB avSkIHL6LDhcQT+DlHLu94zY3CVZgDBM1aT4jEU9NfmKw6208gaTnadJoUBlT5k3khH5Lf PqeH4U/dEaVCVfFsZRAHuP3oxjsfnd0VA58m7y3OXLCFRohw98X1i338I/1u+Ry92C8kRW zvkATcllLMAKFQR5bbca/rJZumSkl5o7XPaEaUgqIVrhf/Vv2uch35TCSOG04KrO6yQ0m6 tCLGnVmQXa6oVJa50i63+fIG0UtyK7BaXLIni8YwM/o7m4cAGTm6sIF9/pZVMA== Message-ID: <0af41707-9d00-4eec-91b0-352f75a89360@arinc9.com> Date: Fri, 8 Mar 2024 13:56:35 +0300 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 3/3] mips: dts: ralink: mt7621: add serial1 and serial2 nodes Content-Language: en-US To: AngeloGioacchino Del Regno , Justin Swartz , Sergio Paracuellos , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Thomas Bogendoerfer , Matthias Brugger Cc: 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 References: <20240307190408.23443-1-justin.swartz@risingedge.co.za> <20240307190408.23443-3-justin.swartz@risingedge.co.za> <221bb898-a98f-4a2d-9301-84a3baefbbc7@collabora.com> From: =?UTF-8?B?QXLEsW7DpyDDnE5BTA==?= In-Reply-To: <221bb898-a98f-4a2d-9301-84a3baefbbc7@collabora.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Flag: yes X-Spam-Level: ************************** X-GND-Spam-Score: 400 X-GND-Status: SPAM X-GND-Sasl: arinc.unal@arinc9.com On 8.03.2024 11:44, AngeloGioacchino Del Regno wrote: > Il 07/03/24 20:04, Justin Swartz ha scritto: >> Add serial1 and serial2 nodes to define the existence of >> the MT7621's second and third UARTs. >> >> Signed-off-by: Justin Swartz >> --- >>   arch/mips/boot/dts/ralink/mt7621.dtsi | 28 +++++++++++++++++++++++++++ >>   1 file changed, 28 insertions(+) >> >> diff --git a/arch/mips/boot/dts/ralink/mt7621.dtsi b/arch/mips/boot/dts/ralink/mt7621.dtsi >> index 3ad4e2343..5a89f0b8c 100644 >> --- a/arch/mips/boot/dts/ralink/mt7621.dtsi >> +++ b/arch/mips/boot/dts/ralink/mt7621.dtsi >> @@ -124,6 +124,34 @@ serial0: serial@c00 { >>               pinctrl-0 = <&uart1_pins>; >>           }; >> +        serial1: serial@d00 { >> +            compatible = "ns16550a"; >> +            reg = <0xd00 0x100>; >> +            reg-io-width = <4>; >> +            reg-shift = <2>; >> +            clocks = <&sysc MT7621_CLK_UART2>; >> +            interrupt-parent = <&gic>; >> +            interrupts = ; >> +            no-loopback-test; >> +            pinctrl-names = "default"; >> +            pinctrl-0 = <&uart2_pins>; > > As already commented on patch [1/3], pin muxing is board specific. Please remove. > > Also, is there any reason why you can't simply use the `interrupts-extended` > property instead of interrupt-parent and interrupts? I'm looking at the documentation [1], it seems to be useful when multiple interrupt parents need to be defined on a node. I'd continue using interrupt-parent and interrupts in this case. [1] https://www.kernel.org/doc/Documentation/devicetree/bindings/interrupt-controller/interrupts.txt Arınç