Received: by 2002:ab2:4a89:0:b0:1f4:a8b6:6e69 with SMTP id w9csp298691lqj; Wed, 10 Apr 2024 10:42:05 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV4jqIkxwZVCeIaDK4hSTyuEO5i+vJf67iwzIyApdUmGe+JvZk1XTrdwCSO6Q4bX0HE0c948qaA++mrT8+PCcdG/KcqJlrcWgeMYQoidw== X-Google-Smtp-Source: AGHT+IEGNO6Wai4ompT74FqgRvmBk4w0wBQdLfLNSbIvJWDHQ5z/VVQPa8T2jyDCGDq+ytOHlWSN X-Received: by 2002:a05:6a20:6a20:b0:1a8:f807:a67a with SMTP id p32-20020a056a206a2000b001a8f807a67amr4389943pzk.1.1712770925350; Wed, 10 Apr 2024 10:42:05 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712770925; cv=pass; d=google.com; s=arc-20160816; b=RsQ2KTX+xrFnHLb/8g9VMn5dXfGcKRUceqQa/h/Rp4wBa0v70Vz28MafDpvaE+wp6N D4Fxoqje48D9mG2bAlW54rAqKrwiuIsorPqLIpRZI9gTl6nxJokvg49SOenPkf8zarW5 7thD7lPf9N6iVBRc10ugiWUISjqoH8FfHImLLdkzTH/oWW9YPok0Rfl41AYUm4BsEoUE nqBUa1u/UDAOvdrjIU+MI8AXq9JgQC0OLYDMSBqby9CrOBPOIiya8pSljvMh8FRHkOAG 3k8PDMic95yrbmyhDCHJ1NscbOt+9JU3z9bsELWHjrdnvw4eVL0qMb6KWqsrjjyUewLg lezA== 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=PWM4le1lg+zZj5aG6IIDSjSmOtDGbtS+zl6wlgbWlYY=; fh=Eu5L3sgz86Kzl6IEDyftC4XW3Fl29ynD4qAZm1Qpja4=; b=qYrZIPpNbeXaDEAKQlaYTdSgkiut1qnHRvbLNBErS31dEICLEgq1IrbDc8a/N4/D+L abcvQ9oL8SHlRovcaSo9kHia2O+EDylTB9T4lQdaiQfp3/DODV4jTujY1iS9uD1AiKbI TLJp7+BUY8UlDkINYM/+x28USyqDcNcqBqSOFCL5dp/s67o3h/Ug5fpVFLCKVGI77QXa Hn7V9hTK6Q3xBkjq6DnEoWiC2P+NvHAtaTf/8l3pi04L9WfpSfTM+2d/J00F7pDy9Q/7 3gZi84ncvuIJPtyzxMQbg6xiwpgbtZzvdeZw4IpT6kma+00QwZJ/wcbGITYaGFvccisx qBzw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=F0we+2Nu; 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-139063-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-139063-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id c14-20020a631c4e000000b005f3c4e81038si10945977pgm.721.2024.04.10.10.42.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Apr 2024 10:42:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-139063-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=@bootlin.com header.s=gm1 header.b=F0we+2Nu; 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-139063-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-139063-linux.lists.archive=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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 7E3D6B312AF for ; Wed, 10 Apr 2024 17:15:59 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 98FB217BB20; Wed, 10 Apr 2024 17:12:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="F0we+2Nu" Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [217.70.183.197]) (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 5C87417BB2F; Wed, 10 Apr 2024 17:12:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.197 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712769166; cv=none; b=B72xwCGXDvciG+AEC2383yXIgsLc24NoNIbO4gW2M642B/s3Cbchlf665FCNxWsgaDbdVPAGakVi+sFntNopebCav13YHyZ2IUv6Fo3DnIyVImllQh8DCqqpOnTSIRVxFzObgyGWyXU+625uc1t9s+FAfbuOeekinuNTQw44f34= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712769166; c=relaxed/simple; bh=iYXkDLoD8tDRrp2wziiqK4v0tn/tz7yfQG4GHparyXk=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=h2OXSHfUNFJO4BPfsswKVx25PHtFhZTMav++ECouMbPoDUwpwaO1cembLf313akq7QbSrsoP077D+HBlSuINjGwkGLgZHvzM/2LMt2BEjBp2zxnCY+iA1BfbEO7TZZIzXeDXFTMwQKAvoTb12VESWg1WtxRFUHCZLIGOKmJ/7JY= 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=F0we+2Nu; arc=none smtp.client-ip=217.70.183.197 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 E2AD31C0002; Wed, 10 Apr 2024 17:12:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1712769160; 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=PWM4le1lg+zZj5aG6IIDSjSmOtDGbtS+zl6wlgbWlYY=; b=F0we+2Nuahdvvbrm+10soAPPj5HBUwnbQ8lkPeCBfl9Isv6zFPaN8Ts4CHzfrWc65IU96g 3t9gMyZJxwF8+sbXDbFR5YAtMOoYW8FK7r8PjOtfte+FmxSodzVXDxGkq/TjgWqby9muT8 ptyM/zN5+D9bz/MMkp6nYYfX2jrjhpTOGC7bNYm7fWE2uAMHw3Ykx/8/XHxEpOx/dkR9pS P2aUkgLnZ9vAHVLxLyG64T2leax+bFiAFoKC6CZOEI49590kttqCcy2+KfbtnSmSgUkVaQ DFIc/Y51QsYkKKK5sibsZvGknXqKxVW5XW9fS9y4RCLyqId+3M+8W3o7CnXeYQ== From: =?utf-8?q?Th=C3=A9o_Lebrun?= Date: Wed, 10 Apr 2024 19:12:39 +0200 Subject: [PATCH 10/11] MIPS: mobileye: eyeq5: add OLB reset controller node 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" Content-Transfer-Encoding: 8bit Message-Id: <20240410-mbly-olb-v1-10-335e496d7be3@bootlin.com> References: <20240410-mbly-olb-v1-0-335e496d7be3@bootlin.com> In-Reply-To: <20240410-mbly-olb-v1-0-335e496d7be3@bootlin.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Michael Turquette , Stephen Boyd , Philipp Zabel , Linus Walleij Cc: linux-mips@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-gpio@vger.kernel.org, Vladimir Kondratiev , Gregory CLEMENT , Thomas Petazzoni , Tawfik Bayouk , =?utf-8?q?Th=C3=A9o_Lebrun?= X-Mailer: b4 0.13.0 X-GND-Sasl: theo.lebrun@bootlin.com Add devicetree node for the reset controller on Mobileye EyeQ5. It appears as a subnode to the OLB syscon as its registers are located in this shared register region. Signed-off-by: Théo Lebrun --- arch/mips/boot/dts/mobileye/eyeq5.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/mips/boot/dts/mobileye/eyeq5.dtsi b/arch/mips/boot/dts/mobileye/eyeq5.dtsi index 1a65b43e13b1..76935f237ab5 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 = ; 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 = ; 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 = ; clocks = <&uart_clk>, <&occ_periph>; clock-names = "uartclk", "apb_pclk"; + resets = <&reset 0 12>; }; olb: system-controller@e00000 { @@ -107,6 +110,13 @@ olb: system-controller@e00000 { #address-cells = <1>; #size-cells = <1>; + reset: reset-controller@e00000 { + compatible = "mobileye,eyeq5-reset"; + reg = <0x000 0x0c>, <0x200 0x34>, <0x120 0x04>; + reg-names = "d0", "d1", "d2"; + #reset-cells = <2>; + }; + clocks: clock-controller@e0002c { compatible = "mobileye,eyeq5-clk"; reg = <0x02c 0x50>, <0x11c 0x04>; -- 2.44.0