Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp1821237ybn; Thu, 26 Sep 2019 02:44:30 -0700 (PDT) X-Google-Smtp-Source: APXvYqw3vLsrZ2GnzJCysTm59UshmSjV38DdnY+sw29FhKUeMe+ASJNHa/Q9OSLf+03wHhvQhxhu X-Received: by 2002:a50:ab83:: with SMTP id u3mr2476183edc.228.1569491070366; Thu, 26 Sep 2019 02:44:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569491070; cv=none; d=google.com; s=arc-20160816; b=zO96PggWdadeOnsrHDVi51E3n0ggA8DEB5kxjK1r8ENATFNTRfvTrKoPWFSpjwvSmL PvKpuz767rS7dAaktsFUekayIWLYBskCnr+vYhg1B0gPhUWueP7N7bydy9d7D7jhyaN0 E0ADA2QLGFZs65F349Zf1aTDwz/dXnofPS6SzgYsMAu9T1XmfQ8yplV2PiYUuCZKhMZ9 lZTjcwZzIJBl+BRKb3PILdDuONeW/pLjPfNY+VfCoDwuMT6mulaKVjITh41qn/zPzRk4 xkM5fIymTcF4jqHslfmD8EOhrIKiv+ewg/PeJQyjCEP2Cdq88culJdrbzybXIsXhxbiP YVYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=+Kf9hn93bVYZrlXSfMDSlr/mbW/U/UaPgHwruad4IfQ=; b=xKiZEPRxTgoNl5tPnyKhTi0XFftFzT90XPb28W3QI+flU4gvT+ATPaU1VqqjKy3/Bz XsQfPaVnsKYdm4+XFxsabYz6rckRuMMDg09T5ksPDHT7tuPXm5/6f4VHMWyx3vZD9c5r WuZwM11v57XuXstK6XmfUTD/jx/MfNATRiiKtKJECnRlVzAoJ5aVclkzvadbvuOEEvW6 VAMkz8rXSBUo/808+EbXlR4cKGbbqdMiuO5rzhp2707w/Rp1I/iRnuGStkiDuztPOJPM ygq+Pe25ZUmCQzodJy6/woiKIIEoks5Ep+kstN6FgJRkNoyT1Uq2WuzLHaSWQ0A3zvE5 F76g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Hu3jazJh; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a23si1131606edj.201.2019.09.26.02.44.06; Thu, 26 Sep 2019 02:44:30 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Hu3jazJh; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732915AbfIYQ1G (ORCPT + 99 others); Wed, 25 Sep 2019 12:27:06 -0400 Received: from mail-ed1-f67.google.com ([209.85.208.67]:38546 "EHLO mail-ed1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732803AbfIYQ1G (ORCPT ); Wed, 25 Sep 2019 12:27:06 -0400 Received: by mail-ed1-f67.google.com with SMTP id l21so3646436edr.5; Wed, 25 Sep 2019 09:27:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=+Kf9hn93bVYZrlXSfMDSlr/mbW/U/UaPgHwruad4IfQ=; b=Hu3jazJhr8bfs8oWmIbbhJVAnoTr793yhYViKFnPqhtjf2B3dHLr1oYLFE+X5ok1YN xyk7tbfScIGQcnVnHc6j3ScJa5jqlhn7Dov4EEgjw852Hu2iw+Fz98IhfhLIf2EZPrxz a7SXxbAIPLJ1dOFSZ9EnKd3DiySqio5TxtzpadfyjmxcSz6aJMCzex/RMJEH8aHpDFWa 7EePeY0zH4WY2J2eAr4VYBRb5LaA2bHhiWNkSoVBOGuZnTy+VeGIwQL5P7tAUP2549ac RUWvzWBeiJ9/d/ynPv7/QPLT/+QF5XZu15lyFj+k7P+ABxryvcvBOnYW5hBaabOFDNFA cGUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=+Kf9hn93bVYZrlXSfMDSlr/mbW/U/UaPgHwruad4IfQ=; b=MmB5EGahmd6g6FQaXZqtTqx22CRiB38GvsOwIXlK+FbJjjcaW02RPTtVBGqBM/pufX d969dvX59LV47i7z0Jqb4hFUhPHXcv2eoRe5MBi5EO9nQJdn64AgBBfJLICxQYvmXqfz j7mR67C4BZL9IuhBBv4Rt6nCShQFczBjQgVa5BplVIuwama9mqXzibTIOHQU5T7g1lyS pm9m0ywpuIdEGi/qQ8TUCSn9STLDO4yE8RzdR8p3lZWu6tw66Nqmv79Dr0vLMzsRLjvc szJNux4K66YxSYOSV8bwK8cXz4p/SgzE0iL7znMX3LRChkhXmdvgQ4z/LZY2SFuc2Dym 0P6A== X-Gm-Message-State: APjAAAV5UuodjMaPkZPuZu+78X8ry8Pz8MiIXu8fsvQ9FMc0NTV0sAEg y9V6SoOiUHDPMVEX1qKMRTE= X-Received: by 2002:a17:906:5fc4:: with SMTP id k4mr78627ejv.300.1569428824597; Wed, 25 Sep 2019 09:27:04 -0700 (PDT) Received: from localhost.localdomain ([185.107.117.129]) by smtp.gmail.com with ESMTPSA id g15sm1094346edp.0.2019.09.25.09.27.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Sep 2019 09:27:03 -0700 (PDT) Received: from [127.0.0.1] (helo=jeknote.loshitsa1.net) by localhost.localdomain with esmtp (Exim 4.92.1) (envelope-from ) id 1iDA8G-0000yO-Ic; Wed, 25 Sep 2019 19:27:12 +0300 Date: Wed, 25 Sep 2019 19:27:12 +0300 From: Yauhen Kharuzhy To: Andy Shevchenko Cc: Hans de Goede , Darren Hart , Platform Driver , Linux Kernel Mailing List , Andy Shevchenko Subject: Re: [PATCH v5 1/1] platform/x86/intel_cht_int33fe: Split code to USB Micro-B and Type-C variants Message-ID: <20190925162712.GA3653@jeknote.loshitsa1.net> References: <20190920223356.6622-1-jekhor@gmail.com> <20190920223356.6622-2-jekhor@gmail.com> <1cca117d-1951-0335-1aef-ac994c3c757b@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 25, 2019 at 06:02:22PM +0300, Andy Shevchenko wrote: > On Sat, Sep 21, 2019 at 9:31 PM Hans de Goede wrote: > > > > Hi, > > > > On 21-09-2019 00:33, Yauhen Kharuzhy wrote: > > > Existing intel_cht_int33fe ACPI pseudo-device driver assumes that > > > hardware has Type-C 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-B > > > USB 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 Micro-B > > > (or AB) connector variant separately and make it simpler. > > > > > > Split driver to intel_cht_int33fe_common.c and > > > intel_cht_int33fe_{microb,typec}.c. Compile all this sources to one .ko > > > module to make user experience easier. > > > > > > Signed-off-by: Yauhen Kharuzhy > > > > This version still works for me on my typec device: > > > > Tested-by: Hans de Goede > > > > The code also looks good to me: > > > > Reviewed-by: Hans de Goede > > > > By some reason it doesn't apply. I have checked, and have no issues when applying this patch to the current torvalds/master and linux-next/master branches (351c8a09b00b and 9e88347dedd8 commit IDs). -- Yauhen Kharuzhy