Received: by 2002:a89:48b:0:b0:1f5:f2ab:c469 with SMTP id a11csp457325lqd; Wed, 24 Apr 2024 07:28:37 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWq3hGU0S6siYZXnhIRnFMQHwqMlusLltgg2sbMROb9w8p1YkA5ZQPZQu+Wj+2xIZzzVepKhCj30TlL2+s1qxz0a+OpQQ4WQxi/7KXHEw== X-Google-Smtp-Source: AGHT+IG6gxvDyKfu9DWBJgCoRUd6xNleHjsJorzkMlijd/ZMInNoZkuetox7PfaWnwAJkqyF6ER5 X-Received: by 2002:aa7:d284:0:b0:572:2551:472e with SMTP id w4-20020aa7d284000000b005722551472emr4516232edq.19.1713968917152; Wed, 24 Apr 2024 07:28:37 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713968917; cv=pass; d=google.com; s=arc-20160816; b=HPhHrMQ4g2fVM9Jf3fe6NR1eXTfg8cbUQVnQmO0+E5ULIrOv03IZaMOo8rCua6pkyq TkSnWy7zzYqqMdsacixZB6mzUD6+KrpCCx95j5mVMeE7XexzeISnssY5BfRCdfz/8icE wd6kAlSggK2RfXFwOnr+Gitr3WugymiXwOmeundMq0uDVGVbqirWWCIkYDNnCrzhkEfe 0TkbwizkTqY7F6ckJYmEbkh3xI4TjzpfAVlUiWu0oUjGLdlcqA8h8/EVxAoj7GURvMac wMiSvZm4fBdAbMVtiTdRuhPXBh9ra+pRW2wVBT8O11SoQu4FmrByveOgT1qyFDL+7sP3 PZEQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=organization:in-reply-to:content-disposition:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:references :message-id:subject:cc:to:from:date; bh=xDfLOex9bDAxZApgTBbvhMrbp6pH8rhwL7fxCkgvEg0=; fh=d41TuVL95RXyT7iBRympSUHnheQSsqsNdYbvos9A6w4=; b=BZ/mFNT2+QVPxsjrzP1Wv59aGmI2BLiu7R+kPG2fr2qXZv9y/LzHDq1iRACtAachVM DQ1JVttQ8bYarGsTdtoGeOyv0tUZHLSZnPebCCv/jeTbdz7et/19Mn1y8UUD+r1wnQAl qu3ho+oFZUcxVocuIo9F2X2bfKGqwH6Qt5lugu1r8dcIJYGhIPZpGM5h5uW9UG9u0sta I1nyLAFe8DdrW4KCBKPp/DJ0v/XRk/7mBOG9MOBQIw5B+htx+mCkE9jsHrRNG33/5hvH jwMcgjtDmFfsKrgf+sgLy0Z3xMqKv9SpXeJMFXKJOrajoLJIH03WdALIhC7SSgmj4qYw x56Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-157070-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-157070-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id z3-20020a50eb43000000b005720ee7febfsi3619600edp.224.2024.04.24.07.28.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Apr 2024 07:28:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-157070-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-157070-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-157070-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id D43811F23AAC for ; Wed, 24 Apr 2024 14:27:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 92DEC15E810; Wed, 24 Apr 2024 14:27:08 +0000 (UTC) Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AF18C158867; Wed, 24 Apr 2024 14:27:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713968828; cv=none; b=CKwA1RrnVuqTsZlESELDm0MvdGaYE8GHGNHfjO6RmDsgmBq5+As2b4FP7hhzIpCIsAwzI7WXqna3Eg4eTzpqesbn8XdrohHmjlKCCZymfFInbMww0xt48Y25wk7B6Oc7H4qTnZ1MadfSOtrfkPOWPQXEOLXNhI3ikduawqcJzcg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713968828; c=relaxed/simple; bh=3MRo09CAl1dLk8i/k1FkOLA4olAcV60dDi76ojCmJQc=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=nj5ryYW1/rCcIrjaj630gI+G78LJX9TBsyUUFxPTC3grgyCbduysz22J7nJx6zT/MRke8hgiMfODJpg29ieZ81R0ONkzw3b0G0xImU3mxQwdrpGvbEEcMwZc1/O3Eylp/LqT74/B5w49qpePwEEuqwKIlgoNjBuapBps1OHdLbM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com; spf=fail smtp.mailfrom=gmail.com; arc=none smtp.client-ip=192.198.163.18 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=gmail.com X-CSE-ConnectionGUID: iBK17G9IRNKOryzqC5l5Wg== X-CSE-MsgGUID: MvoGg2vjTkqjvrnHp5J1MA== X-IronPort-AV: E=McAfee;i="6600,9927,11054"; a="9453980" X-IronPort-AV: E=Sophos;i="6.07,226,1708416000"; d="scan'208";a="9453980" Received: from orviesa008.jf.intel.com ([10.64.159.148]) by fmvoesa112.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Apr 2024 07:26:54 -0700 X-CSE-ConnectionGUID: skyNPZ5NT525XUblwMmtLQ== X-CSE-MsgGUID: dtI6JwCJQhSpTBVzz2mZ4g== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,226,1708416000"; d="scan'208";a="25343374" Received: from smile.fi.intel.com ([10.237.72.54]) by orviesa008.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Apr 2024 07:26:50 -0700 Received: from andy by smile.fi.intel.com with local (Exim 4.97) (envelope-from ) id 1rzdaA-00000000fsk-2vqd; Wed, 24 Apr 2024 17:26:46 +0300 Date: Wed, 24 Apr 2024 17:26:46 +0300 From: Andy Shevchenko To: Florian Fainelli Cc: linux-kernel@vger.kernel.org, Jarkko Nikula , Mika Westerberg , Jan Dabros , Andi Shyti , Lee Jones , Jiawen Wu , Mengyuan Lou , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Maciej Fijalkowski , Andrew Lunn , Duanqiang Wen , "open list:SYNOPSYS DESIGNWARE I2C DRIVER" , "open list:WANGXUN ETHERNET DRIVER" Subject: Re: [PATCH 0/4] Define i2c_designware in a header file Message-ID: References: <20240423233622.1494708-1-florian.fainelli@broadcom.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo On Tue, Apr 23, 2024 at 06:21:21PM -0700, Florian Fainelli wrote: > On 4/23/2024 4:56 PM, Andy Shevchenko wrote: > > Tue, Apr 23, 2024 at 04:36:18PM -0700, Florian Fainelli kirjoitti: > > > This patch series depends upon the following two patches being applied: > > > > > > https://lore.kernel.org/all/20240422084109.3201-1-duanqiangwen@net-swift.com/ > > > https://lore.kernel.org/all/20240422084109.3201-2-duanqiangwen@net-swift.com/ > > > > > > There is no reason why each driver should have to repeat the > > > "i2c_designware" string all over the place, because when that happens we > > > see the reverts like the above being necessary. > > > > Isn't that a part of ABI between drivers, i.e. whenever ones want to > > request_module() or so they need to know what they are doing, no? > > Yes, the drivers should know, but as evidenced by the two patches above, > there was still room for error. If we have to abide by a certain contract, > which is platform_driver::driver::name, then we might as well have a header > defining it no? Maybe, I simply don't like the manipulations with parts of the device instance names / driver IDs / driver name, which all become mixed after this series. -- With Best Regards, Andy Shevchenko