Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp2460842rdb; Mon, 12 Feb 2024 05:53:30 -0800 (PST) X-Google-Smtp-Source: AGHT+IGiIyLBPtgXQdjgKoZaZzNIwN1bwodKqRY/fWF9clXaS8TCH2eLfqbOYMRbF6g+4rZN7DHl X-Received: by 2002:a1f:6642:0:b0:4c0:703e:766a with SMTP id a63-20020a1f6642000000b004c0703e766amr2932129vkc.14.1707746010243; Mon, 12 Feb 2024 05:53:30 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707746010; cv=pass; d=google.com; s=arc-20160816; b=CeJ/2bgdL0Dj8BViejNitrxV5SwVJnWplMxySQ7nQ0k34zZvPDoN8s133Q/vKZ2mER PqiDjSm5sMNm7NxYpXfwVTLSU5P/ouTjvEEAzxB3tQzicLkVcUcTUKqEDJdhn1jz5yE4 vfZai/8si+LijBhCnWE6ZJWhormKrEuqWv92pDpeM0BCkCo1GD7GNQeu0n5TR1S0REov fSpTovSVRoNtjWgddeyPGex55tM0Lsr/CMI0H75k95ogdeN0Po3L8wpeHNkWjOId6KvD 5QAGu2CKyVR+E7FpEUJd06XymUKuc/bSC80a4sbZri35Toea5KJ8IYlJFXH2ZZYf6LKA /Fhg== 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=BaAH/txD0ZSJCug0F9IruK7CsdNif1nz4F+71F4j3Ts=; fh=YlpCvPgIelV7IE/Flj3IgYgCom5Y5ejUdN3g+q836h0=; b=czNtFPMtM8wvHMm2CTSTokxwdTjLUaw0e/uvnFUQNLgyl6u9xO6Dy682zwh2KaK39L onDlQTNSyLdkOqgg+WcGXsdSE1N3ThTcfDMJ9gP82n6MPoEif6OFE1Etr9OY+XSE9R4M WiYZBejP+D1ETL33m87gSQg6+DqybgOKwK2HkbRU9c1F36dfq65BIdPt+vwPRVr3jSoG l2ChzY+9ypnse0Bu/gQ9yjcCfp2VSzddu8iXsTKMrXGBP3fCJibHTH9iQPVzhvCsUV5B OEoXW95WR7i979QZExUaS1gkDGo+HMDIq/D7HpolgY4pA/Kv8Rz4SQJjihyqdIJuOVjI yMqg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=Vy96bdXJ; 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-61741-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-61741-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com X-Forwarded-Encrypted: i=2; AJvYcCV2S95nJM3jKsG+nxcbzja6UKcEKGnaNVglTbxRgF+apoqQqdeStVwgup71KfCAmpykCQW0bsHiomY9sTLSqMVF1frfkz0Ja6nKNkbM4A== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id 13-20020a05621420ad00b0068d047ef0easi399348qvd.571.2024.02.12.05.53.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Feb 2024 05:53:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-61741-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=@bootlin.com header.s=gm1 header.b=Vy96bdXJ; 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-61741-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-61741-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 037F31C22824 for ; Mon, 12 Feb 2024 13:53:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 24D5D4D59C; Mon, 12 Feb 2024 13:44:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="Vy96bdXJ" Received: from relay9-d.mail.gandi.net (relay9-d.mail.gandi.net [217.70.183.199]) (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 8536B481D7; Mon, 12 Feb 2024 13:44:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.199 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707745489; cv=none; b=UKt8eFdFAhvmDuxshIFFVNc33J7NdubRmniP3Dr7nYiAoBz3cYfYXx88A3iS2tQn+MiOirgcgdIM9F3DiMKN3MXvLJzmPR0sJB1CqoyXLuCycxpfZpmcdEvUlWyHdv8Uqh1zauCgJgInaikQZpBkR8qPm9ds4tB6MEF+bkY3J9E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707745489; c=relaxed/simple; bh=7tacFbATuHLACojMWVe1Fb8Dq1zbXatLfDzZr+nBHhk=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=FS76YrI6ksYmJ4sidCAjOme9vaYDJoGygSTL80PIOwvxHvISnoBDEbYSYbLx0qMCH+6vAAMkVN3JRFk0NMmIwVHjqTWx91qLuZDmYwuWORT+8EP3feLObWgedxi4Wf3tn8rA58a5AySAem3lDPZv5+A0zya+gCY5zps5q318Rq4= 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=Vy96bdXJ; arc=none smtp.client-ip=217.70.183.199 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 14964FF80A; Mon, 12 Feb 2024 13:44:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1707745484; 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=BaAH/txD0ZSJCug0F9IruK7CsdNif1nz4F+71F4j3Ts=; b=Vy96bdXJeXnd6fVN3a30bH/PBBI8xN/2tianri1oWSW0Q1EllkegwlV+lwXoF4E1ougfY6 ZgoriIaddapZwgOSOBZF9rRNFBoVbBlDEJfK2ZD0PUa3bGQSepwKHV2RkHTnM7hz6WmlbR 8iWvNMuFJg2S/vRRWRP7MPmNZT8/HyVHlpz1eviGZukcOS3qOv7iF3KgWcrOdDOqnLfVFK 8jctAXsFQP553X1KfJi9DoBV6TCic+HyX1fT8ksTv7WlLY7awq/0ZHAKIoDqPet+8nbHJl BlMmAR7m9E2TAZ+txAO8/gWFK35bY89bykhGG/Lh2NVyPpDEPVcyP8PQSM6AsQ== From: =?utf-8?q?Th=C3=A9o_Lebrun?= Date: Mon, 12 Feb 2024 14:44:43 +0100 Subject: [PATCH v6 12/13] 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: <20240212-mbly-clk-v6-12-c46fa1f93839@bootlin.com> References: <20240212-mbly-clk-v6-0-c46fa1f93839@bootlin.com> In-Reply-To: <20240212-mbly-clk-v6-0-c46fa1f93839@bootlin.com> To: Gregory CLEMENT , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Thomas Bogendoerfer , Linus Walleij , =?utf-8?q?Rafa=C5=82_Mi=C5=82ecki?= , Philipp Zabel Cc: Vladimir Kondratiev , linux-mips@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Thomas Petazzoni , Tawfik Bayouk , linux-gpio@vger.kernel.org, =?utf-8?q?Th=C3=A9o_Lebrun?= X-Mailer: b4 0.12.4 X-GND-Sasl: theo.lebrun@bootlin.com Add the devicetree node for the reset controller on the Mobileye EyeQ5 platform. It appears as a subnode to the OLB syscon as its registers are located in this shared register region. Add reset phandles to UART nodes. 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.43.0