Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2794588pxa; Tue, 25 Aug 2020 03:34:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzbnCVUucO5NGsD3StNxnSsghk5zkrg3VWjOQMAg+X0bqSpnFAmdNJ/HZ+4THhHyC0AWsTu X-Received: by 2002:a17:906:6801:: with SMTP id k1mr9692274ejr.492.1598351690021; Tue, 25 Aug 2020 03:34:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598351690; cv=none; d=google.com; s=arc-20160816; b=NEFTI03zxkxpYZNuhHvpo/Kpuhbc2b3qzkZ6tKyextPvZ0zy8vyLyeu8IXG5E3UvB0 2AMGHCl7vz+S0tIJgrbECozz6t7IlSQSqmpr4k17C+pnsKqN0sCjjcdGTUPrC023QISW uTZ/RwiTdhyjgxnqJ624/yTeR1k8172lxhUIKFG0i2S90F6Av/9DOkn/uAv5Xf/mdZ05 B5qwPdz2DxLQCumosLgao/JYr1XIkm+XK1oD+9TJXOXNeaWa+VqVswHpdhKxvedSq9Jc Vu06jM9S2eThKTvPG+YsKHHhrKPTpQRXndG+KYpVrN/Vb8NgLWrt6OOxBKxt1WylJPQ0 IWiw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:dlp-filter:cms-type :content-transfer-encoding:content-language:in-reply-to:mime-version :user-agent:date:message-id:organization:from:cc:to:subject :dkim-signature:dkim-filter; bh=l6bgua5qF1U2anSdUW95hVGgAsI0ptIuSgH/OBirhSk=; b=Pykif1t6lj0QsrRHtNCJFqAvCqPOUp12beLd88g0wIy32oKg8KrhpcmqGAgzLRgHXE Pk5K3EOiiutFGY5DjnnSR7Zw5xoGkX2CkrE9vkaZYkWFHWZVEVRsPd8g/VxQEwjI/obb YhAG2gqtPxAYQmKkE2ZR2DqQWwMLzfeavu0SQKVMkWTxi6zXZk090REes0OynKUa5NMv RCnUvhkm+QRh+KnnFLvPP0Hks5YU7rlsgDCKTBk7q0gFIKH2arQRWEtzeZOWolwDDT89 8B0JTqP21w3O+IhZUYLZUEI+rbQZKoJ6kjOxXoXxwWF+w0kbZ5w+J0HuqLg6+5OACB94 y3TA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=Ih1UP6+r; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b5si7741337eds.24.2020.08.25.03.34.25; Tue, 25 Aug 2020 03:34:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=Ih1UP6+r; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729746AbgHYKdn (ORCPT + 99 others); Tue, 25 Aug 2020 06:33:43 -0400 Received: from mailout3.samsung.com ([203.254.224.33]:22499 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728117AbgHYKdl (ORCPT ); Tue, 25 Aug 2020 06:33:41 -0400 Received: from epcas1p3.samsung.com (unknown [182.195.41.47]) by mailout3.samsung.com (KnoxPortal) with ESMTP id 20200825103336epoutp0382871002ba8a618634680e336c4dd0ff~ufFOeTAVA0792907929epoutp03c for ; Tue, 25 Aug 2020 10:33:36 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout3.samsung.com 20200825103336epoutp0382871002ba8a618634680e336c4dd0ff~ufFOeTAVA0792907929epoutp03c DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1598351616; bh=l6bgua5qF1U2anSdUW95hVGgAsI0ptIuSgH/OBirhSk=; h=Subject:To:Cc:From:Date:In-Reply-To:References:From; b=Ih1UP6+rTm5eGdqOOIG3BeuEWCRiyEtOKa7ze0PDVaAqAC0xv50fLQJYKJzTkgZf9 881HPYGlTiIrYnSyK3AJmuY8//f5DG3IO4m7i6kvF3yITapzx0jWzdbX5bicESM/H7 OX/J9y/KBj0mJO4OZBBqm7HdOgXXQSvgcLX6iu+A= Received: from epsnrtp2.localdomain (unknown [182.195.42.163]) by epcas1p1.samsung.com (KnoxPortal) with ESMTP id 20200825103335epcas1p15a5a344977d6990c2058627888284a6f~ufFOC-eEo2081420814epcas1p1W; Tue, 25 Aug 2020 10:33:35 +0000 (GMT) Received: from epsmges1p3.samsung.com (unknown [182.195.40.154]) by epsnrtp2.localdomain (Postfix) with ESMTP id 4BbQM05WMQzMqYkZ; Tue, 25 Aug 2020 10:33:32 +0000 (GMT) Received: from epcas1p1.samsung.com ( [182.195.41.45]) by epsmges1p3.samsung.com (Symantec Messaging Gateway) with SMTP id 65.F2.29173.CF8E44F5; Tue, 25 Aug 2020 19:33:32 +0900 (KST) Received: from epsmtrp1.samsung.com (unknown [182.195.40.13]) by epcas1p3.samsung.com (KnoxPortal) with ESMTPA id 20200825103331epcas1p341eca764a8accfad2113d7bed7a7e7fd~ufFJ85NCB0778707787epcas1p3J; Tue, 25 Aug 2020 10:33:31 +0000 (GMT) Received: from epsmgms1p2.samsung.com (unknown [182.195.42.42]) by epsmtrp1.samsung.com (KnoxPortal) with ESMTP id 20200825103331epsmtrp1618d954f3f43d77474fc6f156b57ed16~ufFJ2yIKL1149211492epsmtrp1m; Tue, 25 Aug 2020 10:33:31 +0000 (GMT) X-AuditID: b6c32a37-9cdff700000071f5-5d-5f44e8fcdc23 Received: from epsmtip1.samsung.com ( [182.195.34.30]) by epsmgms1p2.samsung.com (Symantec Messaging Gateway) with SMTP id 80.14.08303.BF8E44F5; Tue, 25 Aug 2020 19:33:31 +0900 (KST) Received: from [10.113.221.102] (unknown [10.113.221.102]) by epsmtip1.samsung.com (KnoxPortal) with ESMTPA id 20200825103331epsmtip1dd254f71d0a0cbe244daedb4e2865ef8~ufFJnI14F1178111781epsmtip1Q; Tue, 25 Aug 2020 10:33:31 +0000 (GMT) Subject: Re: [PATCH v1 1/1] extcon: ptn5150: Add usb-typec support for Intel LGM SoC To: "Ramuthevar,Vadivel MuruganX" , linux-kernel@vger.kernel.org Cc: vijaikumar.kanagarajan@gmail.com, krzk@kernel.org, myungjoo.ham@samsung.com, cheol.yong.kim@intel.com, qi-ming.wu@intel.com, yin1.li@intel.com From: Chanwoo Choi Organization: Samsung Electronics Message-ID: <4b1edd2e-4791-3f12-206f-9277435cdf59@samsung.com> Date: Tue, 25 Aug 2020 19:46:00 +0900 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:59.0) Gecko/20100101 Thunderbird/59.0 MIME-Version: 1.0 In-Reply-To: <20200825083147.25270-2-vadivel.muruganx.ramuthevar@linux.intel.com> Content-Language: en-US Content-Transfer-Encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrAJsWRmVeSWpSXmKPExsWy7bCmru6fFy7xBvcP61hcfxthcf78BnaL y7vmsFncblzBZvGlYz2bxYZj99ksXu6fzmrR1HSczYHDY+esu+wei/e8ZPLYtKqTzWPeyUCP vi2rGD0+b5ILYIvKtslITUxJLVJIzUvOT8nMS7dV8g6Od443NTMw1DW0tDBXUshLzE21VXLx CdB1y8wBOkdJoSwxpxQoFJBYXKykb2dTlF9akqqQkV9cYquUWpCSU2BZoFecmFtcmpeul5yf a2VoYGBkClSYkJ1x6+su9oJ53BW7fx1gaWBcw9nFyMkhIWAi0fV8P0sXIxeHkMAORolnl9ZB OZ8YJc68XcMG4XxmlJiz5ywTTMvyv6+hEr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bp2yVwZdz6uou9YB53xe5fB1gaGNdwdjFyckgImEgs//ua rYuRi0NIYAejxJ/N81ghEpIS0y4eZe5i5ACyhSUOHy6GqHnLKPF5xhpGkBphgTCJG5e7wepF BPIl3s3czQpSxCwwjVHi//E2VoiO14wSa1avA6tiE9CS2P/iBhuIzS+gKHH1x2OwSbwCdhIP DjaBxVkEVCW2b78DVi8KtGHnksdMEDWCEidnPmEBsTkFAiV+L70LFmcWUJf4M+8SM4QtLnHr yXyouLzE9rdzmCcwCs9C0j4LScssJC2zkLQsYGRZxSiZWlCcm55bbFhglJdarlecmFtcmpeu l5yfu4kRHGFaWjsY96z6oHeIkYmD8RCjBAezkgiv4EXneCHelMTKqtSi/Pii0pzU4kOM0hws SuK8X2ctjBMSSE8sSc1OTS1ILYLJMnFwSjUwXbmtKlSu8uyobtm5addfsn4/ouC9Rf62f6U4 9zY3MxuhX8ZdOuuMWcseJOg05a6cr+3Gkj3h8Nmns5etU/qXqyOsxbSA73//avldHoIiG/xf crZXdrxdKyjt05Yb9mrOxLfWxjwnBNpb260a5U/v3RBeq3Ao9OqF05f3xl68si3n79MpVm8n RBk7F3QyzxOKWfLP2dJyX4jt1othMWJbH7ezOK+7VeQTH1n6hiG0ump+a5po/vFdkpGW5+zm 344zYKoLa9hlPquHdeXy6sZtzY4sk1iarD9XMERO58uoz1OM1D505fe6T/m7Ttcke7yY/f6e dOrKd+duTVBP31kUvefd4T1bk+yO3Oib9nmBEktxRqKhFnNRcSIAzIcoIx8DAAA= X-CMS-MailID: 20200825103331epcas1p341eca764a8accfad2113d7bed7a7e7fd X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-Sendblock-Type: SVC_REQ_APPROVE CMS-TYPE: 101P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20200825083202epcas1p39a30661dd7ae7e5b4f8645a7cfcedd1d References: <20200825083147.25270-1-vadivel.muruganx.ramuthevar@linux.intel.com> <20200825083147.25270-2-vadivel.muruganx.ramuthevar@linux.intel.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On 8/25/20 5:31 PM, Ramuthevar,Vadivel MuruganX wrote: > From: Ramuthevar Vadivel Murugan > > Add usb-typec detection support for Intel LGM SoC based > boards. > > Signed-off-by: Ramuthevar Vadivel Murugan > --- > drivers/extcon/extcon-ptn5150.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/extcon/extcon-ptn5150.c b/drivers/extcon/extcon-ptn5150.c > index 8ba706fad887..60355a1b5cb2 100644 > --- a/drivers/extcon/extcon-ptn5150.c > +++ b/drivers/extcon/extcon-ptn5150.c > @@ -300,6 +300,8 @@ static int ptn5150_i2c_probe(struct i2c_client *i2c) > return ret; > } > > + extcon_set_property_capability(info->edev, EXTCON_USB_HOST, > + EXTCON_PROP_USB_TYPEC_POLARITY); extcon_set_property_capability() just sets the capability of EXTCON_PROP_USB_TYPEC_POLARITY property. If you want to set the value (0 or 1) of EXTCON_PROP_USB_TYPEC_POLARITY, we have to call extcon_set_property() function. But, this patch doesn't set the any value of EXTCON_PROP_USB_TYPEC_POLARITY property. Why do you only use extcon_set_property_capability() without the proper extcon_set_property()? > /* Initialize PTN5150 device and print vendor id and version id */ > ret = ptn5150_init_dev_type(info); > if (ret) > -- Best Regards, Chanwoo Choi Samsung Electronics