Received: by 2002:a89:288:0:b0:1f7:eeee:6653 with SMTP id j8csp493117lqh; Tue, 7 May 2024 05:52:45 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVApjs7Im682wFQK+jPvuuaWWYJRc4KxEDlUd3JXjZfzuuZe/7sxeZFY+WUcfvbjepRe7qgdyyXl53QK6/FGAtMqo8QfOUiU6x0zFbszQ== X-Google-Smtp-Source: AGHT+IE57gbJ69aX/+1G0xFUdPNub/GpUnYUyRTYIpiyMYOGd3XMjhidkZMke9nf5vZZkYLabiRv X-Received: by 2002:a17:906:40d:b0:a59:c23d:85d2 with SMTP id d13-20020a170906040d00b00a59c23d85d2mr4368837eja.55.1715086365347; Tue, 07 May 2024 05:52:45 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715086365; cv=pass; d=google.com; s=arc-20160816; b=Qb98Cy3emDJ6cmy8S+2rc6Ffq7TaHamuVgXOwBOu74ou52AcoiJY7lfQ5aoNr9geDj KiuGxDen+biIcW0ckQgyfiH5mTpbZoVSMomYLGrJZCHUE0RgOIha48B5xQyYh8kyABgL GrgZldgpeLLXyQvCktcIuRZSZUY/kwCifHGO9yFYLJMAqDSHxlmYDfvkAx7BLhxyzUt5 djCX1Mtv+heAvoik/qXbfiT/DpOL4S9KGK2NeJqUQsM+8D6TFsk1ZtV2kzQMOj2JNu7Z U9KcBHQrn/vizVWa7RkPdSwYOKR0Juh7MND1BS/GAiF2Pf095iYYHp1V8nM/cho5IATO 5iQg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=xMMwy0GYbqtxT/Yd2aLCd7JhM7vd5fxFjdroZbHkVzw=; fh=slCkvs7G3lgt9pKTFqGbgc3scbcCE69q0g9olXIjVbU=; b=aeu5+lVAVeAST9TSe1PEiTgyOcUn3LOpmhA0q+B+pCUxq8/3FuZeKkHOb6EQ6EbXqh Amc2/KyebH7eRcgQAlkjGppva3PiStJ83cw9feprzHOmnTFRSVR6/0slmgOuVuFQdAJQ 9Q3gGGzcCryBTUVUQTIhSpQ7pJUGoaOKou2YYQujb04GtESs2t910QHUJ0MsO1rGG0hH OStF8kQJ/TA6LStFJuFP2qiPqYGnorJAHIikFIecxLmetw0Y2nZixE/E6zRp3r73Nhdi +WbkiNf3hX1D2/Y8bh5tH+HnVDuqM1c4fHupYH/YLYn4/97aM1hrmlxHGC9CtHyX30VH XIBQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=tGPbKqa1; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-171316-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-171316-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id lu18-20020a170906fad200b00a59af9f8acasi3667901ejb.259.2024.05.07.05.52.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 May 2024 05:52:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-171316-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=tGPbKqa1; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-171316-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-171316-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 C4F221F266EA for ; Tue, 7 May 2024 12:52:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8322215D5A1; Tue, 7 May 2024 12:51:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="tGPbKqa1" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 976D315B12B; Tue, 7 May 2024 12:51:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715086315; cv=none; b=EJ7vIS8n6pddTFFIJWMYOgskVHeR2ivq0ibgYbgx0KrvGhLgTaOn8t8lxm2l5PuAoOJfmEl2r1dZ0ZfFPvYdHZ+bBfkF0j6WQ9t14J5HfO6sibpC9rkx68ZXQV4zPHDpbbJINp4Yk1Cjt3UDt6Rsi+dn8xNONnWFEYKt57K6Di0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715086315; c=relaxed/simple; bh=YkrG41OUg30UlrJKdM2bXKdavDQXZarnRBrRAJenv4U=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=gMYeNzV63szQv+ZoaQ9fzc6TdJMniSSdwgGVn75+TJoMphCrm+JRI0oYMN8Rm6n37tb+PRgvQLs9PzLAsR6vRs2aQOFXWdM3QKLEAUz5SjgY3J/fIwwD1hFcTLDAPoXu56Mt/COfjjAkkq6nPskdirzuYNsnUOJD+5SY4+yP6sU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=tGPbKqa1; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 23982C2BBFC; Tue, 7 May 2024 12:51:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715086315; bh=YkrG41OUg30UlrJKdM2bXKdavDQXZarnRBrRAJenv4U=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=tGPbKqa1QRN6Q8vFBcvwfLx5Wt0iXO2sD7KX/SqIxxdt7QCFRTz59ORppTJzP/E5E E+o5R2lTJKTnve0vuPp7cVVXZpzmLKXIOrZArK+Q6i6BeGTxTLNoaeobynnF1zW6pa pM1WTbYOysJHbgGRcD6z3H5idi+XFleUZu9ys5UFfGq503If2Ob2d2b7XpQsPM3a/a 8q7Dj6g32Y+2DS+lXznIz4TvIhD3GdvEFdo5CyO1TwZs8vZxnqlpsymVbhUdvB7Lqk 3fyNLOhyfENEckwYD0ia99Ne2XOAtcLZPo/G7tTHXEx474rUyeyQnlHsdZ7DosI1LZ LXSrzSxeS8jnw== Date: Tue, 7 May 2024 07:51:52 -0500 From: Rob Herring To: =?iso-8859-1?Q?Th=E9o?= Lebrun Cc: Krzysztof Kozlowski , Conor Dooley , Michael Turquette , Stephen Boyd , Philipp Zabel , Linus Walleij , Greg Kroah-Hartman , "Rafael J. Wysocki" , Lee Jones , Thomas Bogendoerfer , linux-mips@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-gpio@vger.kernel.org, Vladimir Kondratiev , Gregory CLEMENT , Thomas Petazzoni , Tawfik Bayouk Subject: Re: [PATCH v2 03/11] dt-bindings: soc: mobileye: add EyeQ OLB system controller Message-ID: <20240507125152.GA38845-robh@kernel.org> References: <20240503-mbly-olb-v2-0-95ce5a1e18fe@bootlin.com> <20240503-mbly-olb-v2-3-95ce5a1e18fe@bootlin.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20240503-mbly-olb-v2-3-95ce5a1e18fe@bootlin.com> On Fri, May 03, 2024 at 04:20:48PM +0200, Th?o Lebrun wrote: > Add documentation to describe the "Other Logic Block" system-controller. > It deals with three platforms: EyeQ5, EyeQ6L and EyeQ6H. First two have > a single instance, whereas EyeQ6H has seven named instances. > > Features provided are: > - Clocks, children to main crystal. Some PLLs and divider clocks. > - Resets. EyeQ6H central, south, DDR0 and DDR1 do not have resets. > - Pinctrl. Only EyeQ5 has such feature. > > Those are NOT the only registers exposed in OLB system-controllers! Many > individual registers, related to IP block integration, can be found. > > We simplify devicetree references to OLB in two ways: > - Compatibles exposing a single clock do not ask for a index argument. > - Compatibles exposing a single reset domain do not ask for a domain > index, only a reset index. > > About pinctrl subnodes: all pins have two functionality, either GPIO or > something-else. The latter is pin dependent, we express constraints > using many if-then. > > Signed-off-by: Th?o Lebrun > --- > .../bindings/soc/mobileye/mobileye,eyeq5-olb.yaml | 375 +++++++++++++++++++++ > MAINTAINERS | 2 + > include/dt-bindings/clock/mobileye,eyeq5-clk.h | 21 ++ > 3 files changed, 398 insertions(+) > > diff --git a/Documentation/devicetree/bindings/soc/mobileye/mobileye,eyeq5-olb.yaml b/Documentation/devicetree/bindings/soc/mobileye/mobileye,eyeq5-olb.yaml > new file mode 100644 > index 000000000000..bbd75b81166e > --- /dev/null > +++ b/Documentation/devicetree/bindings/soc/mobileye/mobileye,eyeq5-olb.yaml > @@ -0,0 +1,375 @@ > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/soc/mobileye/mobileye,eyeq5-olb.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Mobileye EyeQ SoC system controller > + > +maintainers: > + - Gr?gory Clement > + - Th?o Lebrun > + - Vladimir Kondratiev > + > +description: > + OLB ("Other Logic Block") is a hardware block grouping smaller blocks. Clocks, > + resets, pinctrl are being handled from here. EyeQ5 and EyeQ6L host a single > + instance. EyeQ6H hosts seven instances. > + > +properties: > + compatible: > + items: > + - enum: > + - mobileye,eyeq5-olb > + - mobileye,eyeq6l-olb > + - mobileye,eyeq6h-acc-olb > + - mobileye,eyeq6h-central-olb > + - mobileye,eyeq6h-east-olb > + - mobileye,eyeq6h-west-olb > + - mobileye,eyeq6h-south-olb > + - mobileye,eyeq6h-ddr0-olb > + - mobileye,eyeq6h-ddr1-olb > + - const: syscon > + - const: simple-mfd You are getting rid of the child nodes, so you shouldn't need simple-mfd any more. Rob