Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2792020rwb; Fri, 2 Dec 2022 15:23:01 -0800 (PST) X-Google-Smtp-Source: AA0mqf45/hAxboXjZlKDkFLpIiOJ5ba5HU2Rguz2HikrRnt9YH4Gduw3RZ56DUIUY7CSzWjJtEO9 X-Received: by 2002:a63:e510:0:b0:476:a862:53d2 with SMTP id r16-20020a63e510000000b00476a86253d2mr45908670pgh.163.1670023380958; Fri, 02 Dec 2022 15:23:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670023380; cv=none; d=google.com; s=arc-20160816; b=JOUvx5yDlRmi/dEkzOBVLlaWh5QM+1JTnoi2BXdibopykReXLYdpwddA5dxgTbJDAc +i7JLti9Et/r82FEvPrl5F22awSxQ/+L6ZWytpYDdKSF2LB4AfZCbJoZ84RNoMGHXMO8 MrVx71yd3L9Y2/cGo+TD3jEHDlueh3faWPMvYB2C3wCdkB8qJytKjLicIjuhROyT1HF5 3+O/RKGPCTVzfIgWGAhzHwiTBq+pG+jJyHbf9Vh0iPv3SR6LhiixTIS/HR98ROXEIrKW P2dAccPCgOixKDgnuuJ2rn+CCEodzRkTIcnfQ3Lr5gMEuEOTWeasBx1guckJmzcxIDvd ZM1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :content-language:from:references:cc:to:subject:user-agent :mime-version:date:message-id:dkim-signature; bh=gEE4JrsehGhRKU15NnOEpAKRAPcQRZ9RQqzVHv3f2PY=; b=1Hyjr1GSTJX6QLJkAbzNoI3BK8JzLurOgihGNkwFC3V6T1BBpxHq34BGpqBq0Gpl9a EPKPRzCBA6YAkLHcx1iutDU04jcyX9ofSLAH8YaCMACNOsmPVQqKgdqbikfo9xTaW7da t9HocDhHnIcreLt3ZoDNPzKSJqarAVdNrx7to7OjGCbLruXD9w1N/ST8ZkEtGTsISLhk /BjH7e8qvmL0A320eH2M2V9Qin3eAXRrgz7vh2GJbyzdgLJHif8zG8CuX5eK8HP5AqnK 1n1lLcWBkZAuuK7/BjGkYBUNvjJXpcVikm4BY6PvnsN7qgoRwuoFA3wDtNmEnpfZU+1U 3xoA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=hPOcgrQM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id eb19-20020a056a004c9300b00575428b9ea7si8291771pfb.204.2022.12.02.15.22.50; Fri, 02 Dec 2022 15:23:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=hPOcgrQM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S234461AbiLBWwt (ORCPT + 83 others); Fri, 2 Dec 2022 17:52:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50386 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234309AbiLBWwp (ORCPT ); Fri, 2 Dec 2022 17:52:45 -0500 Received: from mail-pj1-x102d.google.com (mail-pj1-x102d.google.com [IPv6:2607:f8b0:4864:20::102d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0F2D710B4E; Fri, 2 Dec 2022 14:52:43 -0800 (PST) Received: by mail-pj1-x102d.google.com with SMTP id 3-20020a17090a098300b00219041dcbe9so6381753pjo.3; Fri, 02 Dec 2022 14:52:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:content-language:from :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=gEE4JrsehGhRKU15NnOEpAKRAPcQRZ9RQqzVHv3f2PY=; b=hPOcgrQM+Fjo2OJqHC0LTYfpU7qdD31QzFNdI+22DO7/Tqm4VlG9Nznma6t9TmEgp7 8/E8ezsdpdIYrjW701L0Qkoe3+LSSb8fVBh7Prk14ziM5vYsW2iqhDkBv/7sJySBTotV xhe9+V+Ljoro+f0Eo05onbutf0MqlO+MVaCSVe1bpW6Jxm8ER2Yteo8rcxL09HcZ/w80 z21VPODnqsGaXtIorcB1ttbzMtAb+JEZlexDGSw54p0rjA91TNbAzgXf3Op9G1Hg/QqT jHTt5gcsKhREa+s+02VN/ikQh4VgsZYA7PobD7mpOvxAnuib6QYOmeZHAKXowCVbC0XG fX0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:content-language:from :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=gEE4JrsehGhRKU15NnOEpAKRAPcQRZ9RQqzVHv3f2PY=; b=hc9zR+QyaUGceHjkLJLvZaAXBj+z3NKdyAIRPcFmDdOayS4gRBqMKvAGNRSghA3E5F mDzt/LUGUnYjz3GTMejxHVoPFp/GaeXNOl0VX/UXzouusWOiNF170dhIi0gI6IZx0/45 r1K6oaV89YJ5Zx4CYS+nGD6y90CSvkwYz7OyFjkuxu9C8X6avRgFcM6PCL0wM1i7lhf5 uPvbwVyQTm78BCta8Ypk1dYUs2TPtr6VxmgHXkJHkEvELvykBhpQKH/24JB9bOLs5soy rdzVDeR79676zRl8e0qMtoxy49NUj396ElzIqHoEwYc8tNd5ZSoxxmJpJT3h8BNsS3bS 7+Xg== X-Gm-Message-State: ANoB5pn8+4lSovLaTQtYc/KleihJ3WCeZez8Ut/VbXMHue3fjrMvWefL iYM7xcQYNAB6TZ0hWeTPESE= X-Received: by 2002:a17:903:491:b0:17f:73d6:4375 with SMTP id jj17-20020a170903049100b0017f73d64375mr54940047plb.24.1670021563006; Fri, 02 Dec 2022 14:52:43 -0800 (PST) Received: from [172.30.1.1] ([14.32.163.5]) by smtp.gmail.com with ESMTPSA id f18-20020a17090aa79200b0021864cf062dsm5275728pjq.21.2022.12.02.14.52.40 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 02 Dec 2022 14:52:42 -0800 (PST) Message-ID: Date: Sat, 3 Dec 2022 07:52:38 +0900 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Subject: Re: [PATCH 3/3] extcon: intel-cht-wc: Add support for Lenovo Yoga Tab 3 Pro YT3-X90F To: Hans de Goede , Wolfram Sang , Lee Jones , MyungJoo Ham , Chanwoo Choi Cc: linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org References: <20221127182257.104410-1-hdegoede@redhat.com> <20221127182257.104410-4-hdegoede@redhat.com> From: Chanwoo Choi Content-Language: en-US In-Reply-To: <20221127182257.104410-4-hdegoede@redhat.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham 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 22. 11. 28. 03:22, Hans de Goede wrote: > The Lenovo Yoga Tab 3 Pro YT3-X90F needs the same handling as > the Lenovo Yogabook models. That is it needs the extcon code to: > > 1. Control the Vbus regulator and USB-role-switch for the micro-USB > port's host/device mode switching. > 2. Register a power_supply device so that the charger-chip driver can > see what sort of charger (SDP/CDP/DCP) is connected. > > Signed-off-by: Hans de Goede > --- > drivers/extcon/extcon-intel-cht-wc.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/extcon/extcon-intel-cht-wc.c b/drivers/extcon/extcon-intel-cht-wc.c > index c45d7ff6cc61..323ab8731284 100644 > --- a/drivers/extcon/extcon-intel-cht-wc.c > +++ b/drivers/extcon/extcon-intel-cht-wc.c > @@ -539,6 +539,7 @@ static int cht_wc_extcon_probe(struct platform_device *pdev) > cht_wc_extcon_set_gpio(ext, CHT_WC_VBUS_GPIO_CTLO, false); > break; > case INTEL_CHT_WC_LENOVO_YOGABOOK1: > + case INTEL_CHT_WC_LENOVO_YT3_X90: > /* Do this first, as it may very well return -EPROBE_DEFER. */ > ret = cht_wc_extcon_get_role_sw_and_regulator(ext); > if (ret) Acked-by: Chanwoo Choi Thanks. -- Best Regards, Samsung Electronics Chanwoo Choi