Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp632570lqo; Thu, 16 May 2024 17:39:19 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVlyeOHmzRcjeVgd3EdGqVRQ/yAhOd2BX4oUMqM+MA5RKxTjL0R2+40CkR86t20rVrgrbQ5HYoFQfAYswqhiUqhuIOxg8pwqBICb4EvVQ== X-Google-Smtp-Source: AGHT+IEXqrqjRJRd0aMfH4VR2ReKjzcVLWvl7DxmC6g/DS0A/z4fj0RJD/Nu3tKTYGe3QBYhCaAZ X-Received: by 2002:adf:e649:0:b0:34b:81b3:2c62 with SMTP id ffacd0b85a97d-3504a73e850mr12934774f8f.35.1715906358836; Thu, 16 May 2024 17:39:18 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715906358; cv=pass; d=google.com; s=arc-20160816; b=SW4foeTBuO4a5LDY6fgkYpYDUAaH9OWxZP2FG33zUupnZ3OL3Hp7t27AILnSwTLT+k nwmBv03f0bwP0aM3WXxhOqxgz8AA3vE9k7Z5ygb0X6WFAp/fHfPPID58P3GgZNur2cxs HckcTBXsu7C3aevtuPPZuDdlo27qUjDOn61+FpviXVlMyIKawaTZ2w06R32y/iYyMRv0 ELEUgzztU0S+ocRj+P0tjtVAI4Lca9xo7wIZmwP8Rylx+T8H4laqIXldLyJzHAsqG9RK WIoPjnhc81Hg6KSDe8zOYXHiWknyEBQJbOy9nLRdAZynD/1+m/ZBg6A+Z+Ot8IGoQOET kdAA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:date:to:cc:from:subject:references:in-reply-to :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:dkim-signature; bh=AkppNG80aBRp9ArOwBd4JLD0wQ02cdWsenO7SdJgn34=; fh=c/fqpA32cwcU/BKe497kDsPiyoKaacYfWAzWmzTK7iY=; b=CeX/rntNWBTpTIqvZ4hfVeSX5pM5ogBEETO7zeEvSvU1PmoUA9i5TQc3CCRBmfEHmi ZrlT2cqvk4oHdyAe2zgz8UB+9Yq4wQTaHcRsUBGDoDkaDSBbkTsy2GS7Nt2mjaGMXbjw C9223LU+JbSxz0kTGLqdyzE9ai4Z7qmHQDRcQe9bcXBoinO1b/mqnhhdwDDJe1oD+gfg TfiS3a5ElldNagoF/KXxzKAiOK9p+20mj1NZfqZW3Iz6OIB6ervOoyuMWk22iBEd/fyj yC8wUGAvb2yuPadlqojpS4oSbG7GkSAiLO/BBQgUuHTTwwE4YOElQGHQdDR9rBHKc+4E Ct/A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=oCYkYbWW; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-181659-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-181659-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. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-574be5808f1si5778407a12.149.2024.05.16.17.39.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 May 2024 17:39:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-181659-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=oCYkYbWW; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-181659-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-181659-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 911791F22C41 for ; Fri, 17 May 2024 00:39:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4AF13EC4; Fri, 17 May 2024 00:39:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="oCYkYbWW" 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 616107E2; Fri, 17 May 2024 00:39:07 +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=1715906348; cv=none; b=Ir7MkpLVcP6LDpfX9nCtmxGg/v4J0yQ4fmBDfpf470+mIXt3Aj01ip8dtXRLLjRc1aYmamhzuxVf4JG6NeR8xb0IO12lH9bhegqD/5hke1/B3LYmSmy/zDGdgWRmuzqs/1YnOj6vJBW9O9CQdPSbG3iARAOxqGia3UN2Uj44eGs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715906348; c=relaxed/simple; bh=gG0rBTgAalNSQOb8EKbB7cQc3gWTqoJxB0I5m2D5WKk=; h=Message-ID:Content-Type:MIME-Version:In-Reply-To:References: Subject:From:Cc:To:Date; b=IYTf7xa1Zegm0miC4TEcHJA6xwEGVOIYSbxtV2gjp7c+RgwAWsEIPv1qIpUlz4z6dXRMYkuDYNeig+u1INkjK/x8zbPpTBlPe1VMadh4E4Q6kGP9xkCSkuaNLALRsZuObmyIaZcWRt0Kd+Tqieth+AAibTCeLzrASatc4b0IEGc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=oCYkYbWW; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id BA5AEC113CC; Fri, 17 May 2024 00:39:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715906347; bh=gG0rBTgAalNSQOb8EKbB7cQc3gWTqoJxB0I5m2D5WKk=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=oCYkYbWWJrT/g+j+licSCJUG9wbvqC7HbhZH4ZCD25oWKeU6B3cbmxH7gN6bi/f2h 89cpqVIVSUYYxUP9IH3kJnVkdlp6vxXBRdTNEom3nAFWkHcFUBmxEkRIOo7lXt+Ff0 uz+Umd7NWSQW2hEkiQvCTUyp7c1ln0z32zQQE5MggQogEzO352UV4PfKavAYt6cB6Q 82b2T1oHS19T0HvxE1ZAY0ov6haZRAmmpbznRCdJoCeTDNBrIL+wAJ73WKygsA6wrm kKt+iOqhmnSV0tp1UBWqqs5YJJzIfFJ4SaDf2jo3lU6G1CViMIC+bUpAe1tbDrkUkj HKDX9N/V9sYIA== Message-ID: Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: References: <1715679210-9588-1-git-send-email-shengjiu.wang@nxp.com> <1715679210-9588-4-git-send-email-shengjiu.wang@nxp.com> <20240514-campus-sibling-21cdf4c78366@spud> Subject: Re: [PATCH v3 3/6] dt-bindings: clock: imx8mp: Add reset-controller sub-node From: Stephen Boyd Cc: Conor Dooley , Shengjiu Wang , abelvesa@kernel.org, peng.fan@nxp.com, mturquette@baylibre.com, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, marex@denx.de, linux-clk@vger.kernel.org, imx@lists.linux.dev, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, p.zabel@pengutronix.de To: Shengjiu Wang Date: Thu, 16 May 2024 17:39:05 -0700 User-Agent: alot/0.10 Quoting Shengjiu Wang (2024-05-14 19:47:57) > On Wed, May 15, 2024 at 5:09=E2=80=AFAM Stephen Boyd w= rote: > > > > Quoting Conor Dooley (2024-05-14 11:06:14) > > > On Tue, May 14, 2024 at 05:33:27PM +0800, Shengjiu Wang wrote: > > > > diff --git a/Documentation/devicetree/bindings/clock/imx8mp-audiomi= x.yaml b/Documentation/devicetree/bindings/clock/imx8mp-audiomix.yaml > > > > index 0a6dc1a6e122..a403ace4d11f 100644 > > > > --- a/Documentation/devicetree/bindings/clock/imx8mp-audiomix.yaml > > > > +++ b/Documentation/devicetree/bindings/clock/imx8mp-audiomix.yaml > > > > @@ -15,7 +15,10 @@ description: | > > > > > > > > properties: > > > > compatible: > > > > - const: fsl,imx8mp-audio-blk-ctrl > > > > + items: > > > > + - const: fsl,imx8mp-audio-blk-ctrl > > > > + - const: syscon > > > > + - const: simple-mfd > > > > > > > > reg: > > > > maxItems: 1 > > > > @@ -44,6 +47,11 @@ properties: > > > > ID in its "clocks" phandle cell. See include/dt-bindings/clo= ck/imx8mp-clock.h > > > > for the full list of i.MX8MP IMX8MP_CLK_AUDIOMIX_ clock IDs. > > > > > > > > + reset-controller: > > > > + type: object > > > > + $ref: /schemas/reset/fsl,imx8mp-audiomix-reset.yaml# > > > > + description: The child reset devices of AudioMIX Block Control. > > > > > > Why not just set #reset-cells =3D <1> in the existing node? IIRC it w= as > > > already suggested to you to do that and use auxdev to set up the reset > > > driver. > > > > Yes, do that. >=20 > Can I know why sub nodes can't be used? the relationship of parent and > child devices looks better with sub nodes. Don't make nodes for drivers. Only make nodes for devices. This device is multi-function, but is still only a single device.