Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp1992727rbb; Tue, 27 Feb 2024 07:30:30 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVDtDnVOgNnx5IcpH/8H4GgNo/8eDd57m/Tbx2eKec3YO+TGs4t8F2RD5ygxnXx5ERVv8vymQ1LNUmzwLm55Eqap9KI+5fZ3ngkDEY5vg== X-Google-Smtp-Source: AGHT+IH7ZrWyQyOPqCELcMW2n6fFZdfdcXppTwTxnxTlo4xp2FHcD/+ezfSwgqgvPPNT5w72a3zz X-Received: by 2002:a17:903:2281:b0:1d9:ce46:6ebd with SMTP id b1-20020a170903228100b001d9ce466ebdmr12035908plh.16.1709047830513; Tue, 27 Feb 2024 07:30:30 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709047830; cv=pass; d=google.com; s=arc-20160816; b=fI+5zsiIzubFXyC5+YjU1uc9kzZKNiPbXY2Vt4z2WDLAlzCnOpFUx/E7RqkjnAhAD+ rxFkgRSvhq4vf/6b/SwzIETcxz2SRvDMvIzZcLMalQyK+HSPYs3Q+e6yyezMk9d1it0m FqgWv7+a4YA6ow6jC+0M64x66B64c0SErgnjeVqds2YP9uK5UnNjVCTxuj9EhUlF/Tdv 6rTv323vFv+qRhnbq+Sr2Li9YJ/+TChPdfqJSdd9sZ93qi8QScSYbYAYGZwBVKw3FK+P cMPLwIXg/BfJID+Edvqe/vFXu+1FiMOsP5eAmn6L5I4t/Y7L3tl4MmeM1uIGpr2InNvE oIqg== 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=j7Y0mHLOLR859x+DFvnJQNaaoHGHolBS7FvofckjXsaDTLG3HQH/1Lr5I+6jFYnZhF tVerEfvNrB3cs0nVer8gbuVRQZ4+w0WTTzv/NXSVoLa04tLsOndWMvz0QIDUFaCZRr4V 2WHn+TAxOdIbkG/2NiqpDX1yd95kvYX9J3zOsI35rfpFjzDL5DA/+GZ45MZlGVtq2dwB BzAwhUxr5Gu1gBQT3mkq3UxyU3WhRZW35BVF8IrmeemV7H/pW88iWFsq1A4Jg/R32vg5 s73hCDt6YQPMC+jx1HMa5SHmDCfSo8S/VP7KfNRRrSfWSSQ6jrIHqAnlIGh1nxoBeQhc tQbg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=hljU5tjA; 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-83450-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-83450-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 y5-20020a170902d64500b001dc8f20cbd2si1496095plh.516.2024.02.27.07.30.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Feb 2024 07:30:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-83450-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=hljU5tjA; 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-83450-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-83450-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 632AFB24BD1 for ; Tue, 27 Feb 2024 14:59:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2029C14E2D0; Tue, 27 Feb 2024 14:55:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="hljU5tjA" Received: from relay7-d.mail.gandi.net (relay7-d.mail.gandi.net [217.70.183.200]) (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 BAF65149E08; Tue, 27 Feb 2024 14:55:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.200 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709045746; cv=none; b=PI+sWMyyAHVr2nHmTTWfTGETYywvmD0JkxKrVexCLh5ZLBqe9SiApJTZedKK2H+uXAzzX2Pg93CaF2s4QUGVFiTzEnDCIjFkZZlaSd0vyzRSpx+b0qIl8mgRqA8BHwm5m+Ob7L8Rzu1O5U9GdlJXCv0/z66v5K9aG3EB+sW2hvw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709045746; c=relaxed/simple; bh=Q1vQNvApTuVLdHGNKf+3ksoWjYkeKzGyOW6P0xmAFi4=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Ld2wd1ttW0vqJIcAIgDw7YiWD/i+KFdU7UN+9MwV8siTMv2ba1Cx69Z6dKppVAcAPIl88uxLaxfUsJdWuS3a8qIUaKdEFiM2G2Aww3Laf/VvJWmK5GRAmZVzu/DZGUrG1aiASRaNg8/40fVtgPwCTD9dBgq0zWWDCbvHfcISBHo= 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=hljU5tjA; arc=none smtp.client-ip=217.70.183.200 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 5C0CE2000B; Tue, 27 Feb 2024 14:55:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1709045742; 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=hljU5tjA+AfpVSbyzTYEK2b4b1L3p9OOW6Gzxlz5rqMqjgGMG3RczOlxgOSNVvu+tdBTTX FFRkIJOqqWBCaTJKusO5JPsF9nV8b/fHAOGIOW6/pSkGKU/JfzrSOkeGJmhS2qjkc4RYTb drrHxA03pJJAlGb0eIyMuRCg+pheeX6ww+AfS5R+cUO6FSfMBWyx5nDq2Krf1oyELYPMgr 04olqEZIKQm/5fBIMWAnUNgLx2y1em2BD3SBiKjnD2aPTwrSAyNwn4pA6on7Zv4uqYIYnI eAzPXVNl26MbL00HNpWP25QhLkZTm7c01M4WTYKsTwLw7LANcIMUdakCbuVpTw== From: =?utf-8?q?Th=C3=A9o_Lebrun?= Date: Tue, 27 Feb 2024 15:55:30 +0100 Subject: [PATCH v8 09/10] 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: <20240227-mbly-clk-v8-9-c57fbda7664a@bootlin.com> References: <20240227-mbly-clk-v8-0-c57fbda7664a@bootlin.com> In-Reply-To: <20240227-mbly-clk-v8-0-c57fbda7664a@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