Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp633908ybz; Wed, 15 Apr 2020 15:35:17 -0700 (PDT) X-Google-Smtp-Source: APiQypLQdi4Fce2QGU5Q94mygbt50IjkyLEgUtQTE0Zobg77xePYfZWSJMwb//6IJjWfVE5chdl0 X-Received: by 2002:aa7:c597:: with SMTP id g23mr8511900edq.109.1586990117365; Wed, 15 Apr 2020 15:35:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586990117; cv=none; d=google.com; s=arc-20160816; b=BwdyVsihoK8wG+pOgHoVRkOHBH7w3C5kPaD9X6g0KZ0QuCeV2D2uqiqCHU14gzRGQ1 Tgd8xpngqjni7o7PKVL7hvTBqWe0QVwD2yntoEAomPAt88QIEqv3s2GGeNIYl44GEXiK CX/Qd9i5CvI4oLIiXVi78KXjbKeDZ8LL26Q0C0EtG5JE4ebNUjjQGMpCGZW2MKJUCjGG a5kbEYsJ7Mu512caSOi2lZqWGZ038vFEjwVt5FLeSKhDLkaSbJhVKi/WDn2bMkUDticg nVJYdSRuppRTn1151kbz36qhlooIrqCTMCOF+2awozgz+Tkjo/1SD3gmZhxH5Yptfakx scRw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:dkim-signature:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from; bh=055RAzmaGHUjBmQF8JPysR26eaww2SCbnUqbBC+ZFk4=; b=I+QdkTMZAOZ6DVt1qlYFxDh7erYTlrrEC2wvdla4vJ8MYrAx1begbXbSB4bWSoOusy fCp8lcxfp0Crdaw9hWxibHJX8kWscZVx7rZ8sQ7Btj1dNVjLDz4X6ml5twLwWVzqBh2b dLk5QPKQqbW/qezlYyZmk1HO8tJhNTvH4dBOZ0Od4WPDg7XAMRdSULvISRypINaGcvGi 6BCl8oK3iMlM5TrH/HITTeJ0wkBGnoRt2zf/1euEBUv62ezMMR0v/bEiJLxC7M0JvJlq USQC5x9Wot7OdU8nYoFzvzxNtII6b9WEu67SOox9eBHyF+v6t+pKaAEUEltH8v6JFYOu JKdw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=k8fQPFJ1; 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=nvidia.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id oc19si5841131ejb.487.2020.04.15.15.34.54; Wed, 15 Apr 2020 15:35:17 -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=@nvidia.com header.s=n1 header.b=k8fQPFJ1; 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=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2403805AbgDOI2R (ORCPT + 99 others); Wed, 15 Apr 2020 04:28:17 -0400 Received: from hqnvemgate24.nvidia.com ([216.228.121.143]:4522 "EHLO hqnvemgate24.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2894455AbgDOI1R (ORCPT ); Wed, 15 Apr 2020 04:27:17 -0400 Received: from hqpgpgate101.nvidia.com (Not Verified[216.228.121.13]) by hqnvemgate24.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Wed, 15 Apr 2020 01:24:00 -0700 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate101.nvidia.com (PGP Universal service); Wed, 15 Apr 2020 01:25:49 -0700 X-PGP-Universal: processed; by hqpgpgate101.nvidia.com on Wed, 15 Apr 2020 01:25:49 -0700 Received: from HQMAIL109.nvidia.com (172.20.187.15) by HQMAIL105.nvidia.com (172.20.187.12) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 15 Apr 2020 08:25:49 +0000 Received: from rnnvemgw01.nvidia.com (10.128.109.123) by HQMAIL109.nvidia.com (172.20.187.15) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Wed, 15 Apr 2020 08:25:48 +0000 Received: from nkristam-ubuntu.nvidia.com (Not Verified[10.19.67.128]) by rnnvemgw01.nvidia.com with Trustwave SEG (v7,5,8,10121) id ; Wed, 15 Apr 2020 01:25:48 -0700 From: Nagarjuna Kristam To: , , , , , , CC: , , , , Nagarjuna Kristam Subject: [PATCH V2 8/8] phy: tegra: xusb: Enable charger detect for Tegra210 Date: Wed, 15 Apr 2020 13:55:08 +0530 Message-ID: <1586939108-10075-9-git-send-email-nkristam@nvidia.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1586939108-10075-1-git-send-email-nkristam@nvidia.com> References: <1586939108-10075-1-git-send-email-nkristam@nvidia.com> X-NVConfidentiality: public MIME-Version: 1.0 Content-Type: text/plain DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1586939040; bh=055RAzmaGHUjBmQF8JPysR26eaww2SCbnUqbBC+ZFk4=; h=X-PGP-Universal:From:To:CC:Subject:Date:Message-ID:X-Mailer: In-Reply-To:References:X-NVConfidentiality:MIME-Version: Content-Type; b=k8fQPFJ192XnwKkG4g9GVom7Z04W0MGP1M9gcjdJGRYEEIMkcAhs5WcelJNpK2QWQ dMYVctTvIAq2wvH3ck9xdxgX2S7ekzH1iaq2NNH2gr0RKbUNFvsawkzThv69Mh3Rcq VuGlhccCLB7dHhz4JxNLQDi73iwBsDPLnE04aojmyD2MqB27BnZtzj/vv7SiqDJx19 lEU8a3la3weiHi3xDEevptnouoODmOn/Ufd1DUjKNktJmHK10QUAKMBMf3Pi7DhrXk 6CkkPtNLZLNt6P0c4k2maXC2P2AIrq09Wplv0wUUDXN888E2s7SD6XT20REbNI80rd jJM3YP8Y/PUaQ== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Tegra210 SoC supports charger detect, set corresponding soc flag. Signed-off-by: Nagarjuna Kristam --- V2: - Patch re-based. --- drivers/phy/tegra/xusb-tegra210.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/phy/tegra/xusb-tegra210.c b/drivers/phy/tegra/xusb-tegra210.c index 7d84f1a..2be5201 100644 --- a/drivers/phy/tegra/xusb-tegra210.c +++ b/drivers/phy/tegra/xusb-tegra210.c @@ -2352,6 +2352,7 @@ const struct tegra_xusb_padctl_soc tegra210_xusb_padctl_soc = { .supply_names = tegra210_xusb_padctl_supply_names, .num_supplies = ARRAY_SIZE(tegra210_xusb_padctl_supply_names), .need_fake_usb3_port = true, + .charger_detect = true, }; EXPORT_SYMBOL_GPL(tegra210_xusb_padctl_soc); -- 2.7.4