Received: by 2002:ab2:3141:0:b0:1ed:23cc:44d1 with SMTP id i1csp398002lqg; Fri, 1 Mar 2024 08:24:32 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWd7+G/kXcBNqzWsZz0MeeOiFYKvxycXWPWRFhHXzacCJsbtCQeKb+ie99Dcw4lcX3gJqTCgHARGtaqw7v6TFY/3s9MtMnVHBgX102XzQ== X-Google-Smtp-Source: AGHT+IF/hcpHLOQRMlNw6ZkZIeTRQ1iOny555QteRn99RiazQpQJUxTlLocWwN1dafjaoLB8MQK+ X-Received: by 2002:a05:6122:17a1:b0:4c9:98f8:83db with SMTP id o33-20020a05612217a100b004c998f883dbmr2339403vkf.5.1709310271949; Fri, 01 Mar 2024 08:24:31 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709310271; cv=pass; d=google.com; s=arc-20160816; b=eF+HxQydfCGGfDys/uZDiyKK0srSQwfxwQLLnVIENmAbnXxdWnUz8eC/Zua80wbl0K SptEXY8QlI54TZSE6YztN4G26XGip+wYD+YIKR8vs5cS6YgcRh0LZtt++LsxQQCrhkIB 1pZvCgWSjaQ3+//YKOUcGMC2BhNRB24Jchvf2PsWhourzVISuw9C6nAmtz6GdHf70OcF oPbvqFw73KIplHBHqhncsFwcHFVaAe2Fe4H7MWnET4Vt6gx/TKEiVTlDPs3EmPKV17Iy ia4lPSOzMyZnMNIuC4VX/6EwM+lTpz2lgm4T6yxfoRiNzluAroDadXr5Q5cQmWJPBnTU zSLA== 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=RkkcturGDH6iyLvdo+o7gBVlQfQ+pKB/Y+IIwDxn5RM=; fh=x5R05joZrGxebVEAaczvDRwH1m7BAJpjuUh/Gh1YI/Y=; b=qeqFc1Q/9n7pLHiMn+8oaJS5PAvkHCaYNKiy3Bbgf9k2dOUR7NKrof+dzIWHS+mqCm qlZ67LX6WnhTFiCvjGSYN5W4gkCXRkfChp4ezgEKkp4gvMM5ZM7VEmBqHMRp1jdTHfU+ TFJ7MEiUKBSlydm5vi4YaIXn2IITtoOQ55YFlnNOilas88m108VEGe4DSGMu0Z5LS2wn XiyFDSefVsDAGzmTcTaI31Strlwb8iWtjf1PQxQiWjM4Y0UWa6WOESEBHeR6oFaloO9h Ny9dDcx9h1p7tUyEVLXTd92lQmAuP8nMPjqvMeX7CA0jZvpAgr82od2yPnY7RXk/Ylc8 sibg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b="ip/Kh/hX"; 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-88688-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-88688-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id xx14-20020a05620a5d8e00b00787cb2f073asi3803261qkn.342.2024.03.01.08.24.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Mar 2024 08:24:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-88688-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="ip/Kh/hX"; 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-88688-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-88688-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 5A8391C220ED for ; Fri, 1 Mar 2024 16:24:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A1DC370CBC; Fri, 1 Mar 2024 16:22:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="ip/Kh/hX" Received: from relay6-d.mail.gandi.net (relay6-d.mail.gandi.net [217.70.183.198]) (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 3B2F373191; Fri, 1 Mar 2024 16:22:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.198 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709310149; cv=none; b=A9blGHymSi5fbZaCdk+gxPmP3gE48O2f6GenVLndjZ2YzAMuRZQHauxrkW8yB7jLBY5emZQ3aMhwsVX1dcBVf7Weia1ge1oMlpOOoIioroix5cVqFEsgunvyyqLDZnuM7cI8uGQVVbhPzc3MzhlE7IDwT7jKRvYCSjU0jYJt0hk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709310149; c=relaxed/simple; bh=Q1vQNvApTuVLdHGNKf+3ksoWjYkeKzGyOW6P0xmAFi4=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=aTT0TpbCFnrl2rjEtAOXQyCz4Fz0DfIGIkE+et8AQ8sWwHH3MZBdI/ZphUfsjz+H/y3PPWwj1y6o7SKeStgHLeQZRZIG6wyLadzP26kD7vJdRf45dcGUEOJcIbR5ZkK6TzeuKWEgBaeB4KEcjPLRbLThweh4pUCqkKYDJOWIYZc= 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=ip/Kh/hX; arc=none smtp.client-ip=217.70.183.198 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 2A056C0004; Fri, 1 Mar 2024 16:22:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1709310144; 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=RkkcturGDH6iyLvdo+o7gBVlQfQ+pKB/Y+IIwDxn5RM=; b=ip/Kh/hXjeY72FVe0TeYzjJ2O2LSj1I69GBRNbGEi+RtCiBv/ik8jiaRd1d6C6lMR+f8It kEM5Ht2+cyU0iUyzq3IuF8lfwnbrIL7KF4SXYNpmPIG797Vi24wWQxpRQK68JjKvP+ynf3 MyCakcFuFs7pr97ToVkdgBts+Yoj5+7i0NY6JxFdkn/oUwRhnHw5EUTbQogJns2QJStlpy xkfLjLEnW1fyL7ejgZEWnmcXv7SAnazwIB0nHX4gOZAivoR3att3Gp++AlMXCMBx7hF4cN UiqTMIop7wvnRtCYyPM4BFQsaVZh7B6IDz8I/8tFBTcWVxAs4uZYW2nzYN4wQA== From: =?utf-8?q?Th=C3=A9o_Lebrun?= Date: Fri, 01 Mar 2024 17:22:21 +0100 Subject: [PATCH v9 8/9] 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: <20240301-mbly-clk-v9-8-cbf06eb88708@bootlin.com> References: <20240301-mbly-clk-v9-0-cbf06eb88708@bootlin.com> In-Reply-To: <20240301-mbly-clk-v9-0-cbf06eb88708@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.13.0 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.44.0