Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp189308ybz; Thu, 16 Apr 2020 22:36:52 -0700 (PDT) X-Google-Smtp-Source: APiQypLqx5YNlfT67JrGOt1hCJjWekiiWymIdcm7SBn4evp+bmQ9qc/gnpEzwuCjAthviDW1VTLV X-Received: by 2002:a17:906:138c:: with SMTP id f12mr1430631ejc.35.1587101812707; Thu, 16 Apr 2020 22:36:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587101812; cv=none; d=google.com; s=arc-20160816; b=THC6EekZ9vuhuvjXJqJVCOYhrMNBJyY3ETZjuaLNeli17hjF+IGw6dVkpLucGNTxwe WcqEO1qvDIZg+HUOOa/Bwo/PuoK1KJfvueHBrrX8tfDXvb3QPRkpOqEbVz0pWcQb5fea 4sLBEuhnvOphlDgxXUbdHqD2zwN3zAVwSvZcyOU9c2eoz9ffc50we+zKjuSDO7TGq0rL UjwCxWCCNWnkIfna7vBTvxP7jZ2+29zMjV6e/GiOMzNysP+1WcB/tCXFqC0/+UXIrF5+ u5ae2easVXPs+sb8XhDKE5jOyxFhXRH9SP70yY2kB17BIP6Bj3Se2Iv3DZCvX/CjBoML Z1+A== 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:date:cc:to:from:subject:message-id :dkim-signature; bh=bUFVZsbh1IFtMkOupYY4so6J8bYhLyH6LTR/8vJHYYg=; b=r9zXNoFXMUDCH2NDWKbjXdu4uDNQlsZ1IwW7vsR4ncJ4yNkKs2PyUFKxTQ28E19hdn XwupCuFhQRBVL2g9DzAOo95IDSZ0p5aFjDoLhZK3xmMzM+AEWNNr++f/aBKuPRBOdnBe y0bYDYb7zUlLV2wnLcvLQVMUR7Oi3Qmh78T04JLCNFdW7v0Y5g5IBf8a074URZCNVdvH hFbR13niWhajn8h9mf2955E7Z3fKx0ziL1bNlPSuYSPEV83JyZFyeugpfh4ZMSm1gGMK 2vXqw865Gjl2Qu9Q3LIVc1XGVZpCUftheGaoLNbq5WS8AxLSCR8n14XSbDR87m4p6P61 A3cQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=uf+XpTVj; 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 hh15si12258273ejb.527.2020.04.16.22.36.16; Thu, 16 Apr 2020 22:36:52 -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=uf+XpTVj; 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 S1726167AbgDQFe5 (ORCPT + 99 others); Fri, 17 Apr 2020 01:34:57 -0400 Received: from Mailgw01.mediatek.com ([1.203.163.78]:24169 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1725298AbgDQFe5 (ORCPT ); Fri, 17 Apr 2020 01:34:57 -0400 X-UUID: c9a7a2fb22524b9b862c1592da84e80e-20200417 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:MIME-Version:Content-Type:References:In-Reply-To:Date:CC:To:From:Subject:Message-ID; bh=bUFVZsbh1IFtMkOupYY4so6J8bYhLyH6LTR/8vJHYYg=; b=uf+XpTVjXJS+lrsK/5Qf5Z0yXIvGYvYw932ay1v4cGU/vHmZOADuSKTptFKEtl8pnz7bRBa6nC9XNtEdKM4CYsyXjPK3Zbg1GBalU6HFmxKEfyvbPX7T+HDqIBYsOqACe27O+bX6DGjhHh1Vo2fCgwGN5niziDLsmJMUpSF/kKQ=; X-UUID: c9a7a2fb22524b9b862c1592da84e80e-20200417 Received: from mtkcas32.mediatek.inc [(172.27.4.253)] by mailgw01.mediatek.com (envelope-from ) (mailgw01.mediatek.com ESMTP with TLS) with ESMTP id 886313153; Fri, 17 Apr 2020 13:34:50 +0800 Received: from MTKCAS36.mediatek.inc (172.27.4.186) by MTKMBS31N1.mediatek.inc (172.27.4.69) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 17 Apr 2020 13:34:47 +0800 Received: from [10.17.3.153] (10.17.3.153) by MTKCAS36.mediatek.inc (172.27.4.170) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Fri, 17 Apr 2020 13:34:47 +0800 Message-ID: <1587101661.28772.40.camel@mhfsdcap03> Subject: Re: [PATCH 2/2] phy: phy-mtk-tphy: introduce force_vbus for u2 phy From: Chunfeng Yun To: Macpaul Lin CC: Min Guo , Kishon Vijay Abraham I , Rob Herring , Matthias Brugger , , , , , Mediatek WSD Upstream , Macpaul Lin Date: Fri, 17 Apr 2020 13:34:21 +0800 In-Reply-To: <1587100986-3104-2-git-send-email-macpaul.lin@mediatek.com> References: <1587100986-3104-1-git-send-email-macpaul.lin@mediatek.com> <1587100986-3104-2-git-send-email-macpaul.lin@mediatek.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4-0ubuntu2 MIME-Version: 1.0 X-TM-SNTS-SMTP: BF05952D618A127CD5818E03CF14DCD593C923CD996704F9E83F26F467CE44782000: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 SGkgTWFjcGF1bCwNCg0KT24gRnJpLCAyMDIwLT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