Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp633992ybz; Wed, 15 Apr 2020 15:35:25 -0700 (PDT) X-Google-Smtp-Source: APiQypIrYgiDEXWZEsZUNKuzGl2VmWEdGD0qYgtjF661P6Q2i80uPkyKXjmW1TJhSfiMkdfvCVFl X-Received: by 2002:a17:907:447f:: with SMTP id oo23mr6914859ejb.274.1586990125194; Wed, 15 Apr 2020 15:35:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586990125; cv=none; d=google.com; s=arc-20160816; b=gVWAo20+CaXhQX79J1DbqoWuntxIzmD/v8t2ez1z71OtBlELmn6rpgpWSoIKs2PMK6 7OBe4KqCDdbzP0UQX41yJIXakuwsw+3u4mtiMfFBRCwAPWYiTfIZTcg8i1BywgCmjP5g kgSdy6tCSXhm42FFP0dchTgYPy6N+TqY5ca+Uow22Bf3DnQDcwEE1LubCofH+mLipsdj 1RZqQSPh2IVKAOU6YYEHRg1t/1VlxhrnXuSLzJBBUc9T5+N87m/jL288ojp6KWVL/jHJ QPovm8bInDPSfFrbF/XqFnpQb/n74jVZ3No+OtKEtqAjylIpYLXOimlKph6z/GoklcxV CfOg== 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=NFF4rNyK1bxZi46MjrBDC+rV9hWDW87mBhP0TbbGgTA=; b=K/gbWYdyd0jTfAFsQ38OFSANsak7CwChBoFUj+nn/1p+ULi8bVKRdHrKzC1gNhO2pd IUNfruiLBt/o2K0fiykTrnAk3KcPwhATjVTsEYQwE4CdgwfgcQjVxiECHPD/hrg/KtoA 3FpIW+ZknKSgd1UeOFURMBoOJKMlLxAhLq0uWjYaVycCj/++5K66jzz9UwYkRHrYyBbC 4GMDEvJlBpHkuUMdaeV1eBftOs/9snOwl1KOjPxSFlvw6aMSvZcjNHvN0XIUkl5ewd0H 6HEE9aTobnmLENkGcg1yf4bqG8EJsHIZHXCmuzn2EMNTYAfE9z0xfH7boYCmGfQ91DJ9 PidQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=mk01WjuZ; 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 b26si6324713edr.228.2020.04.15.15.35.01; Wed, 15 Apr 2020 15:35:25 -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=mk01WjuZ; 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 S2894546AbgDOI2p (ORCPT + 99 others); Wed, 15 Apr 2020 04:28:45 -0400 Received: from hqnvemgate24.nvidia.com ([216.228.121.143]:4463 "EHLO hqnvemgate24.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2894488AbgDOI1K (ORCPT ); Wed, 15 Apr 2020 04:27:10 -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:23:56 -0700 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate101.nvidia.com (PGP Universal service); Wed, 15 Apr 2020 01:25:45 -0700 X-PGP-Universal: processed; by hqpgpgate101.nvidia.com on Wed, 15 Apr 2020 01:25:45 -0700 Received: from HQMAIL111.nvidia.com (172.20.187.18) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 15 Apr 2020 08:25:45 +0000 Received: from rnnvemgw01.nvidia.com (10.128.109.123) by HQMAIL111.nvidia.com (172.20.187.18) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Wed, 15 Apr 2020 08:25:45 +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:44 -0700 From: Nagarjuna Kristam To: , , , , , , CC: , , , , Nagarjuna Kristam Subject: [PATCH V2 7/8] phy: tegra: xusb: Enable charger detect for Tegra186 Date: Wed, 15 Apr 2020 13:55:07 +0530 Message-ID: <1586939108-10075-8-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=1586939036; bh=NFF4rNyK1bxZi46MjrBDC+rV9hWDW87mBhP0TbbGgTA=; h=X-PGP-Universal:From:To:CC:Subject:Date:Message-ID:X-Mailer: In-Reply-To:References:X-NVConfidentiality:MIME-Version: Content-Type; b=mk01WjuZWgabl8Wy/fkvjv+ayfW5bgYmcF+pYBmsNhgjaa+VOyrFXHUbz6BQHacU5 tzif5yOp2K6WtRLenXrgyZIm4vftNJsgZ6fU2BFH3iHt40t+f8AiBa/6EATEQRD+/T OKn8qpNxCv1J1rDD2x5G5TnE5XUa/mnMPiDG46THt1bGSGYpSmjHrNZO5WgGwl3P/e 0e6lKj7TXyM9+x/x4FDNZ3AIpY3rBEbN2GfHdA0dizbsqYmBvgr6yLpdt/T0ugcwyX vF4SP36dyi8GBbdFLVdklbN2+2qAvirR693fijsaJ0f/jQJlxeOOkb1WQvpaktXZD6 13zQ5COLtk36Q== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Tegra186 SoC supports charger detect, set corresponding soc flag. Signed-off-by: Nagarjuna Kristam --- V2: - Patch re-based. --- drivers/phy/tegra/xusb-tegra186.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/phy/tegra/xusb-tegra186.c b/drivers/phy/tegra/xusb-tegra186.c index 03bdb5b..12ff492 100644 --- a/drivers/phy/tegra/xusb-tegra186.c +++ b/drivers/phy/tegra/xusb-tegra186.c @@ -1041,6 +1041,7 @@ const struct tegra_xusb_padctl_soc tegra186_xusb_padctl_soc = { .ops = &tegra186_xusb_padctl_ops, .supply_names = tegra186_xusb_padctl_supply_names, .num_supplies = ARRAY_SIZE(tegra186_xusb_padctl_supply_names), + .charger_detect = true, }; EXPORT_SYMBOL_GPL(tegra186_xusb_padctl_soc); #endif -- 2.7.4