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 627F6C433EF for ; Thu, 3 Mar 2022 12:26:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233226AbiCCM04 (ORCPT ); Thu, 3 Mar 2022 07:26:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34510 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232881AbiCCM0z (ORCPT ); Thu, 3 Mar 2022 07:26:55 -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 870CC17926F; Thu, 3 Mar 2022 04:26:10 -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 3CEDFB82510; Thu, 3 Mar 2022 12:26:09 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B2F72C004E1; Thu, 3 Mar 2022 12:26:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1646310367; bh=B3BHZUoFkAxakpfWVy7Ovv7STmV7xnVb3Bv9zPL7UD0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=pCuj49GGDkQkoGwM+RIDo+JdR8DK8baCoyAru3+ZPTttEE/xtWzb/8uCXEzIbNsZ2 KtJhieu3p8poLHalvoNhuc+EEy9K3wZPhrGT4I17XmHId3V3qZ+jQDJFQctT2FbqCH ElR/xoO7t/AuT+OSk61bq8XYu04GEOiTqCMRMchekp3Zt+XfqhTkjG3cyI0Q6+C+fl QV08LZN26O9fltuRDrbpurCWsQtObij4/cQgDoaNAwm+/th09WTEXq1FjNS1twoJjT PnKyDyfLeTR063/BUdhA1f6+46VJ2wFj7JCSIGj4EonLz8vw0YVVtiHnZFAjU36dvq LtD8tN9jx7S8Q== Date: Thu, 3 Mar 2022 12:26:00 +0000 From: Mark Brown To: =?iso-8859-1?Q?Cl=E9ment_L=E9ger?= Cc: Hans de Goede , Andy Shevchenko , Daniel Scally , Heikki Krogerus , Sakari Ailus , Greg Kroah-Hartman , "Rafael J . Wysocki" , Wolfram Sang , Peter Rosin , Russell King , Andrew Lunn , Heiner Kallweit , "David S . Miller" , Jakub Kicinski , linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org, linux-i2c@vger.kernel.org, netdev@vger.kernel.org, Thomas Petazzoni , Alexandre Belloni Subject: Re: [RFC 00/10] add support for fwnode in i2c mux system and sfp Message-ID: References: <20220221162652.103834-1-clement.leger@bootlin.com> <20220224154040.2633a4e4@fixe.home> <2d3278ef-0126-7b93-319b-543b17bccdc2@redhat.com> <20220224174205.43814f3f@fixe.home> <20220303094840.3b75c4c9@fixe.home> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ot7L5NG/LQsDdHwB" Content-Disposition: inline In-Reply-To: <20220303094840.3b75c4c9@fixe.home> X-Cookie: Password: Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org --ot7L5NG/LQsDdHwB Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Mar 03, 2022 at 09:48:40AM +0100, Cl=E9ment L=E9ger wrote: > Instead of making it specific for swnode, could we make it instead non > working for acpi nodes ? Thus, the parsing would work only for swnode > and device_node, not allowing to use the fwnode support with acpi for > such subsystems (not talking about regulators here). *Potentially*. I'd need to see the code, it doesn't fill me with great joy and there are disadvantages in terms of input validation but that does address the main issue and perhaps the implementation would be nicer than I'm immediately imagining. > If switching to board file based mechanism, this means that all drivers > that are used by the PCIe card will have to be modified to support this > mechanism. You should be able to mix the use of board file regulator descriptions with other descriptions for other bits of the hardware. --ot7L5NG/LQsDdHwB Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmIgs9cACgkQJNaLcl1U h9CCDQf+NV5Fk1jewvCyw3G34WWQh95R6QE48mTxBv/1+F9d9hwDTq4abojmWB2A hhd5HoCBN1k71bQJUJz60ERbP7RGMOKnPBBKRMHNDiPIeTpP9gRZvw5c4E+YZD0l MPEtVE6bcPrKstw5eGmn3YC0Sh9V7NkpLZN3xz0NBToEjT92curG0Mq1x3y93OxH 44F1DxZnMbZYU6pvcaZhloCCt9qApNua1kukHYcYPquii7yIC87xEYC/sqZLn6Tn LZFkhQo8QpkEWzGPiMdJJgQuABK36vk6LGVHKj1jPOztuZX7NPT0oQiYsWVXYR/M XgmoV02ViiGGoaAieUpYB1F2ex6UEg== =y3p8 -----END PGP SIGNATURE----- --ot7L5NG/LQsDdHwB--