Received: by 2002:ab2:788f:0:b0:1ee:8f2e:70ae with SMTP id b15csp453853lqi; Thu, 7 Mar 2024 02:09:26 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVAP888kb45ofR7kdilz86WUIDXP3GG3AknyuzU4g6XdpXnFzDvhX9PR2hDu/BabtowwI02mAd4ncQARPp3T7zHiUdwv/tuiXz3ko0dfw== X-Google-Smtp-Source: AGHT+IGWFqXKa62tsRW3behfaccE/yKxBzjBWML507PuGO7HTM9d/DkTDeowRYRv16tn8kYrZD7y X-Received: by 2002:a05:6870:eca2:b0:220:e633:839e with SMTP id eo34-20020a056870eca200b00220e633839emr7874346oab.18.1709806165905; Thu, 07 Mar 2024 02:09:25 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709806165; cv=pass; d=google.com; s=arc-20160816; b=Obsgiy5++LwDm/LcqoLNyIONhTin+d6lmrqb4CQJ7fPr5WASWi0yEsM0T57VRUpIGo BH7/g6uSocNi/6pJ/4Sv4sC1vldiyOMhOMcLgHqMY6XahxZJI8re8DAq79CRtZWQUl9A CbaugLKwQLubyvLAEXrRX71QFpuF05vKVKBvA4nIVATrt1zejfyViP+h4rdKRf1k/GR/ hck+DnX+jCHLOHxsXCtl8mU8GSyiiM2HvBQdkekNlHGFNVkHoQBRq73nSfjgBo/1ZPWJ v/M6rLjLGhujF4asNiOHvCwEx37AvS7lZNk/eseanNK/GfkUDSgwzvLnJHV6EOdgTu05 Bv7g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=xx95w56RGEnqgt7Xz0ZlhIHC5BxWGFuvJi0FDnmldPs=; fh=3J+03Q8hDL5WLgoN9Qmg6pfkJKWJDjXvVOUN8NdOlao=; b=JwuT6ElU/E4E5DEXwHYKq+3NqwWL+YiG7NaYZ9Ei6KhMXqEfTXS7qakK0DA2YbWHnm coEji7wbnKFzMj2uVCa2ndp1Z1tx9CX6LwMQA63k63S/GYXFtTd3WB4YJpZHKSv4Ml1e P6hdKjpCy40ZjjufTWYQsoFEJI44T27MQknCXnbZFg2BDGL5BMyCDPKzaezNOQvEcfyz ssvPCQTO4WkGc9AIjkcxZhFbyjxOoeKxyhbr//i6bx7S2i+JLasMQZ1uCQKuGfkfEje1 VK1fHZ3bIgba5re5/CS4v1SrmMMex3I7sfVKIqqNZcrpT5HfXfKjgLyJNMqQYxobf6fv XEKA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=X5OjH+qj; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-95298-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-95298-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id g2-20020a056a000b8200b006e5fb3fcaf0si8871436pfj.179.2024.03.07.02.09.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Mar 2024 02:09:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-95298-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=X5OjH+qj; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-95298-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-95298-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 79301286E88 for ; Thu, 7 Mar 2024 10:08:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D8AAB8626A; Thu, 7 Mar 2024 10:04:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="X5OjH+qj" Received: from mail-ot1-f48.google.com (mail-ot1-f48.google.com [209.85.210.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8743483CAE; Thu, 7 Mar 2024 10:04:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.48 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709805886; cv=none; b=i9GxfsQoUxq0SYKF8QuREdkiHkZlkYAz7xR2+xhi13SG0vjjM8lFRFXtiBRUzeBBR26QrfqA41aI7Ec5OIXa5JMosapu82D5d0MIwEbw/qS2ybrat+bNd2hD98ZHhfI2OuA2g+soha0UC2kFxB0wgPKGUofPApBZ4I1+u3C8qqs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709805886; c=relaxed/simple; bh=WFjNa3nUa2rzuGy55gpq6ZUiWUDbWKyxNSUl2tjShI0=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=N5yKbwTiPA15fTEmc8tz+IzXDofp6CRS5QQcf91LK1sebkY6chunjVXJ9/WC6HFpz1VnyXe5OvX5DHjaUmGmqKAt8DwSwPxadsArnSKEyfQGdscwA5T3YgNeMaya0QYwYeO4BMt8Ktaki3998fKvrIBlEF2jv54CxKnh9Rp9Y90= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=X5OjH+qj; arc=none smtp.client-ip=209.85.210.48 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ot1-f48.google.com with SMTP id 46e09a7af769-6e4f7c0e723so287083a34.3; Thu, 07 Mar 2024 02:04:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709805883; x=1710410683; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=xx95w56RGEnqgt7Xz0ZlhIHC5BxWGFuvJi0FDnmldPs=; b=X5OjH+qj48KqrUjGuJGbc/nPmvb54TweHsuY1oRqkGHjsYkcoQ+jAsViqRFs6Fi1EK HzpruZbBBvxegeDvg9+2rBbV+9MgdQ5NRnb7Ix50TPOUPSS9T8Q9kZbdeY7F434dYBta V0Pp6gwQ1PPvju82ZEuCY9bpXfUHzNCoIAfG9Bv5Gr0IDt8MQ7TD3i2oUsi57MSjqi5q bBaW3/NrFHAdHlzMawHYs7H14bJq/lBrEWC/5waIabuETTWqzgXmrvx7+yDw9/AYXpSz NYIZGHkC1czwuGUB8Uaoo/3mg6LNwfekey+eJfPjTaN4N7q46N4B9yY2feTDGRaZmC8k qwaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709805883; x=1710410683; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=xx95w56RGEnqgt7Xz0ZlhIHC5BxWGFuvJi0FDnmldPs=; b=PN8oalcxHhHlX/SPBDS1ZLCrpcCpy8lETGQXtsfS+N1YxYDGOJT0bHuBfX4+2uKoXQ JgPXPohrMROkhbuwzvRwj/XPz82F/BdoTnpD9eAPzT3VSgIyCPb4Pgou6FujaOOw7ZAi WgIv2WxmiyLMiPlpBCOxAGzz5d6zCu/ig6h38FklJSEA+9M0PSvncFPPZ72aBxbAKJvb 9Frfav0kUi4s3VeCJpFlqe0BWiyXJa+RMnP9QOjiJpuB9uovR379i8Ild9Bs9sELqMP3 nqrC0uoGdaobZIROgoYblC4i9NzN/Howi2tDPnv5+wuCU2U0fsyp5oM8jYpoVoBJrLv3 5WIg== X-Forwarded-Encrypted: i=1; AJvYcCUjTNE2MFk/OW6h7PTu0PDSe+lib4bSCRZ5K/PYbeRHqlPJzQCwYlFBE04dNwxieGGn2rjskXifu6nOgQQuSemDgGbglronm0b2S+J5U28cjrictwg2Myrvw05P9IF0u+EW/pR/AMYE8pjinGOadtqOg/UZRgwYS6E2JrpKzrB8xZmIRN8= X-Gm-Message-State: AOJu0Yw9v8zuJyz/BslNMc8R2Ru9F18gV9OGEAdsPrQX9Z5MpyaBBYzO Hum/iBOUjU5d9TdGC06PYyqimr33bdIGQMdD1irDYhP8BCh4KXAli21EPx7hW5FhVNnKT892dRR yzczFTNyyOeW5w25KoD3LIIab1tU= X-Received: by 2002:a05:6870:1c7:b0:220:cf76:a9b7 with SMTP id n7-20020a05687001c700b00220cf76a9b7mr8692531oad.44.1709805883490; Thu, 07 Mar 2024 02:04:43 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240306201045.1475-1-justin.swartz@risingedge.co.za> <20240306201045.1475-2-justin.swartz@risingedge.co.za> In-Reply-To: <20240306201045.1475-2-justin.swartz@risingedge.co.za> From: Sergio Paracuellos Date: Thu, 7 Mar 2024 11:04:31 +0100 Message-ID: Subject: Re: [PATCH 2/2] mips: dts: ralink: mt7621: add serial1 and serial2 nodes To: Justin Swartz Cc: =?UTF-8?B?QXLEsW7DpyDDnE5BTA==?= , 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 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Justin, On Wed, Mar 6, 2024 at 9:11=E2=80=AFPM 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/r= alink/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 =3D <&uart1_pins>; > }; > > + serial1: serial@d00 { > + status =3D "disabled"; > + > + compatible =3D "ns16550a"; > + reg =3D <0xd00 0x100>; > + > + clocks =3D <&sysc MT7621_CLK_UART2>; > + > + interrupt-parent =3D <&gic>; > + interrupts =3D ; > + > + reg-shift =3D <2>; > + reg-io-width =3D <4>; > + no-loopback-test; > + > + pinctrl-names =3D "default"; > + pinctrl-0 =3D <&uart2_pins>; > + }; > + > + serial2: serial@e00 { > + status =3D "disabled"; > + > + compatible =3D "ns16550a"; > + reg =3D <0xe00 0x100>; > + > + clocks =3D <&sysc MT7621_CLK_UART3>; > + > + interrupt-parent =3D <&gic>; > + interrupts =3D ; > + > + reg-shift =3D <2>; > + reg-io-width =3D <4>; > + no-loopback-test; > + > + pinctrl-names =3D "default"; > + pinctrl-0 =3D <&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. Best regards, Sergio Paracuellos [0]: https://docs.kernel.org/devicetree/bindings/dts-coding-style.html