Received: by 2002:a05:6a10:6006:0:0:0:0 with SMTP id w6csp254893pxa; Thu, 27 Aug 2020 01:02:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzwKOzojssp0nCMZW0Iso6FPQOzgpC/4WisWgQRis3rPJ/3gNuVPobGCF9FMyjNPmPU7r3h X-Received: by 2002:a17:906:37d3:: with SMTP id o19mr18724819ejc.62.1598515334147; Thu, 27 Aug 2020 01:02:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598515334; cv=none; d=google.com; s=arc-20160816; b=Z3+VBn7hR9mx2uaF5UxcG46U7zxF5tU9rT9Ii8JLG7Zzbw2wl6hrNdcykhWROTPNqf 3ti4ahTfycHekcw+U4qyk6MIQLcIPQ3BrN8MvbVTW5iva8slVWpng/nFl729XiluLtgJ fcAzug6VBIZ4YgOn0kUFLVBdjOC071npL/qmJViLdA1VpQRsOWzThABGWr9lB5NZoMU5 83eHCs9zRwyLB7dUVNFLI3dv+bzxopy5DuG57hja4aNihYl9Z6UjGPsYWLgkd72NGpY4 GAt+PyFRRn5NXV4Mhmm7OJ3g7OqEMpmFgVjY/4+qW36hXFX+FXdvrsQM12/KOmWLj0Sb WZQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:reply-to:ironport-sdr :ironport-sdr; bh=NrrYEyKqvFt5twKyia7VSx2bH1DKvX5UofVP7olwz7s=; b=xXO6Lf76iKGS/Dht8/Dd/lNmI6GLNx5TEt3UhsPiSCfhOKOlEUY5dRXwHfmIGV98vf p8+JyfDxpQXq9GjcMdxyVMuyvHXusroFLclIxL0YyL6M7nINY64rb1mEUHdmUZdEdIxw Vw5GdFAbNlffV4opTuZWsfrSfIMTjQIYnxJtL8hLBqQ0Ypgl/OE2u+YUOmTSoHS/ja8j nyIAixaFIhhmKH3lyYKVH2Q488ShUWK1XO/xR2Yl0hKyl8HbQQXbb/6XGUVYd5t0w4sG 041zTYxix5o7tZ3Sq/de76y5NifJ/OR4f4fDKpKdg5IvlqbMxAt5IuAYHijudEird61s fEKw== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b1si847689ejb.647.2020.08.27.01.01.50; Thu, 27 Aug 2020 01:02:14 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728363AbgH0IAs (ORCPT + 99 others); Thu, 27 Aug 2020 04:00:48 -0400 Received: from mga04.intel.com ([192.55.52.120]:18800 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726851AbgH0IAs (ORCPT ); Thu, 27 Aug 2020 04:00:48 -0400 IronPort-SDR: 9RrsowQtcQBMiE1qlKFvKBSMYtx+dbV8dFdJNc7/US+x8MNZ4HVVWYjvYE49TkrS5LXDR4Cy9S SPnlVDGTcdCw== X-IronPort-AV: E=McAfee;i="6000,8403,9725"; a="153860693" X-IronPort-AV: E=Sophos;i="5.76,359,1592895600"; d="scan'208";a="153860693" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Aug 2020 01:00:47 -0700 IronPort-SDR: vBlE8G0sFynYcM8sdc9gJbZvGMTIHnQtFOnPL2GGarlfPnhq6xrMi2y+aJQgtOxbF8vHCFc45P pPbFuQLdbMKQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,359,1592895600"; d="scan'208";a="373647850" Received: from linux.intel.com ([10.54.29.200]) by orsmga001.jf.intel.com with ESMTP; 27 Aug 2020 01:00:47 -0700 Received: from [10.249.76.175] (vramuthx-MOBL1.gar.corp.intel.com [10.249.76.175]) by linux.intel.com (Postfix) with ESMTP id 27FAD5806C6; Thu, 27 Aug 2020 01:00:42 -0700 (PDT) Reply-To: vadivel.muruganx.ramuthevar@linux.intel.com Subject: Re: [PATCH v3 1/1] extcon: ptn5150: Set the VBUS and POLARITY property capability To: Chanwoo Choi , 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 References: <20200827065128.55094-1-vadivel.muruganx.ramuthevar@linux.intel.com> <20200827065128.55094-2-vadivel.muruganx.ramuthevar@linux.intel.com> <47fef2ec-012c-03c7-13ef-0882b4f7146b@linux.intel.com> From: "Ramuthevar, Vadivel MuruganX" Message-ID: <6a151d0d-4d78-5310-265d-93eca2143e3e@linux.intel.com> Date: Thu, 27 Aug 2020 16:00:42 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On 27/8/2020 4:11 pm, Chanwoo Choi wrote: > On 8/27/20 4:53 PM, Ramuthevar, Vadivel MuruganX wrote: >> Hi, >> >> On 27/8/2020 3:56 pm, Chanwoo Choi wrote: >>> 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. >> Thank you!, no objection , please fix it. > Applied it. Thanks. Thank you so much for applying. Regards Vadivel >