Message ID | 20240131-mbly-clk-v4-16-bcd00510d6a0@bootlin.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-46802-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2087:b0:106:209c:c626 with SMTP id gs7csp2008322dyb; Wed, 31 Jan 2024 08:32:09 -0800 (PST) X-Google-Smtp-Source: AGHT+IHP6OLMYYb3CwRwSi5l8AxZaEZfSvrpll2nIayBxAZehIGTVr98rRtXbua2kDzewam443zo X-Received: by 2002:a05:622a:1007:b0:42a:a930:ab4d with SMTP id d7-20020a05622a100700b0042aa930ab4dmr2443519qte.35.1706718728812; Wed, 31 Jan 2024 08:32:08 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706718728; cv=pass; d=google.com; s=arc-20160816; b=PR/tK6q8YH2TlXi3iQi96wsygUMc0sV3t+IviUp6+5YMuCQIpzGj0MU69APVcFycYr B+YgX1j/Tsjxqp985blyV3KnS22NPtE+FXTwQNVvotwlI94AxqcnJruYR31HUrsRmWdd upyLt/etTQJFr5gQHqcXhOYMQzMVUHPAi39kc8amxj+Zo7+S8aiWQ2QJLg+BHSDXDE7P G0cItQ0fKi48rOuLPdxPGH4b2aLTLZPVsVUaXWoxJ2QdUGaEI5rAID1z1m0XovhTuZZr PecNITwa1RlWtr+L07VuuuwJlAgi5z7P3gR0Uqu16cW6udUWgJpQjapfPdUFHWAX6fqH aOeA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=JJeokSopmVKcL3uXVtWha5+P5NH0m5rgY0PH8CJYzgU=; fh=W7chTc71HS21hiGNMegBkwUoj0v7V5dS8lNoq2sevDA=; b=nN2I81hS+tOgH+I10CufkJr8RLzYUAHJi+IVTVr58ghM3+ATI8vc7gACZSaH1A1D8V tzekxIRS9PyMAUoHHDxcSicya8RAR1UG29wBJjTucSmhaS0g5GuEljBe+3GiFv/2NObp OJkMT/7Z3oj5k2VqMZetH6z9uQkFiZtGHZQBxlS9y+jePXhLwXZeQtRk8a5fTQSb4G5G 3a59zMusmUBeEMe8NrLn8iwkdmhbKy7HpF7o+znI/vgPbV4pphIFNwiPGQorZtsUAXzM 5X0sUBHFyGDcAJo8zaHLBSHBQBbFD6hI7o3dDX8+FvBxZK0tRipKWK7Mqwet1F0mfxh2 255A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=Es78e1Ie; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-46802-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-46802-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com X-Forwarded-Encrypted: i=1; AJvYcCXceReLGeddKK21I9A16GMybe9/GUYDSB0GVQ8cnNpKgiYfS2JHSekN5tRclPtEn8SEFQWiEhormRs2F04FLAvZ1J2w1g== Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id f15-20020ac859cf000000b0042bda7739e8si3128796qtf.588.2024.01.31.08.32.08 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Jan 2024 08:32:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-46802-ouuuleilei=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=@bootlin.com header.s=gm1 header.b=Es78e1Ie; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-46802-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-46802-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 983581C21F47 for <ouuuleilei@gmail.com>; Wed, 31 Jan 2024 16:32:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3689613E23B; Wed, 31 Jan 2024 16:27:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="Es78e1Ie" Received: from relay2-d.mail.gandi.net (relay2-d.mail.gandi.net [217.70.183.194]) (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 4D7991386A8; Wed, 31 Jan 2024 16:27:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.194 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706718448; cv=none; b=mnLVjC19H8qReeFMu1PsusQHK07Xo6M0Cbas7cP8EP8khClpTs/4YQc55KjFXI93RKLCo7ki2EC9rR6LofydEwGWDiL0L+Hm2hysmtogPwfBKbHc6m/3SNvTcQuHgTDq/YF0M7jjgD+My1Y9gXa8ptbVs/h4uVi8mTnB/dGifLg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706718448; c=relaxed/simple; bh=oGVuFQH2Vpt7KWBJelUxk+aICBl1NUF8Jkkl7r/J8tA=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=rQS3gPT9oH8yXrNzqr/v6YI7v1DGjCvhRGnjEKE0WhfyTSQh11uWBkLUqoTjb4bk4S8RpIJTU4zaiQnRj66pWY+u9858Msmp75osnW3n7cCTL8MqMNkBSFodypW7NwFlAiDu+aGZ+vGZa+foHGpxOHlzmM4yW9E3AVAukfSP7fo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=Es78e1Ie; arc=none smtp.client-ip=217.70.183.194 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Received: by mail.gandi.net (Postfix) with ESMTPSA id C549340006; Wed, 31 Jan 2024 16:27:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1706718443; 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=JJeokSopmVKcL3uXVtWha5+P5NH0m5rgY0PH8CJYzgU=; b=Es78e1IesRvttlYt6VTqSYHuXGdy6TdFkNT3WJvGaOrJvm9Q8VM9leRnIXHHRovC1rNo3V 0y6Ua0Tbl6gywXHUYmw/jgeY9WqhI0JnKvuYm5ItsMuQgOJBGx2A7uIn7566z4lXiG+PwK JIht0t8kcUOrWWdcTXsXkmnFCwfKa/+KBQ9sxO5S1RM7wAnFCzCYhEBkWbCqOimECKWLlg BivgPg7TbzZVI/XZFFNiSmdKIMKvq5eHTUt4AXe4Y0n38bwMMrcQ0VI8U9gdPzFnyvBhwZ B+phJc1ZiAl/IjXy9dey/O5fUYOLNTY1VKcKgQx+XMWI8j6j9ZsQ8R1x98RPuA== From: =?utf-8?q?Th=C3=A9o_Lebrun?= <theo.lebrun@bootlin.com> Date: Wed, 31 Jan 2024 17:26:29 +0100 Subject: [PATCH v4 16/18] MIPS: mobileye: eyeq5: add reset properties to UARTs Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Message-Id: <20240131-mbly-clk-v4-16-bcd00510d6a0@bootlin.com> References: <20240131-mbly-clk-v4-0-bcd00510d6a0@bootlin.com> In-Reply-To: <20240131-mbly-clk-v4-0-bcd00510d6a0@bootlin.com> To: Gregory CLEMENT <gregory.clement@bootlin.com>, Michael Turquette <mturquette@baylibre.com>, Stephen Boyd <sboyd@kernel.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Thomas Bogendoerfer <tsbogend@alpha.franken.de>, Linus Walleij <linus.walleij@linaro.org>, =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= <rafal@milecki.pl>, Philipp Zabel <p.zabel@pengutronix.de> Cc: Vladimir Kondratiev <vladimir.kondratiev@mobileye.com>, linux-mips@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Thomas Petazzoni <thomas.petazzoni@bootlin.com>, Tawfik Bayouk <tawfik.bayouk@mobileye.com>, linux-gpio@vger.kernel.org, =?utf-8?q?Th=C3=A9o_Lebrun?= <theo.lebrun@bootlin.com> X-Mailer: b4 0.12.4 X-GND-Sasl: theo.lebrun@bootlin.com X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789624297778373695 X-GMAIL-MSGID: 1789624297778373695 |
Series |
Add support for Mobileye EyeQ5 system controller
|
|
Commit Message
Théo Lebrun
Jan. 31, 2024, 4:26 p.m. UTC
UART nodes have been added to the devicetree by the initial platform
support patch series. Add reset properties now that the reset node is
declared.
Signed-off-by: Théo Lebrun <theo.lebrun@bootlin.com>
---
arch/mips/boot/dts/mobileye/eyeq5.dtsi | 3 +++
1 file changed, 3 insertions(+)
Comments
On 31/01/2024 17:26, Théo Lebrun wrote: > UART nodes have been added to the devicetree by the initial platform > support patch series. Add reset properties now that the reset node is > declared. > > Signed-off-by: Théo Lebrun <theo.lebrun@bootlin.com> > --- > arch/mips/boot/dts/mobileye/eyeq5.dtsi | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/arch/mips/boot/dts/mobileye/eyeq5.dtsi b/arch/mips/boot/dts/mobileye/eyeq5.dtsi > index 06e941b0ce10..ece71cafb6ee 100644 > --- a/arch/mips/boot/dts/mobileye/eyeq5.dtsi > +++ b/arch/mips/boot/dts/mobileye/eyeq5.dtsi > @@ -78,6 +78,7 @@ uart0: serial@800000 { > interrupts = <GIC_SHARED 6 IRQ_TYPE_LEVEL_HIGH>; > clocks = <&uart_clk>, <&occ_periph>; > clock-names = "uartclk", "apb_pclk"; > + resets = <&reset 0 10>; You touch the same file. Squash the patch with previous one. It's the same logical change to add reset to entire SoC. You don't add half of reset, right? Best regards, Krzysztof
Hello, On Thu Feb 1, 2024 at 10:13 AM CET, Krzysztof Kozlowski wrote: > On 31/01/2024 17:26, Théo Lebrun wrote: > > UART nodes have been added to the devicetree by the initial platform > > support patch series. Add reset properties now that the reset node is > > declared. > > > > Signed-off-by: Théo Lebrun <theo.lebrun@bootlin.com> > > --- > > arch/mips/boot/dts/mobileye/eyeq5.dtsi | 3 +++ > > 1 file changed, 3 insertions(+) > > > > diff --git a/arch/mips/boot/dts/mobileye/eyeq5.dtsi b/arch/mips/boot/dts/mobileye/eyeq5.dtsi > > index 06e941b0ce10..ece71cafb6ee 100644 > > --- a/arch/mips/boot/dts/mobileye/eyeq5.dtsi > > +++ b/arch/mips/boot/dts/mobileye/eyeq5.dtsi > > @@ -78,6 +78,7 @@ uart0: serial@800000 { > > interrupts = <GIC_SHARED 6 IRQ_TYPE_LEVEL_HIGH>; > > clocks = <&uart_clk>, <&occ_periph>; > > clock-names = "uartclk", "apb_pclk"; > > + resets = <&reset 0 10>; > > You touch the same file. Squash the patch with previous one. It's the > same logical change to add reset to entire SoC. You don't add half of > reset, right? Makes sense. I'll update the commit message with that change. Thanks, -- Théo Lebrun, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
diff --git a/arch/mips/boot/dts/mobileye/eyeq5.dtsi b/arch/mips/boot/dts/mobileye/eyeq5.dtsi index 06e941b0ce10..ece71cafb6ee 100644 --- a/arch/mips/boot/dts/mobileye/eyeq5.dtsi +++ b/arch/mips/boot/dts/mobileye/eyeq5.dtsi @@ -78,6 +78,7 @@ uart0: serial@800000 { interrupts = <GIC_SHARED 6 IRQ_TYPE_LEVEL_HIGH>; clocks = <&uart_clk>, <&occ_periph>; clock-names = "uartclk", "apb_pclk"; + resets = <&reset 0 10>; }; uart1: serial@900000 { @@ -88,6 +89,7 @@ uart1: serial@900000 { interrupts = <GIC_SHARED 6 IRQ_TYPE_LEVEL_HIGH>; clocks = <&uart_clk>, <&occ_periph>; clock-names = "uartclk", "apb_pclk"; + resets = <&reset 0 11>; }; uart2: serial@a00000 { @@ -98,6 +100,7 @@ uart2: serial@a00000 { interrupts = <GIC_SHARED 6 IRQ_TYPE_LEVEL_HIGH>; clocks = <&uart_clk>, <&occ_periph>; clock-names = "uartclk", "apb_pclk"; + resets = <&reset 0 12>; }; olb: system-controller@e00000 {