Received: by 10.223.148.5 with SMTP id 5csp7781955wrq; Thu, 18 Jan 2018 09:24:30 -0800 (PST) X-Google-Smtp-Source: ACJfBotkvtvCMcOgNnpNuDtVfcozLB2Nyj4IEJweWMA19MxN/Ko7SCxfptqGdtwjTvMgWYO0bUZY X-Received: by 10.101.74.71 with SMTP id a7mr20599097pgu.32.1516296270849; Thu, 18 Jan 2018 09:24:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516296270; cv=none; d=google.com; s=arc-20160816; b=nN7nMOe2Huz2iUt9mKhhQcspdUJo0atyHs4uRfWZGUe/cKSA/9K2NgiadCyvr3RyL/ 5lKHL+fYk8hLUwbp9WnNYj3x283zaxLN8sERokyw4YTOrurtwxr0NgZRMbDKJrmQ9aB+ 4/qQ3C+XHvk78Bxdt0XgHBDJPfJJINxZ68p4L5s8IMohFMq12SAfMk9e9gAP6jjvhS6K Z1hbyJRJDKfxOR0thXgqzPXyewBGv3rcACNXrG15wfNGkW//3KLD4qucNKOLNXyZY8eQ y4pHTnPFg/qk7J6DqcP719SlYlU/HNK5I/V3I9ha4WvQ3s7zbI3cbvEzvrVUkS1n9pKM dJXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=T1bTGq5f6lkYHOXvdaMsgvGmku51/7Xfjkc/mjyWpik=; b=o0TsjOp2nrOOopcotEQD/ttMsmeAM+6Jhue+iZXDTtsuupptLNmO927b0gwL3BjvW9 AfJcQadtuBTX8yW37D5q50dzQ+T1VZQEDbO3FaW/nCsOqdYql525xkVvjXk7/xCnccbz RQuFzYVTXUNbT+flgV36teHgiGGdj2OpQ3TfylieYQIKveTNMZqLsB9A2eieJYj01S6L rNMEoRu6vI50MRlMp74j0dYJt3qAjwHK2vGjU5a0bOT2mhpKijxnoLCty/uF57YwzkoZ 2bYbQpWzWIrGjF0dZDMErnObfbaOvYJLXW6RQiwLdYkglMkNTxBNx9+8rKym6imO6J0E p1Gg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=rVEkcS6D; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j128si7299024pfc.209.2018.01.18.09.24.16; Thu, 18 Jan 2018 09:24:30 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=rVEkcS6D; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755573AbeARRWF (ORCPT + 99 others); Thu, 18 Jan 2018 12:22:05 -0500 Received: from mail-qt0-f195.google.com ([209.85.216.195]:38113 "EHLO mail-qt0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755307AbeARRVs (ORCPT ); Thu, 18 Jan 2018 12:21:48 -0500 Received: by mail-qt0-f195.google.com with SMTP id z10so3950128qti.5; Thu, 18 Jan 2018 09:21:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=T1bTGq5f6lkYHOXvdaMsgvGmku51/7Xfjkc/mjyWpik=; b=rVEkcS6DQy36jz137eUG5qfx90UJbPlI3GSBxLdXgmvfGVQOtLmbAv3uvKMOHhtwct 83mZVd/94kY5ywNRgBwiib43mPQbmcvhI/9cpe3QjuqM7NWhBq5OMZvQD993Ebes7DiI E/BDHmQNfP3GgIypZOo8Nrt7Eq205r5o1bRwvACrOkABxOYAWw/ajr4u89NH2pxDL4OO CzVqeFICIPFuliuRhZOJa6u+U/35MolhYwGHwCfbV68tuhdkS2/l2/BcCIlRq87N1R/S AyfwtTIgzfFBjuh9/VU9dFeq7h1zk6p2nkuC6/8Cy2lLJfmyH/sRYL8gs8HxVWb8nHuG Yomg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=T1bTGq5f6lkYHOXvdaMsgvGmku51/7Xfjkc/mjyWpik=; b=p4Oe8/IMOensiDpzoCkv+F2kaNiM+Y5lAaEwnWBx9lK1TZ8r9uGGMc7X9mtxz7BeMx 4cYVoUAb7kiZDa47qg1vTe4IchPq35Ep64KK/ZoUUT14iQgA8IE0akbmgbJA9UM/wr7q R+5BQnVIfN/i+Ccn9RfXwxKxTTlfV9yvjtlXyV1z/c0C+e5Ngkh+hMFrHA/aHgdtLV/c vQVv3cMWV+PnuRaxbgLdPP9fXzO+r6p9B1LWjAWDt/elTFRmlNWwcftVo8oRTPuo/jSL LtPFFTesNpEiq6nGQFTfAglkXZRYUx5v1vjREJbg46391pmi1ttWHkuj4HL5RLeb/O0f V2jw== X-Gm-Message-State: AKwxytfFWcN+dwYLAycsXfuIGq3AekAV1xxTKP7U5GN0rcdVwsrGNTYj x/abs0XAqmIQkPMxnARZoKmjQdxhszj1zzfA7mE= X-Received: by 10.55.222.7 with SMTP id h7mr683097qkj.207.1516296106780; Thu, 18 Jan 2018 09:21:46 -0800 (PST) MIME-Version: 1.0 Received: by 10.200.26.27 with HTTP; Thu, 18 Jan 2018 09:21:46 -0800 (PST) In-Reply-To: <1515751704-13213-3-git-send-email-william.wu@rock-chips.com> References: <1515751704-13213-1-git-send-email-william.wu@rock-chips.com> <1515751704-13213-3-git-send-email-william.wu@rock-chips.com> From: Enric Balletbo Serra Date: Thu, 18 Jan 2018 18:21:46 +0100 Message-ID: Subject: Re: [PATCH 2/3] arm64: dts: rockchip: add USB3 OTG reset for Type-C PHY on rk3399 To: William Wu Cc: Kishon Vijay Abraham I , Rob Herring , =?UTF-8?Q?Heiko_St=C3=BCbner?= , linux-kernel , "open list:ARM/Rockchip SoC..." , Linux ARM , "devicetree@vger.kernel.org" , Frank Wang , huangtao@rock-chips.com, Doug Anderson , Brian Norris , Guenter Roeck , daniel.meng@rock-chips.com, John.Youn@synopsys.com, lin.huang@rock-chips.com Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 2018-01-12 11:08 GMT+01:00 William Wu : > Add USB3 OTG reset for Type-C PHY. It can be used to hold the USB3 > OTG controller in reset state before initializing the Type-C PHY. > > Signed-off-by: William Wu > --- > arch/arm64/boot/dts/rockchip/rk3399.dtsi | 10 ++++++---- > 1 file changed, 6 insertions(+), 4 deletions(-) > > diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi > index d340b58a..4e89d00 100644 > --- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi > +++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi > @@ -1377,8 +1377,9 @@ > power-domains = <&power RK3399_PD_TCPD0>; > resets = <&cru SRST_UPHY0>, > <&cru SRST_UPHY0_PIPE_L00>, > - <&cru SRST_P_UPHY0_TCPHY>; > - reset-names = "uphy", "uphy-pipe", "uphy-tcphy"; > + <&cru SRST_P_UPHY0_TCPHY>, > + <&cru SRST_A_USB3_OTG0>; > + reset-names = "uphy", "uphy-pipe", "uphy-tcphy", "usb3-otg"; > rockchip,grf = <&grf>; > rockchip,typec-conn-dir = <0xe580 0 16>; > rockchip,usb3tousb2-en = <0xe580 3 19>; > @@ -1406,8 +1407,9 @@ > power-domains = <&power RK3399_PD_TCPD1>; > resets = <&cru SRST_UPHY1>, > <&cru SRST_UPHY1_PIPE_L00>, > - <&cru SRST_P_UPHY1_TCPHY>; > - reset-names = "uphy", "uphy-pipe", "uphy-tcphy"; > + <&cru SRST_P_UPHY1_TCPHY>, > + <&cru SRST_A_USB3_OTG1>; > + reset-names = "uphy", "uphy-pipe", "uphy-tcphy", "usb3-otg"; > rockchip,grf = <&grf>; > rockchip,typec-conn-dir = <0xe58c 0 16>; > rockchip,usb3tousb2-en = <0xe58c 3 19>; > -- > 2.0.0 > > Tested-by: Enric Balletbo i Serra