From patchwork Wed Jan 31 16:26:28 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Th=C3=A9o_Lebrun?= X-Patchwork-Id: 194853 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2087:b0:106:209c:c626 with SMTP id gs7csp2008416dyb; Wed, 31 Jan 2024 08:32:19 -0800 (PST) X-Google-Smtp-Source: AGHT+IFnVdzsB5Ju/yvpY4tVY/z4piW5aYRdYjxHsuXzBZwSndAKd1ioUO69n1EXTzfwpOvNb7W/ X-Received: by 2002:a17:90a:f992:b0:295:cf16:17fe with SMTP id cq18-20020a17090af99200b00295cf1617femr2266293pjb.34.1706718738969; Wed, 31 Jan 2024 08:32:18 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706718738; cv=pass; d=google.com; s=arc-20160816; b=Qm9zBwlq9wIXO2iWl3jThsbY0hK/HKgBxX5oN2762PPvyzYj1UzKrw7tp6KIXqfVyi ATfpRigPLW3nJ3uxHUsE8X7HM8wty9ovpM+5EHQVOKuBqM55fggcbP9ON9Ehw/9tbby+ COxd8Z4Dy1TId53UC1kVwGBgIp9KXtLrHOfq939qM7gAEzpQWmYcStBykDTVRZ5SqgtQ lJ8zIWGhvgsLPI5Q+Cha6xWJlmsyj0/tOBCuVmeYrSOq495xlUbao8Tf0S78ODRbBL4/ lZg5mCNXyNJc78xcti1jgiKPQ1Ex0lNls5hV+iqLhF19n9rrLXP/nk1xW/6wTkaNzY7U JJWQ== 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=0ldyJrn/6hMrKL66J7c4uEBP6rhcVzqhrRn+hm5cRxo=; fh=5Bq+txMF/YJFtJUE0q8+wPyDZeGFXdy/hy4BKBpjrss=; b=NM3CEiiCyeznwcvpyLc0G4co8q9i2wZNfUC0xw9wuWibFszTtoLvxSuY/9uP2cbFkX t3vo1RVhaDW+EV5/z6Zxn8ErSwsuChmrFW1BtVMxc1cSDZ5LzCjaXIX9qmHPPZrz5vUg dwcSV8p/Pw+CEW9c4SQRSk6c+ccNtSLSKjyq1MXp7c4D6Y1HS+FHyrriu/TsPYB3QhQn eaEenkzbgRAUZxtcAYi/u9UKlw3OnGHlrpFKGbLdxQQLme4xD/aevmydn8aWQ6BhfrBD B9x/iOBRv7BZ2ZTY7udh6a0uTxSdNNE4vlxFwrl/5OpWuTFYCyQllY6wkRznPaBvBs9k ZFHw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=j40VU6kD; 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-46801-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-46801-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com X-Forwarded-Encrypted: i=1; AJvYcCWESbaLpsxuDdj1+zX9hiVG7hDCUSNEBB7zKmoJvszTppM9Vrokz62o1CJgHZH0MCR/QzF1y9VBFmTL6dPwbkIB/M6p1g== Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id c19-20020a17090abf1300b002902c320c80si1554742pjs.96.2024.01.31.08.32.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Jan 2024 08:32:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-46801-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=j40VU6kD; 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-46801-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-46801-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 3C91828246E for ; Wed, 31 Jan 2024 16:31:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 47DF813E21C; Wed, 31 Jan 2024 16:27:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="j40VU6kD" 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 456DA135413; 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=1706718447; cv=none; b=LhMMfSHtadogoev+YQL7VbYVd705PWJq4AJatyYLt4HyIXoIOUY9Ab4m0hZN8WO6ws2nvtsVKDeuW5ooPcHIxjr5mv4jXeEjLgQmXwZEC9uxRxPoGvVs8/8iDevHBRnXnnDjfrTjd5u5mfG3WjeUn8r4vIijIGeZBiYQA6lRgt0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706718447; c=relaxed/simple; bh=NdXxW2B2HJGeJDq0KUeu7mzlupLoCiWlMtwgDlwuvTE=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=OsLf8Qkhh9HudFG+rFacH0z4Y3wgDQfIsESxpfFNCtKttDgJ3aTtH2Ddj6Hn+2Yl14OTgEd0L1Xiu7BpvWDCpaA67lf2FeJz6a1wOzw2Y0yn1GeBzq9UYcQFxcHSbS0DyRuilqLUyB1OFrawjIUuKVhTQxfqnZN4WMSYgVSPhXM= 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=j40VU6kD; 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 00A3E40007; Wed, 31 Jan 2024 16:27:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1706718442; 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=0ldyJrn/6hMrKL66J7c4uEBP6rhcVzqhrRn+hm5cRxo=; b=j40VU6kDHEncJGPWRFDSRmW7RIiUn0th58GxZZ14+rQVV3xrvlhQPgkjqPwIv51V8iYh0m muo1WWcMx60qdnBH2FFgQc50sMfbWTxjWGzcorvrWHcGZ0T5qK+9qp8WQ64dNWFmmiwyxt trdpmjViM2u4TL4JGaggEF+d9DJkig/JYGUu/djfo3AgPKyJbOBh8VZEQzeQQTH6QyigKH HJICZUzKeZaegJhiAFWwPa0Zd0GfOInGVaB3JQv5NHo/I4re/a4uOH9E/y45DrDusClq41 3iOEep0Jn3+KkYPXMRwhAOHU80NAtdvjhJ6E2+aUerazwyAMc85rp1vimSDcew== From: =?utf-8?q?Th=C3=A9o_Lebrun?= Date: Wed, 31 Jan 2024 17:26:28 +0100 Subject: [PATCH v4 15/18] 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 Message-Id: <20240131-mbly-clk-v4-15-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 , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Thomas Bogendoerfer , Linus Walleij , =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= , 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 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789624308870034951 X-GMAIL-MSGID: 1789624308870034951 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. Signed-off-by: Théo Lebrun --- arch/mips/boot/dts/mobileye/eyeq5.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/mips/boot/dts/mobileye/eyeq5.dtsi b/arch/mips/boot/dts/mobileye/eyeq5.dtsi index 69f89793fed7..06e941b0ce10 100644 --- a/arch/mips/boot/dts/mobileye/eyeq5.dtsi +++ b/arch/mips/boot/dts/mobileye/eyeq5.dtsi @@ -115,6 +115,13 @@ clocks: clock-controller@e0002c { clocks = <&xtal>; clock-names = "ref"; }; + + reset: reset-controller@e00000 { + compatible = "mobileye,eyeq5-reset"; + reg = <0x000 0x0c>, <0x200 0x34>, <0x120 0x04>; + reg-names = "d0", "d1", "d2"; + #reset-cells = <2>; + }; }; gic: interrupt-controller@140000 {