From patchwork Mon Feb 12 13:44:35 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: 199805 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:50ea:b0:106:860b:bbdd with SMTP id r10csp2438277dyd; Mon, 12 Feb 2024 05:51:55 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXpAX+iE4wchjMVR1Ay04sdu82OWDgnFdcnaOcs5YRNGLtFLUGbaqm7+3iTbelxhV08D4ydTk1D5pjSbk84RfRLQ4Bxog== X-Google-Smtp-Source: AGHT+IGP4++WFYX0Y6/let7Nyq+iCuGxTjKIUQ5vougi1XbFfdjaA+Yu9iU8fdLQT8lrWawQzhJq X-Received: by 2002:a17:906:68cc:b0:a3c:908b:cee0 with SMTP id y12-20020a17090668cc00b00a3c908bcee0mr2532279ejr.12.1707745915632; Mon, 12 Feb 2024 05:51:55 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707745915; cv=pass; d=google.com; s=arc-20160816; b=AUnDlPjwGnZTQvCVmahrmY0i2iQpy4YXu3sERNyEH2J3zDx9b/zZfyDVOnUA+KYM3G fnisGztxBCWev9YCXbRaSB1aRm6e7vUffj4rctXoyI4TdIdOdD3NGuLnNLpTqi5VTLdH 34KuO7Y3bwskY6K0/1+M1Dmuqjth2qKTQptTNWa279VOIvBuTdHWFJNSoVO2hYVRDQwI dPaqfEKuAuKe+QNFMH7PyHiDl59rgTstY6RJq0LfT0aKp11CaeDEoYMckjJCMle3PFQM hArqLA57qkUZ7JlCqD7zux4BL0zALjPpt069KtDDJWekjtD+gPw2ESP+qfQXoKzvFSnz 4lEA== 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=fVRiwoVL+FY+QeHP/uLuwMZlHHrs6BkXmWBVxMFaIRQ=; fh=/tFUXgSInMJn1HP6A+G4TGbmgzI4BVzAWEqtf4cvhi0=; b=dJEZjztZzpIeWJGkfGr8mrzn1xs13DPUHeXYw+wD57g32Nc+uxrNnKIN/7IrCNSaDt iSSO7lrdx0soMhQSUtruPgbliME/AtrSPPkYo6TOkfkKgD8OoC7Av2wQf9GHJeF3lJQL wOfDxuJtdIurxLPeNxAaoNXRW+cCVXDl/aX/1UpcT13ERQPMgH+khONKqBTJ1JuSVB65 7yJn3w33aLmU1wa4LZFn+i10MrNZ9D1V9c83HAN2V/OAGuoSa8QsCjNBi3GsWQ6j4LAY LMF3PjMy5tedGYk0QYxkDH4vPZJX2ruxlWFWrs/pnlUZMWOPZH5Po+rpWn6BK1sG7Rt1 KBeA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=HbLZutwL; 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-61733-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-61733-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com X-Forwarded-Encrypted: i=2; AJvYcCWduJ/lpyXgHUDc+M14Dm64z0HEuaYEQOifJX6fiNdXX6hGK29jntx2UDHBAsGbO+Ab1b1Bv2VCQfiYL94iPIqnEDJAnA== Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id p17-20020a17090635d100b00a3bc054b5d4si216963ejb.187.2024.02.12.05.51.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Feb 2024 05:51:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-61733-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=HbLZutwL; 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-61733-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-61733-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 88B2A1F211AC for ; Mon, 12 Feb 2024 13:51:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C2EBC47F58; Mon, 12 Feb 2024 13:44:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="HbLZutwL" 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 A0BFC3D572; Mon, 12 Feb 2024 13:44:39 +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=1707745482; cv=none; b=j3Rx9vQNnVReZ5XZud+tJEwyj8ftAF0xUGwGt0TvQnSRmy7I1C14MwSlrDo8drV2WbuECG39QfNlVc3zNHGBlywU+2ZzT/4bwuIZS/lYE8cVEtfg28vpGeCTQ6uk7EjCoJZiIrFY9cw9WtHbAQq9Wvt1bfgX/A+SuiuQpuYtwWw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707745482; c=relaxed/simple; bh=KVrhDIUCXafed0h5X/7JdVkjvbPCWgV7VRZVpdl8CPg=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=i/cLL5+gSpgzxQhy0DxvusRLphpQgD2pglEV8pIrTsQSBMG3bjcFsN0j42OjITwLAy7YSWqMnjqvV4Itrq3SwcmO+6zkIyAV4I1sLcQOu+WrVEODnx6iu+qr35g7LzMG8GIrJcnRlahFbpyOOHpz4nyrlIl3sbFKg/BoDmkBDzU= 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=HbLZutwL; 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 15354FF80C; Mon, 12 Feb 2024 13:44:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1707745477; 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=fVRiwoVL+FY+QeHP/uLuwMZlHHrs6BkXmWBVxMFaIRQ=; b=HbLZutwL23yXXpEj+p+4z9oeNqkN5LBy34pMVVPU3l78+eWRxSJZ0EApRpCsJp+d3LIM1d qzxb1cK2EKcCFdaNm8Yk7Tn6HroAYWti7jNbLhKDkLA9GlLG3ly0AaO5lceiIPMnAthWwD oanGD4ABYoWWXGwxiW48rG8s/MX/Xwhva5HrVIpIaA1h9eSiArsjJ3nXZuPD4BsbeE7yF8 psq9PzpXBMq424R3dgZzalOKfcfoX7Yq3LVvP+rHcIkUnsphZ3zoiHNWw2Y14aoakjWE8S tF6XW2naMJ4ALxCrn7O07/sWfeqa9YVRP5CnEBXXpUew1Jhr6KnZTOi4xhm09w== From: =?utf-8?q?Th=C3=A9o_Lebrun?= Date: Mon, 12 Feb 2024 14:44:35 +0100 Subject: [PATCH v6 04/13] dt-bindings: reset: mobileye,eyeq5-reset: add bindings Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240212-mbly-clk-v6-4-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?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?= , Krzysztof Kozlowski X-Mailer: b4 0.12.4 X-GND-Sasl: theo.lebrun@bootlin.com X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790701381085256195 X-GMAIL-MSGID: 1790701381085256195 Add DT-Schema bindings for the EyeQ5 reset controller. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Théo Lebrun --- .../bindings/reset/mobileye,eyeq5-reset.yaml | 43 ++++++++++++++++++++++ MAINTAINERS | 1 + 2 files changed, 44 insertions(+) diff --git a/Documentation/devicetree/bindings/reset/mobileye,eyeq5-reset.yaml b/Documentation/devicetree/bindings/reset/mobileye,eyeq5-reset.yaml new file mode 100644 index 000000000000..062b4518347b --- /dev/null +++ b/Documentation/devicetree/bindings/reset/mobileye,eyeq5-reset.yaml @@ -0,0 +1,43 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/reset/mobileye,eyeq5-reset.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Mobileye EyeQ5 reset controller + +description: + The EyeQ5 reset driver handles three reset domains. Its registers live in a + shared region called OLB. + +maintainers: + - Grégory Clement + - Théo Lebrun + - Vladimir Kondratiev + +properties: + compatible: + const: mobileye,eyeq5-reset + + reg: + maxItems: 3 + + reg-names: + items: + - const: d0 + - const: d1 + - const: d2 + + "#reset-cells": + const: 2 + description: + The first cell is the domain (0 to 2 inclusive) and the second one is the + reset index inside that domain. + +required: + - compatible + - reg + - reg-names + - "#reset-cells" + +additionalProperties: false diff --git a/MAINTAINERS b/MAINTAINERS index bd21d03e1771..00ff22e2ee54 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -14790,6 +14790,7 @@ L: linux-mips@vger.kernel.org S: Maintained F: Documentation/devicetree/bindings/clock/mobileye,eyeq5-clk.yaml F: Documentation/devicetree/bindings/mips/mobileye.yaml +F: Documentation/devicetree/bindings/reset/mobileye,eyeq5-reset.yaml F: arch/mips/boot/dts/mobileye/ F: arch/mips/configs/eyeq5_defconfig F: arch/mips/mobileye/board-epm5.its.S