Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp1057219lqo; Fri, 17 May 2024 09:21:52 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX+0uaetZNNgvTqVG19IJDcXXuo4U7my+g3EJkxSZ0Lgqtgat2A4jxp5YJn5R1cbRyYDpjG0i3ehAT7HfE4RHalKOMLvAKao65/iDW/Rw== X-Google-Smtp-Source: AGHT+IEYE1j4z4090YCGCJ2MklSJyVPooM7QXcklJ/FX0N0sX1s6Opq8csrGnZZ1VBrFQJMkryNJ X-Received: by 2002:a05:6a20:3c90:b0:1b0:1ce1:e7aa with SMTP id adf61e73a8af0-1b01ce1e8eamr9888729637.52.1715962911660; Fri, 17 May 2024 09:21:51 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715962911; cv=pass; d=google.com; s=arc-20160816; b=ZBd7VNXYU9uLYC451BjaJf89ufFckBfItmXZGO1jcf9bizZmjHh20qDnOcVE9b8VZ0 2Ae/63Q4NfkafO9EvG/EYvw4BoRsbzmtSZf4AGhT11xhkWnTVcKbt86gNib/JX2iOxRv nMYMKJbI3YKg2ox9dNhaNR1cCmXe9YaWuFeJhTGteNLVyBC20obg+W9l/jtixDU2ts+g aEYRmvBR0tCL5BqldCmbFbR5vNYGNhQ/amMIk6fehGAlJNN+n9aU2qq3rw/NXepofINS 95MHmiu37TdSn810fKxgh6gEVBlwOM4jvevTDbLiID8D9Jnb3xh1W8aWQ+0rSNcvkXoR 8+KA== 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=HQ8F06RYSrV2WLbv4tPcD0Q3+Eot/VozmGCK2wB8CkM=; fh=SEyGqvyYuGnaS0b03Wnpz5CHR67Je06veDJOPXIzBEU=; b=Pz1aqXRoL6kCxmSpRk2jn4qggNyySa9Dq+OaWn+roXuIJGpfdv3FA0nq9yHmmQch8X h7lfx0pfv0goZwPOMYS395iCH40rPO5ISwLs/77+T4yDNLfe4JJBwhreOvFmKM2xAYCh ZXskaw70mCoCm84hNKSxnYn8ozfUJVmLO8VCSKFHXmo8dT6EeohEFBsSAT2cVKVns7Di 56YBxF/KRR5DGUdOhq6P1w8+2k4xAOaGsM44/43R6zvL024Ay9uR4/137HsYx6Drjzfy yLsQKYcJyX7x3pqigqStkYm4jm3BnD1OqTmY351Yg3xGcsYOFABITR8NRIEskk0D+958 gl+g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="ExOhwA4/"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-182344-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-182344-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 d2e1a72fcca58-6f4d2b3fef0si15973277b3a.310.2024.05.17.09.21.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 May 2024 09:21:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-182344-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="ExOhwA4/"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-182344-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-182344-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 2F237B226B9 for ; Fri, 17 May 2024 16:21:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E2D2212FB37; Fri, 17 May 2024 16:21:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="ExOhwA4/" 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 0ACF23D9E; Fri, 17 May 2024 16:21:38 +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=1715962899; cv=none; b=Rmp10eGwn/zBANl4Mg5vauplHXs2WOlEvGnnC04jX3B9dU8Ua6EIyRJ6dpr1GMdEExqYTTfn36du/e8jr9pjfTJkrlewrvhHfFUMoaSdRddZZIcHhXXJB4wo6310r6sgtZYqyiVKWnDGffIQkKnMUSUOmH3DaiQ6trY5mRCX/Uk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715962899; c=relaxed/simple; bh=ev4iq0Wee83dklHI+OARRnVpV0x2gsj2uuRc45D2WZY=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=uG4opFzTSExstBxQVwkPiaWy083z8ytG55UqgRUcapJQiZgBJAwzWg3W+PMTTUiDvw5h9PyTuPMhFjCgVCYRnIZ3YupOSQVo1DOtzjMy+NYqPUrYrTjmauf1jZlnsot46Fx4/MqCxCEyDup9dkmVFBYApxh2LL9ehvqpmyA+/Qg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=ExOhwA4/; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7FA85C2BD10; Fri, 17 May 2024 16:21:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715962898; bh=ev4iq0Wee83dklHI+OARRnVpV0x2gsj2uuRc45D2WZY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ExOhwA4/ipTySjT0ECd1wWMW5Kl3Pcyuq5QrppMjN3DvW5Fn4NUMhCywmBrhKZ3Hs BsUu1wWti+XNrDVa7af5bpLsVi5tRPXr5+cW2CRMpZ7yLQBahwWHZ5tDkiue3EbZ4N DznDUsvQvrMemqHNFIFh025x2Hk/hHDZ1H890T17ANQP0MZ90JT7d4G1N9JqoRDE40 YSZMcl/cr+zQ6qgz7TWSpF30POu+9RJ4phasKo0jU3LOtui5FSkSNpUgsGcv976i3U x1scDCIp3sJQJ5HsQ4sVlI4uT5jMrPGdvsfEqRvL8k2IJbBBRkEnsb3WI0SnncWX/V YtauH1OnC/gSg== Date: Fri, 17 May 2024 17:21:32 +0100 From: Conor Dooley To: Frank Li Cc: Shengjiu Wang , Stephen Boyd , 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 Subject: Re: [PATCH v3 3/6] dt-bindings: clock: imx8mp: Add reset-controller sub-node Message-ID: <20240517-gristle-dealt-56b5299b9cb8@spud> 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> <20240515-unbundle-bubble-8623b495a4f1@spud> <20240516-reversing-demeanor-def651bc82ac@spud> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="4Mu3zHPEQUMLHGbO" Content-Disposition: inline In-Reply-To: --4Mu3zHPEQUMLHGbO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, May 16, 2024 at 11:56:27PM -0400, Frank Li wrote: > Look like it is easy to register auxdev "reset" devices. But I have a > problem. How to use it by DT phandle? "reset" devices is service provide= r. > Some client will use it. >=20 > Generally, reset node will used by other devices nodes. like >=20 > ABC: reset { > compatible=3D"simple-reset"; > ... > } >=20 > other node will use "reset =3D <&ABC 0>". If use auxdev, how to get &ABC > in dts file. Whether or not you use auxdev or any other method etc, does not matter in a DT system, the consumer will always have a phandle to the provider node: ABC: whatever { compatible =3D "whatever"; #clock-cells =3D <...>; #reset-cells =3D <...>; } something-else { clocks =3D <&ABC ...>; resets =3D <&ABC ...>; } --4Mu3zHPEQUMLHGbO Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZkeEDAAKCRB4tDGHoIJi 0v3KAQCtuCid5sZZRxVDSl1pghCdok/Ij++faKx/8/xcdIVx4QEAkSXxvCVqt5ZY 2QTIu2jbkFxOScBwUQAQ57aJiG/iKQg= =riPG -----END PGP SIGNATURE----- --4Mu3zHPEQUMLHGbO--