Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp6813215ybe; Wed, 18 Sep 2019 09:26:39 -0700 (PDT) X-Google-Smtp-Source: APXvYqw+Pt7Wm+Luof/kZMksr4aY5+CYFOFiIDvwX6Zv/FV67l/ssWwj46Vfj1wHPGsbRVMZAV/2 X-Received: by 2002:a17:906:d8c8:: with SMTP id re8mr10372843ejb.130.1568823999055; Wed, 18 Sep 2019 09:26:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568823999; cv=none; d=google.com; s=arc-20160816; b=awdd/EvnGjsr9TKOSQxj98PBVrZQU3tQQfgyfbi6+b9GcLJ//7vaUCPByt97gzUaXY FFbFl5GNyCf1ZqC+pQiP2GDQ1qZYTU7MEcwZrUlUy+iGYsqCkL08QQ3MSo/QLHi0MWTD x/N+ZUQQSQRXGCF7FBVSs+qhVfn0JNbV6kH/xpOmr5T4tz7SBGIFMNpBYeAIJ6KBYB8J 6c5+uCBJAihuCnOYqdqC9nLoYuUsSrQFf0mR+pTKSYQ0dDiriDSH5yLcB91iztGpnak7 VP2dRrbcp4kLSBc8/yKt2FwalY2N7c+cqmanQqgRsJeqFM32ik/Z4PjorBBRQJw9JqXe rOkg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=6NfZKx1ISoEi/hcjkpA4weSwB7M7xvgu/NtGbGGvpp4=; b=dSZHO3dSiwRoQkcBVaXfdJ8sPhwlY/oiLwA8DkOIl73iAXh9O+Ui2RSg5tHbh2nJnz qFOPqHRYuhz3cdx1EgksXCAdL8ViRRQXBORHmuThgrcQfvYgv0uJblwBLMmAmRx4slo1 oQOvJ2iyuH/4Cv/CHWNO/zUGMWyoy6erUsEPt9L466dHR5FHOflI6W9nwtOn+npKzfc9 SZU3YXVHypwqzPZh0Q4DoNPBsDps6/ZGpa5wJSDMQvhSl2CLV7V0L7sfYaU7hv0TOMkG ae5W57wlDIrb55u4HYQ5vYZ5VMcnbY55sNuXWL5vck1x8g6Btg1gkQbPDBsAZ4fjEgu5 Ylvg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r8si2527386edm.158.2019.09.18.09.26.15; Wed, 18 Sep 2019 09:26:39 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730263AbfIRLil (ORCPT + 99 others); Wed, 18 Sep 2019 07:38:41 -0400 Received: from mga03.intel.com ([134.134.136.65]:51956 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727401AbfIRLik (ORCPT ); Wed, 18 Sep 2019 07:38:40 -0400 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 18 Sep 2019 04:38:39 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,520,1559545200"; d="scan'208";a="202041528" Received: from kuha.fi.intel.com ([10.237.72.53]) by fmsmga001.fm.intel.com with SMTP; 18 Sep 2019 04:38:36 -0700 Received: by kuha.fi.intel.com (sSMTP sendmail emulation); Wed, 18 Sep 2019 14:38:35 +0300 Date: Wed, 18 Sep 2019 14:38:35 +0300 From: Heikki Krogerus To: Yauhen Kharuzhy Cc: Darren Hart , platform-driver-x86@vger.kernel.org, Hans de Goede , linux-kernel@vger.kernel.org, Andy Shevchenko Subject: Re: [PATCH v2 1/1] platform/x86/intel_cht_int33fe: Split code to USB TypeB and TypeC variants Message-ID: <20190918113835.GA16243@kuha.fi.intel.com> References: <20190917194507.14771-1-jekhor@gmail.com> <20190917194507.14771-2-jekhor@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190917194507.14771-2-jekhor@gmail.com> User-Agent: Mutt/1.12.1 (2019-06-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 17, 2019 at 10:45:07PM +0300, Yauhen Kharuzhy wrote: > Existing intel_cht_int33fe ACPI pseudo-device driver assumes that > hardware has TypeC connector and register related devices described as > I2C connections in the _CRS resource. > > There is at least one hardware (Lenovo Yoga Book YB1-91L/F) with micro > USB B connector exists. It has INT33FE device in the DSDT table but > there are only two I2C connection described: PMIC and BQ27452 battery > fuel gauge. > > Splitting existing INT33FE driver allow to maintain code for USB type B > (AB) connector variant separately and make it simpler. Sorry, but "Type B" is even more confusing here. Type B refers to the Standard-B USB connector, so _not_ the micro connector family. You can check the connector definitions from the latest USB 3.2 specification. The standard-b definition goes something like this: "The standard _Type-B_ connector defined by the USB x specification." Note that all the five supported connectors are listed in ch5 "Mechanical": Standard-A Standard-B Micro-B Micro-AB Type-C So what was the problem with names that refer to the micro connector family, for example "micro-ab" or "micro-b"? thanks, -- heikki