X-Received: by 2002:a17:90a:ba8e:b0:1bc:202b:8657 with SMTP id t14-20020a17090aba8e00b001bc202b8657mr2568073pjr.16.1645509292591; Mon, 21 Feb 2022 21:54:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645509292; cv=none; d=google.com; s=arc-20160816; b=GyXouECgzBr8GM7EzkhpN5Qv/00NJK/azdhsPmloTCfJbqWr/gtVUo1Yr1Q8vr9nLP pq/MEIDJYG8/sWOwb6jGPjfAWG9gVYqreFeJhnlaaN3vhng/guts/VqiFS0OR7zDqTmu L1l4Z8b36KfezDxiLovFI7S86t3gZq41sdvk7mgh8Ki3jQgu+1M6hGruawAj+pRUSC0q ec8vqvf0dGRJBkhS9AiXMqlDLzroYvufFeYIqyoEVXH+Bol1pdXRouJxcTGx82kbaJpG 4auBBHUz6TqjH0FrGWeCffyzXHbuWbrLWwuEQkXyk/0ePZvU6sD3tD70uUuxerAlkChq aTKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=YgAWvCJdDmodsKIpqwRctihPUEsv8byPLJ8tF5Iz9Sc=; b=UMfTEeI7RPxEQEYrs3rJJuCOCgB9V66FeYW9vuFS9jmdLKNgVerQBsjXx6MzEVfUqV QeB5O41ooSjSSakEY2LzGAW6bLrBXj4dGNQi+kPuTsMLkt8E5Y94bXl12GRPyU0wofR0 INffKl9oX+trXFOIjgSqbVdTm9BdLjPgH/XAra1z8uPi3FivIqZajAJMTHCkSd+DMsP3 u0Zm3+eKuSIltY1eq17BLhfjHbrTEtX3FIFpUfzsbRuGempq//Tncaadff2QADmfY3nU LpefUIvK8mOYp6gRtV4Z5rfhKK4tMUFl/VFE1ttDi3UsR3hOYWZt9ETRkoHWk4Gtmtfo Wb5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=ITLgqtdd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id g19si15016118pgi.171.2022.02.21.21.54.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Feb 2022 21:54:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=ITLgqtdd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 87641AA027; Mon, 21 Feb 2022 21:17:27 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230164AbiBUSHF (ORCPT + 99 others); Mon, 21 Feb 2022 13:07:05 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:36512 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232547AbiBUSE0 (ORCPT ); Mon, 21 Feb 2022 13:04:26 -0500 Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BF7131D0C7; Mon, 21 Feb 2022 09:56:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1645466182; x=1677002182; h=date:from:to:cc:subject:message-id:references: mime-version:content-transfer-encoding:in-reply-to; bh=+/KTjRfi65Ib76kWEGOorsZScmtiCnDSMiUu8H92FgM=; b=ITLgqtddaj9jqorF5CndFdZuYeHqPzmeK9CwEFHoTW8C1rV5J8x8Nr2g L6o9qXrSkWArfVrOfsUUquPA4cmaHrePYOgyc7Me3nqMQLLjk+0lHYNv8 +qyHTnvJe32vv6p2wpcqlPfZkcdTa8/4r4n0BWPL6DGIJVUav09bw49TJ h4cN2Sv54eyyGHC0b6gL7FyMc3QJRAT77ed6egzjP0sMT92oseMNSMmwW RSCItpfmqtW2uMbvmi19HjTbuHUS7PSRfdlKzuzagVkjVPL+bKJkE+MGQ S+tCoQEaJoD5tuf3khN+27vGg9lts/JTRz3qf1NBrlvt86N3x83AXt5xg Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10265"; a="314812286" X-IronPort-AV: E=Sophos;i="5.88,386,1635231600"; d="scan'208";a="314812286" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Feb 2022 09:56:22 -0800 X-IronPort-AV: E=Sophos;i="5.88,386,1635231600"; d="scan'208";a="706329238" Received: from smile.fi.intel.com ([10.237.72.59]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Feb 2022 09:56:17 -0800 Received: from andy by smile.fi.intel.com with local (Exim 4.95) (envelope-from ) id 1nMCuD-006s7L-Qt; Mon, 21 Feb 2022 19:55:25 +0200 Date: Mon, 21 Feb 2022 19:55:25 +0200 From: Andy Shevchenko To: =?iso-8859-1?Q?Cl=E9ment_L=E9ger?= 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: References: <20220221162652.103834-1-clement.leger@bootlin.com> <20220221162652.103834-10-clement.leger@bootlin.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20220221162652.103834-10-clement.leger@bootlin.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 On Mon, Feb 21, 2022 at 05:26:51PM +0100, Cl?ment L?ger 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. 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 overlay or DT overlay depending on the platform. Can it be achieved? -- With Best Regards, Andy Shevchenko