From patchwork Fri Feb 9 14:31:40 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: 198933 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:50ea:b0:106:860b:bbdd with SMTP id r10csp903445dyd; Fri, 9 Feb 2024 06:49:41 -0800 (PST) X-Google-Smtp-Source: AGHT+IHiQjxZYGUMJkX4NRd+7ic+8jEepLc18d3JSTShop861cGPDtlXupeq8aWppG2OKFZJPMEm X-Received: by 2002:a17:903:2285:b0:1d9:7782:316f with SMTP id b5-20020a170903228500b001d97782316fmr2057561plh.39.1707490181705; Fri, 09 Feb 2024 06:49:41 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707490181; cv=pass; d=google.com; s=arc-20160816; b=K6t+CsrV4bbNEsSYiiWPbXl54JCZv6wVugcd784RyiHrfkS9nYk+Kj4xz30IGMxt7i 10xIWmFZQZaeS9AeSJ7UE0z7N2iPxbp5LG/lEZf9smfJYN1dp9MetZt5Ut6AreXsGCT9 mnmL0t5LN1UONrfXhrTV6bUI9fMUS4fHGCnoFU49XdEPO2PKjjfOT/OCQThyRNQ80xTt T8GOqaDWLZhQ+ssq5e2SewX2CQ1seh3Iksk+8OvQKZnBK6gOrbmh6tso377Dl4z6UNtJ tI/G7lu9/33GzT0H4wHqIjUEWQTuas/UhJjcA2E735vUTTAsCCKQHYpCcLmaL+lCJg52 50Mg== 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=Egf1GTz1Kl7AFDSJpN9DptDS3+BbXaB9PORtxyRGoO8=; fh=wi+NuKAJPCOkfyn72enQWyzlj/O3ox7DXYgJzCm22cE=; b=0x+xHOUenS5BxZ8QBIH5I3aKuBpqD4xxRIkvOOrokascd4bkK2p8V+e8hc/Ll0wiPk 1ShrFAlpaVZU42vwdcgKXWddi35CAnUkNyH30yUXxkAXT/0cS4AQ1M37k1tvbQBiw5KY 89ipvn35Ut2Af/PRiiQUTM57IhcIR2pyO7GzEXZ8XryocFIBkusv7oUGvSw/sxSxuDeL nXQ6cwVkF98SB8XY/RVQj2AbGCr45mwXYOYmhChL/nuAN+/uZ3watZqbITJ6hEFdKqAm aGAFGbbK/FxGUu8g8/5aKsw1BS/dDIoPVkLnaOWBgfy+ho/CLZy6x6vKF7ULZck7pf1u u4ng==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=n1hv+ujd; 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-59464-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-59464-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com X-Forwarded-Encrypted: i=2; AJvYcCWWoPEFLdfXjzN4JO0bXH0+frq4piPXG5ZC1pajQkVhqhQ0EAVjF1Sc7UY57lZTHHSeTPZZRwBT+X02q05np3Qqm/qEWQ== Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id q1-20020a170902dac100b001d945458de9si1813676plx.310.2024.02.09.06.49.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Feb 2024 06:49:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-59464-ouuuleilei=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=n1hv+ujd; 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-59464-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-59464-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 25B35B214A0 for ; Fri, 9 Feb 2024 14:34:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E2F0E7BAF9; Fri, 9 Feb 2024 14:31:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="n1hv+ujd" Received: from relay1-d.mail.gandi.net (relay1-d.mail.gandi.net [217.70.183.193]) (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 A860A6BB4A; Fri, 9 Feb 2024 14:31:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.193 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707489116; cv=none; b=aLZ58UMLOrEZZ5752QUZeCUEhn8HTwr9lBaTqUwwX+C8uBo7r3nn+jYMOrjq/ldxmeWI/HlW1cv/21fND/3AWm3/kau7MXKxdVajZ4X3b8Rf647sghBhDLOq2fYMokhz1L3A2F6CfByF3INSSenhFuZmqBWc2TsK0UFEQPe+iro= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707489116; c=relaxed/simple; bh=ySdXO7qJDu8NddCCIJjeoFz7LwJL+/JR8tSoCu/gypM=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=qrxLk4cRFAH0M+92FNy4q6toABQnyVhA6l7zCLiT3iwOirkNmXdjgBSIaPuE2dscVxsUz8JpaGd1vE7OZq67j6yA4I+ayYmh0YVt39ngSZfh+Aj5MnsQWYb4Wv2DQf/E6QCgVtLPg06dBnmQ3rXEkVzzKjvq5SgrTaESMM00V4M= 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=n1hv+ujd; arc=none smtp.client-ip=217.70.183.193 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 689B6240007; Fri, 9 Feb 2024 14:31:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1707489110; 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=Egf1GTz1Kl7AFDSJpN9DptDS3+BbXaB9PORtxyRGoO8=; b=n1hv+ujdwVVsIQ00jXGqXgrNYRzQ+DVhFs2j7gKOAZj5wgF+ukV0b57/F3yoAFoXFwzWzl nBx4DWA08i8v/l+HC3Gl8YIIc8XbVvMy65Rxt8JU25qsTovZQJ/34RbCJxwhG9Fpih/9Ze TjL4rhY5PKVaM+HE+QwXAq2YqTz8mu6IK34mf8G+Rv7e4NWfqRyDO43d9ihj56TILmVwKN nDchWoqErSua9u67hgd7JZbplz1AjsPa+Umj9aHW/kmfD//I1eALaMFgvCMaIN2Vg3qx6p KHFwT9PkBgbyjovAOXBkRQ1EdOSdZIf4QqQcJZKnfpANzinm79/C/I1IufyKow== From: =?utf-8?q?Th=C3=A9o_Lebrun?= Date: Fri, 09 Feb 2024 15:31:40 +0100 Subject: [PATCH v5 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: <20240209-mbly-clk-v5-4-f094ee5e918a@bootlin.com> References: <20240209-mbly-clk-v5-0-f094ee5e918a@bootlin.com> In-Reply-To: <20240209-mbly-clk-v5-0-f094ee5e918a@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: 1790433225096064977 X-GMAIL-MSGID: 1790433225096064977 Add DT-Schema bindings for the EyeQ5 reset controller. Signed-off-by: Théo Lebrun Reviewed-by: Krzysztof Kozlowski --- .../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 2143f64e9e15..d5348fbbace6 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -14791,6 +14791,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