From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C1171C433FE for ; Thu, 3 Feb 2022 11:28:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349855AbiBCL2i (ORCPT ); Thu, 3 Feb 2022 06:28:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44650 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238011AbiBCL2i (ORCPT ); Thu, 3 Feb 2022 06:28:38 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 39DC4C061714; Thu, 3 Feb 2022 03:28:38 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id EEA19B8339D; Thu, 3 Feb 2022 11:28:36 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8CDEFC340E4; Thu, 3 Feb 2022 11:28:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1643887715; bh=COBWLwcvaTKIWzrOUANpuFO9WSzhU9FhS0VUHIshlV4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=KX4egKwcJHnFYFMcluZjjHnbkdk1/gVrGHQHLahtyR3oV2gFSQSskLLiR6xgRoy8Z X+nA7fl5bITNU3brrXT7HvyrL/ncs1/2xOwr8EGf+Dzy7k228bLkzWaFqCOnNMBVQQ vZUIMXUQLdDmL33jTUg7cCn2NWMi7xB6UGyG/T7Sdt7aJ6mKK9Sd/b1FK5FWzvgq+Y mY3stX9tHGzc/whzQfnKrFQRfG2J0sy/ac4u2qfBlStBpkhan8sCw5zEMKx6KG7cen pBN9KQtNRULx9zjr+Y9pJ18U6Ea+9NaM1HUaSa7Cdv6AIklINZUrgfDvCysGm/bPsv WElpX3oY6h8Cg== Date: Thu, 3 Feb 2022 11:28:30 +0000 From: Mark Brown To: David Collins Cc: Rob Herring , Sudeep Holla , devicetree@vger.kernel.org, Liam Girdwood , Cristian Marussi , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Subbaraman Narayanamurthy Subject: Re: [RESEND PATCH 1/2] dt-bindings: firmware: arm,scmi: define support for name based regulators Message-ID: References: <8355035c-6d90-adfd-c4e1-7bb37a2d8055@quicinc.com> <532aa931-2471-8fb3-0db4-7ab8a60333e8@quicinc.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="FHEHOoLIGiZXymy0" Content-Disposition: inline In-Reply-To: <532aa931-2471-8fb3-0db4-7ab8a60333e8@quicinc.com> X-Cookie: Prices higher in Alaska and Hawaii. Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org --FHEHOoLIGiZXymy0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Feb 02, 2022 at 04:09:43PM -0800, David Collins wrote: > On 2/2/22 9:38 AM, Mark Brown wrote: > > This seems like a scenario where the DT should be being generated at > > runtime along with the virtualisation of the platform? TBH a setup > > where this is an issue feels like it's asking for trouble. > I'm not familiar with runtime device tree generation. Could you please > point to an example of it or documentation for it? How would this > handle kernel devices on the VM side which need a phandle to an > scmi-regulator DT subnode in order to get a pointer to the corresponding > regulator device at runtime via devm_regulator_get()? I believe qemu does this for the virt machine. I'm not sure what you're seeing as particularly complex about generating regulator links in particular though? --FHEHOoLIGiZXymy0 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmH7vF0ACgkQJNaLcl1U h9DDlQf/YzYI3j06uft9Q3I/6yHQsgA1u1k5QKi5P1/6CCVe1u9jdfsaqOkfERqv 9ccQrebFf9XObnh7/UjdJmQn9+QrDN9iWRah/6relqDKvVBZY8dtsRVhPNnDhr9w U+GBwujVRrY/F6mVxK2wst8PqsWlxpf8BC12NY52c7fKgF8cm54mEUVNpIBrAGun 9eGAl5GqqfFw0a1FlS3eCzDUmv1ptqI+DWXanrUQLhLejUpfiVwLxQmFqXkOitL5 6uH+oZ8/xYYOHS37NK4nXzVY+uonIvw5AghpXC0c3cGHGqHjTGE6AVlDfkG+9jGW leW8W1h5fAeK60ebJ7sOibX+OoIU/w== =xs8h -----END PGP SIGNATURE----- --FHEHOoLIGiZXymy0-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0E760C433EF for ; Thu, 3 Feb 2022 11:29:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: Reply-To:Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date :Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=a61aPqzyG9MRRgpvVgZngI+zMs97zzzrc5Gndlt6y7A=; b=2Nfg9vR7wQQvZpg4JTcpc8a7sd oAGK8x1j7h7BmezmtBV+ZJjPPXIJkz84dF02HsfmKzYZVU3fYvz2uGRWgmD5T3o1YTemRu1jBHYkF vB9oujB55yjMf6y5hVtocCasQniFn1TMlw7pDOPFmS2x6vl+HVLNLms1yNQ1/ZCzc6SmD4zuFZL4n xO1XPVqryfLUt6kFxdzkeR5/6RlYlrPoER3ESmV5iCYoKS86FKHjDQvO6hTfd24KiY/eLRMwbIWq9 a5kA1r0SIKVNtQdZgkUkooEgt1BbTiddqC0dtUclCT48LaExZ1i55/taBrXnLjZ+Q6i2FwlyyOwyo jKVXMcCw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nFaI7-000yc4-0v; Thu, 03 Feb 2022 11:28:43 +0000 Received: from ams.source.kernel.org ([2604:1380:4601:e00::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nFaI2-000yak-Dp for linux-arm-kernel@lists.infradead.org; Thu, 03 Feb 2022 11:28:39 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 0AA0FB833D7; Thu, 3 Feb 2022 11:28:37 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8CDEFC340E4; Thu, 3 Feb 2022 11:28:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1643887715; bh=COBWLwcvaTKIWzrOUANpuFO9WSzhU9FhS0VUHIshlV4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=KX4egKwcJHnFYFMcluZjjHnbkdk1/gVrGHQHLahtyR3oV2gFSQSskLLiR6xgRoy8Z X+nA7fl5bITNU3brrXT7HvyrL/ncs1/2xOwr8EGf+Dzy7k228bLkzWaFqCOnNMBVQQ vZUIMXUQLdDmL33jTUg7cCn2NWMi7xB6UGyG/T7Sdt7aJ6mKK9Sd/b1FK5FWzvgq+Y mY3stX9tHGzc/whzQfnKrFQRfG2J0sy/ac4u2qfBlStBpkhan8sCw5zEMKx6KG7cen pBN9KQtNRULx9zjr+Y9pJ18U6Ea+9NaM1HUaSa7Cdv6AIklINZUrgfDvCysGm/bPsv WElpX3oY6h8Cg== Date: Thu, 3 Feb 2022 11:28:30 +0000 From: Mark Brown To: David Collins Cc: Rob Herring , Sudeep Holla , devicetree@vger.kernel.org, Liam Girdwood , Cristian Marussi , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Subbaraman Narayanamurthy Subject: Re: [RESEND PATCH 1/2] dt-bindings: firmware: arm,scmi: define support for name based regulators Message-ID: References: <8355035c-6d90-adfd-c4e1-7bb37a2d8055@quicinc.com> <532aa931-2471-8fb3-0db4-7ab8a60333e8@quicinc.com> MIME-Version: 1.0 In-Reply-To: <532aa931-2471-8fb3-0db4-7ab8a60333e8@quicinc.com> X-Cookie: Prices higher in Alaska and Hawaii. X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220203_032838_630835_7EEE675E X-CRM114-Status: GOOD ( 20.61 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============8331692849475176344==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============8331692849475176344== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="FHEHOoLIGiZXymy0" Content-Disposition: inline --FHEHOoLIGiZXymy0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Feb 02, 2022 at 04:09:43PM -0800, David Collins wrote: > On 2/2/22 9:38 AM, Mark Brown wrote: > > This seems like a scenario where the DT should be being generated at > > runtime along with the virtualisation of the platform? TBH a setup > > where this is an issue feels like it's asking for trouble. > I'm not familiar with runtime device tree generation. Could you please > point to an example of it or documentation for it? How would this > handle kernel devices on the VM side which need a phandle to an > scmi-regulator DT subnode in order to get a pointer to the corresponding > regulator device at runtime via devm_regulator_get()? I believe qemu does this for the virt machine. I'm not sure what you're seeing as particularly complex about generating regulator links in particular though? --FHEHOoLIGiZXymy0 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmH7vF0ACgkQJNaLcl1U h9DDlQf/YzYI3j06uft9Q3I/6yHQsgA1u1k5QKi5P1/6CCVe1u9jdfsaqOkfERqv 9ccQrebFf9XObnh7/UjdJmQn9+QrDN9iWRah/6relqDKvVBZY8dtsRVhPNnDhr9w U+GBwujVRrY/F6mVxK2wst8PqsWlxpf8BC12NY52c7fKgF8cm54mEUVNpIBrAGun 9eGAl5GqqfFw0a1FlS3eCzDUmv1ptqI+DWXanrUQLhLejUpfiVwLxQmFqXkOitL5 6uH+oZ8/xYYOHS37NK4nXzVY+uonIvw5AghpXC0c3cGHGqHjTGE6AVlDfkG+9jGW leW8W1h5fAeK60ebJ7sOibX+OoIU/w== =xs8h -----END PGP SIGNATURE----- --FHEHOoLIGiZXymy0-- --===============8331692849475176344== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============8331692849475176344==--