Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp96330rdd; Mon, 8 Jan 2024 19:44:57 -0800 (PST) X-Google-Smtp-Source: AGHT+IGFGTMN+x4eMTy/nM8nrHRTTUgdFWmTL7KFyM6PEkOm9tXOglYcvRq7BIUw6w8JB9bsxKgp X-Received: by 2002:a17:902:6805:b0:1d4:4b09:6b6a with SMTP id h5-20020a170902680500b001d44b096b6amr4244279plk.134.1704771897043; Mon, 08 Jan 2024 19:44:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704771897; cv=none; d=google.com; s=arc-20160816; b=n9ypey3fjQDNf20of1wCBzCxewHfXDapXSqMF9zjbUduac290pmMZBy2oadTqsBE2Z C/JALbMOKluCd420ElTHzU0OQpgaqH3Dv035zSsp17mrKu0rmDVEP7XaZfye/rkvGXq1 F6srHbS4PyfK09tYYA874Mf85CCNmYlNun0TEAJ/PAJSyoMGbSJ4sTHZKVQ3UVdniqSt oxOvIngj7voIVCPt1TM8mCaX/XGVUqeGU+nP0rg5GNbyLS2fN6vZdalCouF7sqQ4bE2z DOlwmTyt4E3+JUeVSgb3fED394TShGJrQftFEUq3zA5AFIiPS5Pr8hLNImqwwWc+s3ps Iwlw== ARC-Message-Signature: i=1; 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=9ZCKdCY7dZUptjAPnfgS7d9IYKDmgJZ1iiawG9XJExA=; fh=8inixIWhdjaI51iL+AQpeTmHtvdZQzkMiuvEgU5nhHo=; b=JBOnzEtd5tbDXlQ9HpJAgLRICfchrljg7U8X7WUiVesb21TPUCyptbFT8ITUgdGpNm rSNGxtbrhVbUoSsKnCcnU+JLkleTvgdUDSlJ/UVoA2LYj1K3qjMaq61sdaoA756t+P22 b9wR8exn7jMSn3zJ5akmuByu1eN0Chu/gmFwYYxb/dIwVwvhJbwXPE0tnHKqLwRGjpGY UvYQZfJh4zbP04XTZQW5zmlEtPXNdaOFSRzH/PjO64ZZ9mjRxjQRQxS+1udmpsPuWh9G X9oSwRalzAiFG07oD6FNVP/XOPrCzsMZMF5Ui+Ud3/GaTPjClBPsU1eXgSDeImqbfjYi 8sUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="o8X/WAVE"; spf=pass (google.com: domain of linux-kernel+bounces-20335-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-20335-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id w4-20020a170902e88400b001d4abccef2asi868641plg.139.2024.01.08.19.44.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jan 2024 19:44:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-20335-linux.lists.archive=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=@kernel.org header.s=k20201202 header.b="o8X/WAVE"; spf=pass (google.com: domain of linux-kernel+bounces-20335-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-20335-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 95648B22AA3 for ; Tue, 9 Jan 2024 03:44:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4DFEB5395; Tue, 9 Jan 2024 03:44:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="o8X/WAVE" 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 714954418; Tue, 9 Jan 2024 03:44:12 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 56FEEC433C7; Tue, 9 Jan 2024 03:44:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1704771852; bh=7dVhBfoj72xsHQ2yfVCr8QOzBAyZHEiGfUpeWkbrrjM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=o8X/WAVERCS50ITivwMC8tmQjNyQizua4YXT04dohjGZCuDqmMMIGo3ST5mH0n4nS wdtI4SaJaNfKJYTTydj5JW0Te1ZJTebnIxr0aQfJVQ19RYdYZh6cmwGA48GGJ5GBU0 sgb/Ap/hwIs6NClER3bjPiL/JdNifxgvZmigjq4Ez3S2HaBjmFb4f2w5/gOag2/CpZ Ud72sum5Ms+QT9NJtUX073pp7nWFVzVw8UYQX5X4HDy0c/YlQS0N4okMftf3tjuomX N/n2ohUyG86mH2p/sZeT0bQy4VHGZAydhDVodzUt/TNlApBg8329KKF+G476+7R72G LsipTg1Y8nEHw== Received: (nullmailer pid 2601202 invoked by uid 1000); Tue, 09 Jan 2024 03:44:10 -0000 Date: Mon, 8 Jan 2024 20:44:10 -0700 From: Rob Herring To: =?iso-8859-1?Q?Th=E9o?= Lebrun Cc: Gregory CLEMENT , Michael Turquette , Stephen Boyd , Krzysztof Kozlowski , Conor Dooley , Thomas Bogendoerfer , 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 Subject: Re: [PATCH v2 3/6] dt-bindings: soc: mobileye: add EyeQ5 OLB system controller Message-ID: <20240109034410.GA2585123-robh@kernel.org> References: <20231227-mbly-clk-v2-0-a05db63c380f@bootlin.com> <20231227-mbly-clk-v2-3-a05db63c380f@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=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: On Thu, Dec 28, 2023 at 03:57:55PM +0100, Théo Lebrun wrote: > Hello, > > On Wed Dec 27, 2023 at 7:27 PM CET, Rob Herring wrote: > > On Wed, Dec 27, 2023 at 10:24 AM Théo Lebrun wrote: > > > > > > Add documentation to describe the "Other Logic Block" syscon. > > > > > > Signed-off-by: Théo Lebrun > > > --- > > > .../bindings/soc/mobileye/mobileye,eyeq5-olb.yaml | 44 ++++++++++++++++++++++ > > > MAINTAINERS | 1 + > > > 2 files changed, 45 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..b148a49b08f1 > > > --- /dev/null > > > +++ b/Documentation/devicetree/bindings/soc/mobileye/mobileye,eyeq5-olb.yaml > > > @@ -0,0 +1,44 @@ > > > +# 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 EyeQ5 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. > > > > I don't see resets or pinctrl in the binding. Please make it complete > > whether you have the driver or not. > > > > As-is, you don't need clocks to be a child node. > > Will do. Would it make sense to have the three drivers be a single > series? You could, but doesn't have to be. Just make the binding complete. Whether you have the drivers done is up to you. > Else we could have the dt-bindings be part of the base platform > support series[1]. > > [1]: https://lore.kernel.org/lkml/20231212163459.1923041-1-gregory.clement@bootlin.com/ > > > > +properties: > > > + compatible: > > > + items: > > > + - const: mobileye,eyeq5-olb > > > + - const: syscon > > > + - const: simple-mfd > > > + > > > + reg: > > > + maxItems: 1 > > > + > > > + reg-io-width: > > > + const: 4 > > > > Why do you need this? It is not a generic block and can only ever be 1 > > value. > > This block is still a syscon in the end. I wanted to explicit that > access width must be 4 bytes and nothing else. > > Does you question mean you think I should be removing it? Yes. It can be implied by compatible. Rob