Message ID | 20231218-mbly-reset-v1-0-b4688b916213@bootlin.com |
---|---|
Headers |
Return-Path: <linux-kernel+bounces-4139-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:24d3:b0:fb:cd0c:d3e with SMTP id r19csp1396546dyi; Mon, 18 Dec 2023 09:17:15 -0800 (PST) X-Google-Smtp-Source: AGHT+IHBNRnsAK5kZSfH+7M1LvWLwfPyaQqHRyRRevpZkVUdRGW5JsIVwMWt4D2u8RvfW8ZGvjD3 X-Received: by 2002:a05:6808:6548:b0:3ba:aa7:bd2f with SMTP id fn8-20020a056808654800b003ba0aa7bd2fmr21845423oib.92.1702919835705; Mon, 18 Dec 2023 09:17:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702919835; cv=none; d=google.com; s=arc-20160816; b=RBrLQ7UMnXFqTfvlJy3MRD9lqFORzXw1qixmp00ycIMZMHqqKSK3mP9MgF8KGVx3nC 34yfUuBCFkTsu0YMX6pit9qJKWDDOABxCe9NTM3Cct1axCDgka5dyNL6rfnROKtT0ohy u9LMXKtpECWqxgO7+/bJVihGvozQqx8MTlHdwlKdQ1+M+u6UBhM7JadwUBc0ldYfHNnu I/R90GL+i2Y8C5B9oEDwmLI9hTZvy8w8eEc5Ormrtw4Z/fC2H3WATp1hDwxqupvMpun1 xz2kJw+JSm70paHW8t5I/E55CCtNz1YtTZ0iJ2nPRVLzTFu3qh9NRAZ88Wj5h+h5A0OA +LFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:from :dkim-signature; bh=qb1u2O9czF/pV9JY/Vd4086ByihGPpQecreGfsOHX9Q=; fh=/j0n7N+mZZqX4DM0S0QIfZAFTZWlzqPGb/vlzF/HU+I=; b=Dm3xebSkQb6hRKXfyTLoaGUEbkMQZoOFDatLA/OoF/fEBeiRpoBxbfs9pRRpMr2PXp i++Fxu7CnPQccItOAUphx81vvAnDZZMrbExS5SvgN9DAcXsYMMN06PnGwixz287Bdn15 adIV+zIvEDW94DTH4/Vc/y+R7bUl8FFumib+RKAX+KMiU42ezN6Os4BGxWLBxyFFz1Cf i0P1lpbfNvMyn7KBwEGhsz0i/+T1SKr5hE2Gz72BvQtq0hpIkZ3Ahl8Ne9wPo1phL95H I7DoDKg+Km5Z7zBjdZn0cQGICRwgI0/x/SoXlufSK4OV5OUxaCbAzAce+AABvlOAB+y/ A21A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=KbGWiY8a; spf=pass (google.com: domain of linux-kernel+bounces-4139-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-4139-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id u12-20020a67f50c000000b004649c632f1bsi272894vsn.92.2023.12.18.09.17.15 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Dec 2023 09:17:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-4139-ouuuleilei=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=KbGWiY8a; spf=pass (google.com: domain of linux-kernel+bounces-4139-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-4139-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 74B151C2169E for <ouuuleilei@gmail.com>; Mon, 18 Dec 2023 17:17:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 427EE71447; Mon, 18 Dec 2023 17:16:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="KbGWiY8a" X-Original-To: linux-kernel@vger.kernel.org Received: from relay4-d.mail.gandi.net (relay4-d.mail.gandi.net [217.70.183.196]) (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 30C2F5A860; Mon, 18 Dec 2023 17:16:22 +0000 (UTC) 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 203A2E0008; Mon, 18 Dec 2023 17:16:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1702919781; 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; bh=qb1u2O9czF/pV9JY/Vd4086ByihGPpQecreGfsOHX9Q=; b=KbGWiY8agXq4fkpHWfUWupxZOgh5F8mocUZl5JekDa2S69PyCkPXlNBcIX053YyB31eNzS TMGdv9Nin8m5XaxPjs8SP7i7OkmRdEJTc25tvK6X62I2JAF2hF+AZpCCHEx47W+MzfvNgZ fR3ddH9JhRjiXI9xgaGFsfgSh3+dMaCVo9xeRe6p7+57fkWUamgR77+bZN7LQNxpRyDpIi SThMDWahvy7gzoXB6WibNY2t5skvpDjuj3uTRVULuonnOHC/X8oSmGx/i3vUFBoOhhjOeo jZN1tFlO3Mrq8NOgvDW/xGCy1z8G6aZdFJVaieanYFlwl6tYqkyZktTFCxFkNg== From: =?utf-8?q?Th=C3=A9o_Lebrun?= <theo.lebrun@bootlin.com> Subject: [PATCH 0/4] Add support for Mobileye EyeQ5 reset controller Date: Mon, 18 Dec 2023 18:16:11 +0100 Message-Id: <20231218-mbly-reset-v1-0-b4688b916213@bootlin.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-B4-Tracking: v=1; b=H4sIAFt+gGUC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyDHUUlJIzE vPSU3UzU4B8JSMDI2NDINbNTcqp1C1KLU4t0U0ytTBPSUw2s0gxSFICaigoSk3LrAAbFh1bWws AL/k4QFwAAAA= To: Vladimir Kondratiev <vladimir.kondratiev@mobileye.com>, Gregory CLEMENT <gregory.clement@bootlin.com>, Philipp Zabel <p.zabel@pengutronix.de>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Thomas Bogendoerfer <tsbogend@alpha.franken.de> Cc: linux-mips@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Thomas Petazzoni <thomas.petazzoni@bootlin.com>, Tawfik Bayouk <tawfik.bayouk@mobileye.com>, =?utf-8?q?Th=C3=A9o_Lebrun?= <theo.lebrun@bootlin.com> X-Mailer: b4 0.12.4 X-GND-Sasl: theo.lebrun@bootlin.com X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1785640869977564842 X-GMAIL-MSGID: 1785640869977564842 |
Series |
Add support for Mobileye EyeQ5 reset controller
|
|
Message
Théo Lebrun
Dec. 18, 2023, 5:16 p.m. UTC
Hi,
We follow-up the platform support series for Mobileye EyeQ5 [1] with
this reset controller patch series.
The registers are located in a shared register region called OLB
("Other Logic Block"). A single driver instance handles the three
existing reset domains, each with their custom logic:
- We busy-wait on the first two for hardware LBIST reasons (logic
built-in self-test).
- Domains 0 & 2 work in a bit-per-reset fashion while domain 1 works in
a register-per-reset fashion.
We end the series by adding the node to the platform devicetree and
reset handles to the three UARTs.
[1]: https://lore.kernel.org/lkml/20231212163459.1923041-1-gregory.clement@bootlin.com/
Have a nice day,
Théo Lebrun
Signed-off-by: Théo Lebrun <theo.lebrun@bootlin.com>
---
Théo Lebrun (4):
dt-bindings: reset: mobileye,eyeq5-reset: add bindings
reset: eyeq5: add driver
MIPS: mobileye: eyeq5: add OLB reset controller node
MIPS: mobileye: eyeq5: add reset properties to uarts
.../bindings/reset/mobileye,eyeq5-reset.yaml | 69 +++++
MAINTAINERS | 3 +
arch/mips/boot/dts/mobileye/eyeq5.dtsi | 9 +
drivers/reset/Kconfig | 13 +
drivers/reset/Makefile | 1 +
drivers/reset/reset-eyeq5.c | 323 +++++++++++++++++++++
include/dt-bindings/reset/mobileye,eyeq5-reset.h | 80 +++++
7 files changed, 498 insertions(+)
---
base-commit: 0bb6b85cadabf93a754df740bd1b6c56ef41ac2c
change-id: 20231023-mbly-reset-b587dac68d0b
Best regards,