Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2845066pxa; Tue, 25 Aug 2020 05:07:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJznWefuw3/rBCVvKvQyhJutz0sp2Cncfz7FX/iZtZCbDmLJ+dwAAFhcZ6BYifdUcCeWiTJj X-Received: by 2002:a50:ee0a:: with SMTP id g10mr9482650eds.289.1598357227256; Tue, 25 Aug 2020 05:07:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598357227; cv=none; d=google.com; s=arc-20160816; b=ICWUDalRz+xWE6i/1DeYYEumWsHwMHeqd5U+V1yrahca920nbxmZBJnD0jncT8XHPU 3sxwSO7Da7PrKTTp+659ZXCeN9WJjToiO4UxhZJ91S453+NF5YFwpEoLgQe4viJok0JG Tywef7hwBgpcWKO/8XV+5olxdSWnis8+Yr5X7PHNqCrSqfmDQiyFxgZKl5poKrxCDrIR fmzP1Y46FrJ4DrvO6JW04hdnLzotPujxMT9doOVypOQkr3zwOIM8KQtDhI1A3QpOQQ3u AfZRx0BxnoGc9EGdXqfk/7N0CDlC4bwKU4JhhrCny+CFexDj7lndTxI/qa2FfSgiUdRv QRaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=/RmhTrzQhsx9UuRlKnp8VuEp85WKAQJEEwz6HVaYMiY=; b=JZ+om6FoDL5gwkB0bg+OJgByU44mtHKPWBTJMRRJwhQejzlDXXmKsS6weA/Rxw3RYX WiT6BxOOUY7xi0dfQbC7RiYMlav6NuqPMZXYc8JriT3yYoptr2jERypYWD+PDh/9RlIu 78+Ew/M9fkIVNvEp0NJBbjaUpYp0PebIV53BOa76ABJ7vBoQhiDkV5qzlK0GSF6ET7vr vtMuQ8qU2iyzGKMfJ45W62rRMDCpbcETf3Ea0gYWcJG8jVD6b5S5VVJht2GvElRsVnHO BXkHp7uMiqVBoi4VI4hPEgeNZYmLeLGswrm4pC8ox3d43eEZWmgZg0j+93a2K9Q/AvWW n1jQ== 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w4si8745554ejb.443.2020.08.25.05.06.29; Tue, 25 Aug 2020 05:07:07 -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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728715AbgHYIk7 (ORCPT + 99 others); Tue, 25 Aug 2020 04:40:59 -0400 Received: from mail-wr1-f66.google.com ([209.85.221.66]:45137 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728246AbgHYIk6 (ORCPT ); Tue, 25 Aug 2020 04:40:58 -0400 Received: by mail-wr1-f66.google.com with SMTP id h15so5091194wrt.12 for ; Tue, 25 Aug 2020 01:40:57 -0700 (PDT) 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:user-agent; bh=/RmhTrzQhsx9UuRlKnp8VuEp85WKAQJEEwz6HVaYMiY=; b=TJ/YZhO1yDH2g+0hk3J4KESi8lf6oeHVipMGFaHkXH1nUrcrQGPp07tOB/i5CsisZi uj6bbbpgM3CXH0PkFmpdDn2kxUzZCvrhQfN8KskLs/mZLqUKc4NE2T1oosZ+XuTve4mC c/fdOFk3iRBlbxmp6N+UCs0UeHSLVMO78TLWxjEq5feeuK80r/wtT6nkB3ZWI2Z7fxAK xQH+/sAvYtXc2R9sZEIZezNAqZjBJQTVjqIBmZayUE+xgJ3ybF/UGw483Mb2belhG6kQ KlZPi6iKVUF0GXKHyfKmz7kMRXj0NHSc2E/d8NSbiNxnBTG531OoBQBu7nEXs9s8TvhH 2cSA== X-Gm-Message-State: AOAM5307PR3SQcKiDodEPDjqMv9/8ikOAh95q080tHvDuK8QskjUwcYT YXq8R42e6xN6nL50uiftRzw= X-Received: by 2002:adf:b442:: with SMTP id v2mr1233395wrd.213.1598344856282; Tue, 25 Aug 2020 01:40:56 -0700 (PDT) Received: from kozik-lap ([194.230.155.216]) by smtp.googlemail.com with ESMTPSA id x4sm325840wmi.0.2020.08.25.01.40.55 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 25 Aug 2020 01:40:55 -0700 (PDT) Date: Tue, 25 Aug 2020 10:40:53 +0200 From: Krzysztof Kozlowski To: "Ramuthevar,Vadivel MuruganX" Cc: cw00.choi@samsung.com, linux-kernel@vger.kernel.org, vijaikumar.kanagarajan@gmail.com, myungjoo.ham@samsung.com, cheol.yong.kim@intel.com, qi-ming.wu@intel.com, yin1.li@intel.com Subject: Re: [PATCH v1 1/1] extcon: ptn5150: Add usb-typec support for Intel LGM SoC Message-ID: <20200825084053.GA13905@kozik-lap> References: <20200825083147.25270-1-vadivel.muruganx.ramuthevar@linux.intel.com> <20200825083147.25270-2-vadivel.muruganx.ramuthevar@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20200825083147.25270-2-vadivel.muruganx.ramuthevar@linux.intel.com> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Aug 25, 2020 at 04:31:47PM +0800, 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); Hi, I think you need the same for EXTCON_USB. Although extcon_set_property_capability() error should not be fatal, but printing a warn message would be useful. Best regards, Krzysztof > /* Initialize PTN5150 device and print vendor id and version id */ > ret = ptn5150_init_dev_type(info); > if (ret) > -- > 2.11.0 >