From patchwork Wed Jan 31 16:26:18 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: 194842 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2087:b0:106:209c:c626 with SMTP id gs7csp2006653dyb; Wed, 31 Jan 2024 08:29:50 -0800 (PST) X-Google-Smtp-Source: AGHT+IEcJEvzTrIaQPhLycWyXLcJc/FPGsoKNWJlxw2i9DoR9jEtj7rdViPQ9OYwD4TvA0HVzRCp X-Received: by 2002:a05:6871:340a:b0:214:e186:4d3f with SMTP id nh10-20020a056871340a00b00214e1864d3fmr2070184oac.26.1706718590296; Wed, 31 Jan 2024 08:29:50 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706718590; cv=pass; d=google.com; s=arc-20160816; b=eoLfBXOVJ6CLZJKPo9I9hkpH4E+NGz3kO5V3E7r7GZG8TOHP17YLQn6sYiLOB0WyX8 MuOBDCZu2LZbSVlgXAj1kiCcDjakDcIPSbQbBVpG223I2alRdyJwjZMKFEq2krJTMu+1 L5uSuB5yiA2HpHWp5WVKV3VtaydR2Mndtxu2fvynAuXm9pWmHEACsV6AIRJ1Uy228sWZ vmftY/kWpJ5zhERjLyLka5eD+Cc9OjZ7+Dstt8BX/yKtzx3t4fXGtV4TOB2XYwQYraQ5 IDL+Nivvf6wzoKtVTiItw0/nBMb4oqUqrBT3Q3OROvYzp7hkXyUOYOZlmmWA7j6qgEbx cylA== 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=pjr4Vnej4PwH+rguhrbjhD7u4xdrgrLHVVHhEAIkmuI=; fh=ArA+lvvVlGmT/TplU1zMgTyRxi1ubUec6MptMf08jdk=; b=SkpmOat7gDExapSErdF8K8UZJL3jmlxg2M5d/4ieQuAZwJfn1rYb1j08OZ1T4ejsht 49SA0/3LWYUydyQPzXz56VbyADSV9qROSqwnOVThv70NHLVQ3Siq4GY9c8BGMFv1vRzU Zu4xU8N9vDHbuygf7V+yxQocsRTRvgQF++hpPDEXsxIaWM9EsoBV/tNpXoSiX29Vw9xk /vcmiVlMsPekI0M20kwMOKpMAa8J0Vd9dFnWtBAqasNJbhuzVRkd6e4h+jySQxP76m8v 8b3ga7DeErHaKmA+4mNbVLl4RwvOhpvlNDJrJcI1hDM4IN/HPoCarS50sLc2XqGoT/Je W6ug==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=hO4O5qsr; 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-46791-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-46791-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com X-Forwarded-Encrypted: i=1; AJvYcCWJIdEdsIk6op9ttAG4nAgs3bpjZC4npeGf+SMldOkH65MX6FMvxR2K8+KBRcO/yaCTcIJYRMF4qRdfMCsMNQaxewaQsw== Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id d5-20020a633605000000b005cd88585706si9950079pga.828.2024.01.31.08.29.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Jan 2024 08:29:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-46791-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=hO4O5qsr; 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-46791-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-46791-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 C25FF290123 for ; Wed, 31 Jan 2024 16:29:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DBA8012FF79; Wed, 31 Jan 2024 16:27:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="hO4O5qsr" 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 B8F7312BE8C; Wed, 31 Jan 2024 16:27:16 +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=1706718439; cv=none; b=X6dIES5SM1Mf3TKHxL5wh3yz3ifrAEjDy4LMDcJTzU/8bby5VDv+expsRBMqcddRZMbs0tbjW2lr2Nq3ON7aEYqI9t+Kre6AjEBvawlBtIIW2CKdZtWPgvlpISoPbKFEj5hXLqDBfo48/JU13ZmYrnR6RWiq9L93ddnq4RWT460= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706718439; c=relaxed/simple; bh=cD9jvBK+96gZJ3HA4eYjVSI4yedYmYK6cGpEhJXfwUs=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=urGVGWOcJjrr4wzFBhvSO92VBZ6YQs/DmfKZsfK+yd1xo8+YFUMo2Z81zevgeoNa5HPnj92DOWQyVkApbtD6Y67kvrMqGNL6VTEWG0bolj13TgrwzVFJK19XTCvfDLKCeT4R0JHyHSNZKcZxw0O5K2ZwTSooUOemON0olBJmBWE= 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=hO4O5qsr; 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 1B5DE4000D; Wed, 31 Jan 2024 16:27:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1706718434; 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=pjr4Vnej4PwH+rguhrbjhD7u4xdrgrLHVVHhEAIkmuI=; b=hO4O5qsrFi/ohWT1QY1pJUz9zBNXM3+hWVQjVwrAM+Q8tLY4p6W36gGCtZdPaIUrfi42TN UBxQDoKMil1t6FMQWYNp8Xe/XuFhMVDvwNRU/BJbJH0qP9fNIYqn9Ad/qpdXy7sJQaBwa/ vxPWK80E8DV3vECDVaaFzlSyr2skMWXS65UbJZAlBzR4rMICdzji+HuR2286AtTSno62Pa UjBjYcV5lUohXKan/mla5vRp6zP9BKs2sXSxCo9x79cNN33/b0+Gk+sZ3fJCgL915cAIlO XWM4yZqWunqdCNvL5/2F2dj4nb9cohRR5Cz7ZN9eHn5hPni/NMHHV1XA2eL+gw== From: =?utf-8?q?Th=C3=A9o_Lebrun?= Date: Wed, 31 Jan 2024 17:26:18 +0100 Subject: [PATCH v4 05/18] 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: <20240131-mbly-clk-v4-5-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: 1789624152505442993 X-GMAIL-MSGID: 1789624152505442993 Add DT-Schema bindings for the EyeQ5 reset controller. Signed-off-by: Théo Lebrun --- .../bindings/reset/mobileye,eyeq5-reset.yaml | 44 ++++++++++++++++++++++ MAINTAINERS | 1 + 2 files changed, 45 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..6b412f867d0d --- /dev/null +++ b/Documentation/devicetree/bindings/reset/mobileye,eyeq5-reset.yaml @@ -0,0 +1,44 @@ +# 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: + minItems: 3 + 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 42db14d184be..e81c4db22df3 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -14788,6 +14788,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