Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2735644pxa; Tue, 25 Aug 2020 01:33:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyVx6jtjgMd/4jxCXvLKF1EMeTSi5YeiR+DHFg73x8PA4kw5YMCtuMMRu/mrqY+IVR5Png2 X-Received: by 2002:a05:6402:45a:: with SMTP id p26mr9568224edw.8.1598344388413; Tue, 25 Aug 2020 01:33:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598344388; cv=none; d=google.com; s=arc-20160816; b=v8C1SrMRi96J3odMdJ5LrJXZhji46scDC9Z1iPHNWwyFdaNCySDWVyVOMpu9Ud7jb8 5S6hVfnquxOyg5jnDiyLzftWXaSVnt62Y26zMqV3SJ+OqOECjD+IaPsokX7AFFCT3LEF MNzB7dE5xJCmASZ6qckjGZdGZzZ/DWR8WBP29ruqMN9JqpTo5wDee6whKY5g0I79j+bw 2oC0U/eowqlEqpg7nu7ZHk9G6LxNfeiNFgifJD8d37uIeHFLg20Bwn+sEMss7jeMxa1f ZL0Iw6Az39ntqd9e4egq2LyteXY9uYUy7FAcS8+ac78/mgJCAmK7PTCGBqcUMdt2AYug wihw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:ironport-sdr:ironport-sdr; bh=Lj87ZzFMpXcLX/qGKDX0z7+TcCJUSL3yLz08Q0MirQo=; b=txXXZtAXaUAOrnNR/xnZlZbMAmUN1h9lQXB/Zk1oFZsufiRYN8KBkvaIigd8o+XV25 al8QMs4nshztZlOib5L1IbTJXtw3SJgIrufeB+dyj13mnabsuMenSK1IUrmGcIH2wMFW r7iMOUM4UnwxPvq1oHaYESaVIimzLU2CXZBb+k374yhnYO8zkfUROJOFB/qAX+DE3ea1 ySneF87uzBGKmhbHLXB0RHpa7diqSbKrHbk6lDxkn3IkzPLmCddirqc2Zn+ubH1PVnek uRpSgnQXNHbI/N5JKbgfLfSw5TWdDOb1n8p8tlWdvDHR/cUc2deUY5qk88uZOuIp9P4X Qpog== 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 i8si8974311edj.113.2020.08.25.01.32.44; Tue, 25 Aug 2020 01:33:08 -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 S1729141AbgHYIb5 (ORCPT + 99 others); Tue, 25 Aug 2020 04:31:57 -0400 Received: from mga01.intel.com ([192.55.52.88]:53805 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725936AbgHYIb5 (ORCPT ); Tue, 25 Aug 2020 04:31:57 -0400 IronPort-SDR: 3ZdKkZYxqJGv0EMPGa9iH564Ii7nBwMql5OeKygtVrDCH0b5AgUahtZNWimjuOu7E29G30HUIb wLrf9DNHnN8g== X-IronPort-AV: E=McAfee;i="6000,8403,9723"; a="174106730" X-IronPort-AV: E=Sophos;i="5.76,351,1592895600"; d="scan'208";a="174106730" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Aug 2020 01:31:56 -0700 IronPort-SDR: WivsC7h88SgsL8a8qszs7v2ZnMAHxv/TgbYyuA16oH/M6k7sTqAuZE02nQ35x9bi+QQiX1NTqG 3WHrkjIWZBSA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,351,1592895600"; d="scan'208";a="299022794" Received: from sgsxdev004.isng.intel.com (HELO localhost) ([10.226.88.13]) by orsmga006.jf.intel.com with ESMTP; 25 Aug 2020 01:31:54 -0700 From: "Ramuthevar,Vadivel MuruganX" To: cw00.choi@samsung.com, 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, Ramuthevar Vadivel Murugan Subject: [PATCH v1 1/1] extcon: ptn5150: Add usb-typec support for Intel LGM SoC Date: Tue, 25 Aug 2020 16:31:47 +0800 Message-Id: <20200825083147.25270-2-vadivel.muruganx.ramuthevar@linux.intel.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20200825083147.25270-1-vadivel.muruganx.ramuthevar@linux.intel.com> References: <20200825083147.25270-1-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 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); /* Initialize PTN5150 device and print vendor id and version id */ ret = ptn5150_init_dev_type(info); if (ret) -- 2.11.0