Received: by 2002:ab2:3141:0:b0:1ed:23cc:44d1 with SMTP id i1csp1900861lqg; Mon, 4 Mar 2024 07:12:05 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWxcncAL4RBBKesBvPQkpTD46/cFNA8LynnOUy1+HhSQgtiU/fCkadoeoRH6oa3bme4rhACRFWuyw4JMGt8JXVz8bKcJDGi70w1Oa9Jxg== X-Google-Smtp-Source: AGHT+IEU0BmjGoxv73sdkbWqCfsmaMdw7U4+AfGXpDGYVkn4dHn/+zZYzoFpjRdZDknZ/QH1D/bo X-Received: by 2002:a05:6a20:9193:b0:1a1:4734:5c7c with SMTP id v19-20020a056a20919300b001a147345c7cmr8968676pzd.8.1709565125243; Mon, 04 Mar 2024 07:12:05 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709565125; cv=pass; d=google.com; s=arc-20160816; b=q3NBepXDkbrGnTzOEKzLNe/dLZc5DmTpCirn0zq5ncil04vFrxKZqe4RIDloTM/qv0 hH+qoNAwaktbvGJaX0+bL2q1bui4tmrc9mqDnr5Q6FGRJKSAg4Y3zLpNRSLhqDBUQ7mj Sl9xA/63/wWUEZAV02bdzFFjciGgESmi1VXFgDgrvbHYUO5LSumGgoJfS1zNwX1WD9I9 l8s1ncoSXh0072b6WCeoQQBHRzVp+vYLInhDMYBYW8wHvYka44wA8rwKGGyFHFwo9X6O oJgRfIdl+6XCxKe40+s+yO8CO0npuX50waO+XdfZguIDdHvCi9yAMcuFTWC1/A4ok+gh Mpag== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=mlDc7k0/qg7iRNpbtrbrZIKJVKVgT62XM69Yy1Z5v2c=; fh=fUbOHj3GsKYly5ELv+ID/MwPi4kMziDNyPlpzFIm/NE=; b=Qea4yepk8g7mC4l7RnReDqZ9RGJQvtckeoLHL3Hj8CvIEHLOobUP4ePJkX0uEAuqKy diO8g7GoQ7fNiIj6kB+K7Z2SUj3jSTAOwhOS+lhVNnS9CpT1oD3DQTbIul5itrgC91y1 TMEyVTLA1Kk9eABn8C6cRdEGSxJm9/gckfY3OtxxW5KeIg31ZS8UEt1g0szBdCZustMS kIAAaSZq/i7yTMxHfEqV5Z+leXJa0F7+e9q6M4vPQXJ03ORVkkmCTh3ZgMO70eOOfxfO ru5/DRI2K3ajjJVwL5TJ8ePbdKQvVjSrILDg9RqQx1TW4ZCYMX2co7fEd5AVFe3G8oqp Wy+w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=vGZN+aUG; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-90745-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-90745-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 j36-20020a63fc24000000b005dc4baf54desi8291279pgi.769.2024.03.04.07.12.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Mar 2024 07:12:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-90745-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=vGZN+aUG; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-90745-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-90745-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 3A976B219FC for ; Mon, 4 Mar 2024 14:39:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9E09F47A6C; Mon, 4 Mar 2024 14:39:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="vGZN+aUG" 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 AC5A03FE58; Mon, 4 Mar 2024 14:39:19 +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=1709563159; cv=none; b=PwoBjaO0o4c2gZlT4tdO/0iCbiNitDqK/dbMCBL3PoC+JtoSRnu/VQeicDtq8oEMZLTJxLQzKEXDq8FfH5zGw7BYvtLDOftlc8MqabqH2b93m3YM9mB2uARdq+yI5C6F8YWjCFH1JbGjJv2YQZM/z5+6LG9GzQen/TOtLVDpDsQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709563159; c=relaxed/simple; bh=jMLHce6fSNV1ibpvqXecN80o6gKL25oVTs9fW+eNgJc=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=R+hKH7pQLLklaoi+4B9wve6MO8KUA47/6GMVZu90mRqT03ELUAEZdJD6zLA8fPFIw5Z7yt4tR5x8hGzcVM+If4qv2/DB4cVoK9DMysyf/PAWk5B3GNdY1UqP3KntWGjGV9al92q8y34Ee0c93YeE3JQGXI6Y1KuuNOGMD2Lv1jQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=vGZN+aUG; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id F0AFCC43394; Mon, 4 Mar 2024 14:39:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709563159; bh=jMLHce6fSNV1ibpvqXecN80o6gKL25oVTs9fW+eNgJc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=vGZN+aUGRCHUXtaClyfB0lW2zx8oz2EnMN+dEfj6++ZyYSSPq+FTcQGe47oCabaHn hygA37nDu5yUChLQS9ebQxaY9xeRyhxwKzTewrv7ZIR2lHPrJLQZohTwDPi7lZot4D LitPMpmhwwPXWmLEsDuhowiAnSHHcTmkT3gviCMR5NFWBKnrdHVMRFmpnc7zmZBPLD +GfgdyJa6DQltRPUVE6O0V0p8Y4Cp6UoF4dXx89qS8OuIHn5/uCHo6yTci+iBzcrpM P+HtDaM2cLgfXTu/82Bbm7HMPGBl+43c1PadJmvN73yy0z16/sulhotTpO4BMongqE oVCTYKNNJftgQ== Date: Mon, 4 Mar 2024 08:39:16 -0600 From: Rob Herring To: "Peng Fan (OSS)" Cc: Abel Vesa , Michael Turquette , Stephen Boyd , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , linux-clk@vger.kernel.org, imx@lists.linux.dev, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Peng Fan Subject: Re: [PATCH v3 1/2] dt-bindindgs: clock: support NXP i.MX95 BLK CTL module Message-ID: <20240304143916.GA181628-robh@kernel.org> References: <20240228-imx95-blk-ctl-v3-0-40ceba01a211@nxp.com> <20240228-imx95-blk-ctl-v3-1-40ceba01a211@nxp.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=us-ascii Content-Disposition: inline In-Reply-To: <20240228-imx95-blk-ctl-v3-1-40ceba01a211@nxp.com> On Wed, Feb 28, 2024 at 03:48:22PM +0800, Peng Fan (OSS) wrote: > From: Peng Fan > > i.MX95 includes BLK CTL module in several MIXes, such as VPU_CSR in > VPUMIX, BLK_CTRL_NETCMIX in NETCMIX, CAMERA_CSR in CAMERAMIX and etc. > > The BLK CTL module is used for various settings of a specific MIX, such > as clock, QoS and etc. > > This patch is to add some BLK CTL modules that has clock features. This sentence doesn't add anything you haven't already said. > > Signed-off-by: Peng Fan > --- > .../devicetree/bindings/clock/imx95-blk-ctl.yaml | 61 ++++++++++++++++++++++ > include/dt-bindings/clock/nxp,imx95-clock.h | 32 ++++++++++++ > 2 files changed, 93 insertions(+) > > diff --git a/Documentation/devicetree/bindings/clock/imx95-blk-ctl.yaml b/Documentation/devicetree/bindings/clock/imx95-blk-ctl.yaml > new file mode 100644 > index 000000000000..c8974b927bee > --- /dev/null > +++ b/Documentation/devicetree/bindings/clock/imx95-blk-ctl.yaml > @@ -0,0 +1,61 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/clock/imx95-blk-ctl.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: NXP i.MX95 Block Control > + > +maintainers: > + - Peng Fan > + > +properties: > + compatible: > + items: > + - enum: > + - nxp,imx95-cameramix-csr > + - nxp,imx95-display-master-csr > + - nxp,imx95-dispmix-lvds-csr > + - nxp,imx95-dispmix-csr > + - nxp,imx95-netcmix-blk-ctrl > + - nxp,imx95-vpumix-csr > + - const: syscon > + > + reg: > + maxItems: 1 > + > + power-domains: > + maxItems: 1 > + > + clocks: > + maxItems: 1 > + > + '#clock-cells': > + const: 1 > + description: > + The clock consumer should specify the desired clock by having the clock > + ID in its "clocks" phandle cell. See > + include/dt-bindings/clock/nxp,imx95-clock.h > + > + mux-controller: > + type: object > + $ref: /schemas/mux/reg-mux.yaml > + > +required: > + - compatible > + - reg > + - '#clock-cells' > + > +additionalProperties: false > + > +examples: > + # Clock Control Module node: > + - | > + #include > + > + syscon@4c410000 { clock-controller@... As that is the main feature/function. > + compatible = "nxp,imx95-vpumix-csr", "syscon"; > + reg = <0x4c410000 0x10000>; > + #clock-cells = <1>; Please make the example as full as possible. For example, add mux-controller node. Do some of the blocks not have mux ctrl?