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 29E2BC4332F for ; Tue, 22 Feb 2022 08:54:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229919AbiBVIzN (ORCPT ); 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 Precedence: bulk List-ID: X-Mailing-List: netdev@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