Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp794200pxm; Thu, 3 Mar 2022 04:57:15 -0800 (PST) X-Google-Smtp-Source: ABdhPJzks2GWKXGExmH6VbLmqXp+P9Y1F3jAGtMyUKBjXRs+jCAsz5J4wl9aNBMfiuSQdtcOa4Zp X-Received: by 2002:aa7:970e:0:b0:4f6:6c73:24c3 with SMTP id a14-20020aa7970e000000b004f66c7324c3mr3508188pfg.32.1646312234674; Thu, 03 Mar 2022 04:57:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646312234; cv=none; d=google.com; s=arc-20160816; b=M3VCwMTG/g1M2UgMOLWyCEKfSf5alHZWB5JUgcUJqrY1nM9YLjQEZNhrnlVnQOWMwB K6IxhL1YGL3O9m1tRLJ2rMD+FaQGvMIIN1rXlBTn24o8Yz58HsVR+C31bLrVGW6whorg hdHjogfVZKZK+WEZGgaznTfew3rFOmMI7lt5FLHWplpIP9ieS7oLF2x9cs9VDuuAyZ98 BXh1qTgdJf/LnsCjIuJCsovhcCmrn+ehy1qMsz9RTqcanAFIJOwEMws7AUBJy2iV9GAu Qi6d8akfgCZ+41zwa34o0HGmaC61Jf5IKSdDstTy+J8CEJYamHpzgpkrOi0UswLVwVIB t+rQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=s0eT5tOrcmO4s+mQdh9EsgswpgAAzZagPotwMXtGkZs=; b=iZ03Kzmb9xeHIjImBkRg1YAdCqCqVYUSTURFYCurkUTu9zHgKv5TG62UDP5tibDp4D SX8fStkCx7rsGUhb5H/Zx46cTUAjaLIHXj/RaIAjA/GQ5NYkSy/qV1KgHI4PhgMta9s/ qOVDKCvwNutnRfmfDkyGGzOZ7o5wj+Xwh9gi0SnAIUEfOv5h2y0MS1B9kZGOzkwcGHIM DUC9fggxLjXre0AZ3h8tVJyVYM5Opd3wJxjyExpPCt5j73q5QZ7jBgnbvVq36hIGo/ep CJlJ406T7vYx36UEJ53dZkMDb7n7zOK73qHdnG2PI8fBMKzUCKqXKycbcEpG5UmYLHRK rpxQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=pCuj49GG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j33-20020a632321000000b00372c932e2e3si1907896pgj.679.2022.03.03.04.56.59; Thu, 03 Mar 2022 04:57:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=pCuj49GG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233245AbiCCM05 (ORCPT + 99 others); Thu, 3 Mar 2022 07:26:57 -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: X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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--