Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp4568546pxb; Tue, 22 Feb 2022 01:25:10 -0800 (PST) X-Google-Smtp-Source: ABdhPJwnWQXRSVBv0+Wqq9H39IRm0f8YF38WLQkU0hvilmWHAe3NaIXFXMLDEv/klBcL5x7jIT4p X-Received: by 2002:a63:580d:0:b0:36c:2a9f:7f4 with SMTP id m13-20020a63580d000000b0036c2a9f07f4mr19248297pgb.544.1645521910483; Tue, 22 Feb 2022 01:25:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645521910; cv=none; d=google.com; s=arc-20160816; b=MwcQcpMbFrLCZKaraqHfYRekCgNPny6Vffhpm/biwsCLwjghOPb4biTx18fe8Qmd+F jDOlTPLOreq6hT/GndPqDt7Q/zp7G9lAVfIDNCabZ05j2dp4gIrnGbiMql/w2F4bun4q AlB9NY7RIx1BLJ7EHWglFeQFt1b3LW0t6XcjCNt3OOHURb6uabYZPz40rRnzLduH69aQ GgCSzojbps2gjc7nr0JFeIUKainICe2oGCUxq8+W4t+wbXJF0VTOPyinEUgiUI8426lR GUY+rI7NomIz66kqhlMrZlAoN+fA0PcjH1Rj66y2IEcYHDBGwI7gqmVvh9KsTsyOMaE3 bIcA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date:dkim-signature; bh=tMnxGGx8Xyue819/upl4mUh2mt0zClg3PGdZxVnJUMQ=; b=qgMeowo3SpxGyCfFKXXPkfdfBT+KYUWGhZuCbyRC173QcoU66hZosqgKJuKSLtrctr pIXDOapKcjBVJj7YUG004j+eTzuC5Nfb7/j002Rf9ReUfb05qG2NXeJcXemEsURHRhyB YkTFS6umqW7qZ549NQSia4V9AiH2Gt/6DjgmIprqFIpj3XMbdIQrh/+F1slReCy3sxmR DgaP+qwUy9QPt7j10TS1qr+aDxG3dgtzcOOT5nJOqgIviOz4I7vVeWLCCE0va8sCJ9nv n3SBR5qdVWjVmylAq8SZt06TZmR4e74278Uz0aZEBhtw8xj7IbIWopwfR9HQ8YOiofbT 4AjQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=J0qitof8; 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=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x124si13726685pgb.868.2022.02.22.01.24.55; Tue, 22 Feb 2022 01:25:10 -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=@bootlin.com header.s=gm1 header.b=J0qitof8; 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=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229935AbiBVIzN (ORCPT + 99 others); Tue, 22 Feb 2022 03:55:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35294 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229870AbiBVIzM (ORCPT ); Tue, 22 Feb 2022 03:55:12 -0500 Received: from relay1-d.mail.gandi.net (relay1-d.mail.gandi.net [217.70.183.193]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3F50D114749; Tue, 22 Feb 2022 00:54:47 -0800 (PST) Received: (Authenticated sender: clement.leger@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id 269AA24000B; Tue, 22 Feb 2022 08:54:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1645520085; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=tMnxGGx8Xyue819/upl4mUh2mt0zClg3PGdZxVnJUMQ=; b=J0qitof8zwmBwJ0Dou4GGwsV8feIxtxRva0b7lzwaSAEmT/M24a+yOAK0b2MdJo2YPT89y MHB056ue6l8/dAS1wt6khhQXRNJ83F8a2rEx0FBu0Nbf6125ptY2m7hGDtz3PuERWBOnmM rdPkzAbZcUANf50nePU/WEOJ6aTZ0ozIUrzTCQoV/+jwrL3XoquYx9lAUecjjY2SQEgoQw S3Me+ogH0B3/E9wzVONdOFO7+QAwW9dFtF7nyhb1DTUCqLY0iesM4esjlNQ2OS6x7c6he0 0X8hsf8ZCzG/CiVOm85OkuCXdfH1avcHZ4Cpxr4TV7JXI53NCy5AjuwlvZN1aA== Date: Tue, 22 Feb 2022 09:53:25 +0100 From: =?UTF-8?B?Q2zDqW1lbnQgTMOpZ2Vy?= To: Andy Shevchenko Cc: 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 09/10] i2c: mux: add support for fwnode Message-ID: <20220222095325.52419021@fixe.home> In-Reply-To: References: <20220221162652.103834-1-clement.leger@bootlin.com> <20220221162652.103834-10-clement.leger@bootlin.com> Organization: Bootlin X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,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 Le Mon, 21 Feb 2022 19:55:25 +0200, Andy Shevchenko a =C3=A9crit : > On Mon, Feb 21, 2022 at 05:26:51PM +0100, Cl=C3=A9ment L=C3=A9ger wrote: > > Modify i2c_mux_add_adapter() to use with fwnode API to allow creating > > mux adapters with fwnode based devices. This allows to have a node > > independent support for i2c muxes. =20 >=20 > I^2C muxes have their own description for DT and ACPI platforms, I'm not = sure > swnode should be used here at all. Just upload a corresponding SSDT overl= ay or > DT overlay depending on the platform. Can it be achieved? >=20 Problem is that this PCIe card can be plugged either in a X86 platform using ACPI or on a ARM one with device-tree. So it means I should have two "identical" descriptions for each platforms. --=20 Cl=C3=A9ment L=C3=A9ger, Embedded Linux and Kernel engineer at Bootlin https://bootlin.com