Received: by 2002:a05:6a10:6006:0:0:0:0 with SMTP id w6csp248359pxa; Thu, 27 Aug 2020 00:45:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxbIzbrnP0w6MJPOft3llMLX9e/1YMeytW6BZkJthokGgpE3fJNYq2eapIfFneaUqXvM7s9 X-Received: by 2002:a50:f40a:: with SMTP id r10mr8697589edm.137.1598514327277; Thu, 27 Aug 2020 00:45:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598514327; cv=none; d=google.com; s=arc-20160816; b=kNwuMUrPai854iLSlcPC+SIh35JPJSGcSUGH4TyQZRxFeMgU4e4n/W0jN1xg7pOW3S cknkaze0eakAAFbjBJU9ALk+LVxN8R/b1KutkzJUcy5uTb6MZ7+Y41Oj7mer/JZWWgAI jxzMWfoBUP+pIK7R5Q2CmE3uzhI+5avsYMU3d0qp3ZRaHJ3W2ICvl+/7jm1sKzVJmJyY kV/Ad3YkWdfQoTDsc1brWkKw9Bze2PdX7jHz9ibubbewSV0kSf3EMJpuSrFK8AStfKOT t8Vx1u7ubg3i38iNXFZXOveup5CfGttDhGrMdSLnNFxUamganDcL4Gz6H8du/PikD9yC jktA== 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=r4jhcseoHypqvXRZ/RixmNT6Bx53CHi5vw/qNzs71Ww=; b=ALctFFzpQc/4k/M3H/cQACSjufMKExyJuGIQWL04IdumKfflL4XSpIbxK62EH3IEuw ykcfRoQhS8Bw5/xEflq1ZxENPTnJKtWdbmFzqR/SNzBdZ84bt9Tz0utamZ0EuouJ3c6r tsyDgQMSj7tvrq+fbaJUci1MYT/f0CU+1dTf+67tRhvgbyesIHisj9YMyGXlVhGJzfjp jljOlGqGXaWUgIoxH9UBnopNuL6+2hmBKOU5QBCh+HoW7KC3mpCU2gTQcVg0jHpnlUrF 2yjh6giuabc4OHz2jZxAldD9kioYzwxP9ollbaKS+eBzvEqQ6qNT2pclnYLx+S+lGxYV 5ONA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=bpwA3lBB; 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 g14si811709ejb.149.2020.08.27.00.45.04; Thu, 27 Aug 2020 00:45:27 -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=bpwA3lBB; 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 S1728270AbgH0HoZ (ORCPT + 99 others); Thu, 27 Aug 2020 03:44:25 -0400 Received: from mailout3.samsung.com ([203.254.224.33]:18160 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728081AbgH0HoY (ORCPT ); Thu, 27 Aug 2020 03:44:24 -0400 Received: from epcas1p3.samsung.com (unknown [182.195.41.47]) by mailout3.samsung.com (KnoxPortal) with ESMTP id 20200827074421epoutp0389336825e7867a72a58d7f53db67b301~vEEBwJeDT2221422214epoutp038 for ; Thu, 27 Aug 2020 07:44:21 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout3.samsung.com 20200827074421epoutp0389336825e7867a72a58d7f53db67b301~vEEBwJeDT2221422214epoutp038 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1598514261; bh=r4jhcseoHypqvXRZ/RixmNT6Bx53CHi5vw/qNzs71Ww=; h=Subject:To:Cc:From:Date:In-Reply-To:References:From; b=bpwA3lBBoncM5sqbAlD8FGqej9g0VLVV1+AkPjQ2bqQVucMYHobgRMU13Egh+gUD6 0GFhbKz8FxqJJsi76eMcZ/5kHKhm1UTKNKlA/q2QYnEKMbUlyq+LgcEauxJWko8bjL pTY/wK4S3I7SAMRoldCBOARe6DD8WCkU7ujVaPUo= Received: from epsnrtp2.localdomain (unknown [182.195.42.163]) by epcas1p1.samsung.com (KnoxPortal) with ESMTP id 20200827074420epcas1p13c51a1ef62d08ffa9af1173247dc69a6~vEEBEK3-q0033200332epcas1p18; Thu, 27 Aug 2020 07:44:20 +0000 (GMT) Received: from epsmges1p1.samsung.com (unknown [182.195.40.152]) by epsnrtp2.localdomain (Postfix) with ESMTP id 4BcZVq6MnQzMqYkZ; Thu, 27 Aug 2020 07:44:19 +0000 (GMT) Received: from epcas1p4.samsung.com ( [182.195.41.48]) by epsmges1p1.samsung.com (Symantec Messaging Gateway) with SMTP id 10.47.18978.254674F5; Thu, 27 Aug 2020 16:44:19 +0900 (KST) Received: from epsmtrp2.samsung.com (unknown [182.195.40.14]) by epcas1p4.samsung.com (KnoxPortal) with ESMTPA id 20200827074418epcas1p445eee582dfa4a74becc65df4e6a4ba6a~vED_xdpCK0446304463epcas1p4z; Thu, 27 Aug 2020 07:44:18 +0000 (GMT) Received: from epsmgms1p2.samsung.com (unknown [182.195.42.42]) by epsmtrp2.samsung.com (KnoxPortal) with ESMTP id 20200827074418epsmtrp2343e66b2f90df69b0c0035cbe28cc421~vED_wjJay2482024820epsmtrp2d; Thu, 27 Aug 2020 07:44:18 +0000 (GMT) X-AuditID: b6c32a35-5edff70000004a22-66-5f476452369e Received: from epsmtip1.samsung.com ( [182.195.34.30]) by epsmgms1p2.samsung.com (Symantec Messaging Gateway) with SMTP id 1B.06.08303.254674F5; Thu, 27 Aug 2020 16:44:18 +0900 (KST) Received: from [10.113.221.102] (unknown [10.113.221.102]) by epsmtip1.samsung.com (KnoxPortal) with ESMTPA id 20200827074418epsmtip1c4f70f75890a78c85ffa1cb031ae9dca~vED_lqP5k2184021840epsmtip1F; Thu, 27 Aug 2020 07:44:18 +0000 (GMT) Subject: Re: [PATCH v3 1/1] extcon: ptn5150: Set the VBUS and POLARITY property capability To: "Ramuthevar,Vadivel MuruganX" , linux-kernel@vger.kernel.org Cc: vijaikumar.kanagarajan@gmail.com, krzk@kernel.org, myungjoo.ham@samsung.com, heikki.krogerus@linux.intel.com, cheol.yong.kim@intel.com, qi-ming.wu@intel.com, yin1.li@intel.com From: Chanwoo Choi Organization: Samsung Electronics Message-ID: Date: Thu, 27 Aug 2020 16:56:45 +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: <20200827065128.55094-2-vadivel.muruganx.ramuthevar@linux.intel.com> Content-Language: en-US Content-Transfer-Encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrEJsWRmVeSWpSXmKPExsWy7bCmgW5winu8QcNBRovrbyMsulbvZLE4 f34Du8XlXXPYLG43rmCz+NKxns1iw7H7bBYv909ntWhqOs7mwOmxc9Zddo/Fe14yeWxa1cnm Me9koEffllWMHp83yQWwRWXbZKQmpqQWKaTmJeenZOal2yp5B8c7x5uaGRjqGlpamCsp5CXm ptoqufgE6Lpl5gDdpKRQlphTChQKSCwuVtK3synKLy1JVcjILy6xVUotSMkpsCzQK07MLS7N S9dLzs+1MjQwMDIFKkzIzjj6fw9rQTN3ReevFrYGxv8cXYycHBICJhLLXjxj6mLk4hAS2MEo 8fvRQ2YI5xOjxOyXl1ggnM+MEv/OHGDvYuQAa/k5jwcivotRoq3vBVT7e6CiOfeZQIqEBWIk Pi6QAzFFBPIlz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/zeLoYuTiEBHYwSuz/vIa9i5ETKC4pMe3iUWaIGmGJw4eLIWreMkq8OtLMCBIXFoiR+LhA DqRcRCBf4t3M3awgNcwC2xkljp+/xgKSEBJ4DdSwiAnEZhPQktj/4gYbiM0voChx9cdjRhCb V8BOomf3XLAaFgFVicaWNcwgtqhAmMTOJY+ZIGoEJU7OfAI2k1MgUGJC82qwOLOAusSfeZeY IWxxiVtP5kPF5SW2v53DPIFReBaS9llIWmYhaZmFpGUBI8sqRsnUguLc9NxiwwKjvNRyveLE 3OLSvHS95PzcTYzgKNPS2sG4Z9UHvUOMTByMhxglOJiVRHgFLzrHC/GmJFZWpRblxxeV5qQW H2KU5mBREuf9OmthnJBAemJJanZqakFqEUyWiYNTqoHJ7tkXQW2dR2/Cf5s36nxKEg35d1/X pOOsxM9Cy3jrm55RsT7OTFdmtcwVi0i016ufyOpyzez5Q45+pl0L5qr6PPuV0qp9Mu2k+9zU V0tKFfvvLWO+7Gxx9l7j6WBJYd/NrnMWaMQWfJb4d6S76PD2+sh5c95af5U/Erck2ufdWR0V vwdL+kqzkx5Mz56WJCd0bGbbMvbN15W1U5/quf9YaWV11OHUcTuuKxt5rv+/OH9l/LXPV/tv L/TtKFd7cCbbtTmOo2ma4Kkb124YStbM8/nW4xTXWnPtY5X3+t3SBRMYZ2x+Mj8z6k9rWDyv /eZr9iyMf975nn8cfedM7yGnOU0C+69LF+8IbkthPiGoxFKckWioxVxUnAgAKXbcYiEDAAA= X-CMS-MailID: 20200827074418epcas1p445eee582dfa4a74becc65df4e6a4ba6a 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: 20200827065143epcas1p3da86f8d70e6d78c64a925f4d9c0f92eb References: <20200827065128.55094-1-vadivel.muruganx.ramuthevar@linux.intel.com> <20200827065128.55094-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 On 8/27/20 3:51 PM, Ramuthevar,Vadivel MuruganX wrote: > From: Ramuthevar Vadivel Murugan > > Set the capability value of property for VBUS and POLARITY. > > Signed-off-by: Ramuthevar Vadivel Murugan > --- > drivers/extcon/extcon-ptn5150.c | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/drivers/extcon/extcon-ptn5150.c b/drivers/extcon/extcon-ptn5150.c > index 841c9fe211f1..20d49a54c36e 100644 > --- a/drivers/extcon/extcon-ptn5150.c > +++ b/drivers/extcon/extcon-ptn5150.c > @@ -275,6 +275,13 @@ static int ptn5150_i2c_probe(struct i2c_client *i2c) > return ret; > } > > + extcon_set_property_capability(info->edev, EXTCON_USB, > + EXTCON_PROP_USB_VBUS); > + extcon_set_property_capability(info->edev, EXTCON_USB_HOST, > + EXTCON_PROP_USB_VBUS); > + extcon_set_property_capability(info->edev, EXTCON_USB_HOST, > + EXTCON_PROP_USB_TYPEC_POLARITY); Above codes used the space for the indentation to keep the vertical line. I think that we better to use tab for the indentation. If there are no objection, I'll fix and then apply it. > + > /* Initialize PTN5150 device and print vendor id and version id */ > ret = ptn5150_init_dev_type(info); > if (ret) > -- Best Regards, Chanwoo Choi Samsung Electronics