Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp181158ybz; Thu, 16 Apr 2020 22:25:32 -0700 (PDT) X-Google-Smtp-Source: APiQypIvH0/EBrvyud4kZRG4quzyrY29mlC4ucS0pVuUtexOYlvKxMNT4wZ/nxN/rt6n7tLi9FBe X-Received: by 2002:a17:906:3709:: with SMTP id d9mr1449114ejc.94.1587101132792; Thu, 16 Apr 2020 22:25:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587101132; cv=none; d=google.com; s=arc-20160816; b=KwASNooD2jLG0nhFiJw17pl7WvAVsjEOhqoSkEkt8o2kH4CHmJhHZvvBoRSN4EAggW IbrijpO/SyfEtlhAZpHn0KOPKn7IToywNV2deNakvCIaLkAdRYGwn2xYOfwt/dUyUXD/ QzZS2Lm9lgCl1Oi5oLXSk4wmoieJEpvIOnXs3MvHQivFvu/NP8L5Bc/u4zwIn33ouK7g E2oINgl/gOFy/+gZuB8MWIKOjfi8GHVO8apO/bjkcLayLFVEoS5oIIhGBFPWqN2Fe3Pm An3GaWIF2ipVgAqca7jFZXjK9RHzsZ70ZfPIxVA2cEBlUOC++IXB5/AD2iVkAObCeZyt pILQ== 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:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=+zpT5B2IshhZ214mCSGdW/SvpDv7hKMz1rnXfEoTBUc=; b=lV1IgLSjIEtkoyoKZmQA0WF89ZwKFzgygvV3DL+NYF/c8tGsAs2W/w0TRjldbT3uy+ FsGHcMYfTQGsPE7+iVJ25jUkP1FLYZUOV4rKCM4CPmkaTxze2OJ6dZtKkmKD2Bg+Vuzu z4jlJeDuDExuyba1uw+ZdmqY4PlxkekhsorprLcm3rsr1Q39nB91FfGKLbRIqqcirEVd UxkEqWdkZ+YhGZbSslKLFO+53LGIqkR5GbTVBRMZTJMJ+GoaCSOb/cGaoRnosrfQtP9Y dU+WTJtYlhxo+ro6FRDJG5p6WjEmWOnEfzDTLeJIuKxz0r08ws3uLDjHySPaZ4qrgD6w 4FsA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=Miljsmve; 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=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r27si6966103edc.594.2020.04.16.22.25.09; Thu, 16 Apr 2020 22:25:32 -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=@mediatek.com header.s=dk header.b=Miljsmve; 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=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726748AbgDQFXX (ORCPT + 99 others); Fri, 17 Apr 2020 01:23:23 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:39853 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726616AbgDQFXW (ORCPT ); Fri, 17 Apr 2020 01:23:22 -0400 X-UUID: 082516a55c7a46cdb85202acfad585f0-20200417 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From; bh=+zpT5B2IshhZ214mCSGdW/SvpDv7hKMz1rnXfEoTBUc=; b=MiljsmvesNAjTzcryn9BOY90EuXWSeTKVZOhLQHv7FCngg8UuCptbyLct3iyvUjQHsqjcgpWRhvQ7ZVVyvIiOt+Merq6p1BTp4CRTecvj1MfPUc1KF5Qbc/GxzTWtJV2dViDX0pLO7hRup40IQzF1hJUtVNaeymY3tKxv0bB9x8=; X-UUID: 082516a55c7a46cdb85202acfad585f0-20200417 Received: from mtkcas10.mediatek.inc [(172.21.101.39)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 1199223011; Fri, 17 Apr 2020 13:23:17 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs08n2.mediatek.inc (172.21.101.56) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 17 Apr 2020 13:23:11 +0800 Received: from mtkswgap22.mediatek.inc (172.21.77.33) by mtkcas08.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Fri, 17 Apr 2020 13:23:12 +0800 From: Macpaul Lin To: Min Guo , Chunfeng Yun , Kishon Vijay Abraham I , Rob Herring , Matthias Brugger , , , , CC: Mediatek WSD Upstream , Macpaul Lin , Macpaul Lin Subject: [PATCH 2/2] phy: phy-mtk-tphy: introduce force_vbus for u2 phy Date: Fri, 17 Apr 2020 13:23:06 +0800 Message-ID: <1587100986-3104-2-git-send-email-macpaul.lin@mediatek.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1587100986-3104-1-git-send-email-macpaul.lin@mediatek.com> References: <1587100986-3104-1-git-send-email-macpaul.lin@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-TM-SNTS-SMTP: E815C42225B82684929207EFF6F91564BF86715E507A584A4955B6A5F960DCE12000:8 X-MTK: N Content-Transfer-Encoding: base64 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Rm9yIHNvbWUgcGxhdGZvcm1zLCB0aGV5IGRvbid0IGhhdmUgdmJ1cyBwaW4gY29ubmVjdG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