Received: by 10.223.148.5 with SMTP id 5csp6458302wrq; Wed, 17 Jan 2018 14:08:04 -0800 (PST) X-Google-Smtp-Source: ACJfBovEsKOdpEHLHBNmOCTKAZceHk2nyt0p9ZERcpux2tzeFWPpBvJMgOpfvr3ZJdkLDgydBWoU X-Received: by 10.98.89.198 with SMTP id k67mr5361786pfj.110.1516226884757; Wed, 17 Jan 2018 14:08:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516226884; cv=none; d=google.com; s=arc-20160816; b=N6wyuK3wIKSKIM3q0WIOHMuD5YSzzMBwFYicSOWHZpLLu7oTZbuQhi2sbfLu8m9q5w XkkhP4OVLC3bNfIc0II1eBVDwvswqu806E58f5Y4oHQoPLP+8fi6xPRsMXactB/kcbW+ AqZniFEN+GX5g8xAu2fbmW4jEOKChdgAvSVN5oH2QRBntStE/oQj2OETm+vNUUakwLfS 1DTXY90Eb4Yo3B9G+cLUtClPxGIuXmQ4q4Xbjn3G084ZnMiCo24TrYXZV9Xq24omb3U3 kcrONGEr55X4u4w/qt3/GCoIk8tT8Ymk2n0t+eLCXH36De4Av01eAEXvI8CGFpVv3+s6 Lk6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=af5mthOsFirYcKAbDScUGTcDtnMQqom63wj7Ztselu8=; b=x89qqn854wRux6uNf5kyDyK03RuxEj+VC532XM4wEtpPmQALkSJKkLhaKD2i9YZ+At fd8hfWRCI/EKFVb8ko6RGpOIdMqR2fWz+gbE21axOK28ERfiMj5yZTaUvwKWAZAv1Iqv uiTRYpRVgAUUghUL1wqYiV3WeJN2Q6/XbAlEr8FS9ZvB74nWuzbYWDlBmaUAWvBfzjlf oHWHQR15J0+eQWqehj9MJhHEffga/+kWkt3gEDAeogpnjZvyyL/80toqffuX/eqscYUx lwnOGeD1mmcv0YdhrXAkp5MSz9d3U+ai1/mgL5XMm0AlZYpS1ZFnQHl48d2n3cssd0/s V3Mg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=jAx+yWdp; 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=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c3si5465826pll.792.2018.01.17.14.07.49; Wed, 17 Jan 2018 14:08:04 -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=@chromium.org header.s=google header.b=jAx+yWdp; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754013AbeAQWHU (ORCPT + 99 others); Wed, 17 Jan 2018 17:07:20 -0500 Received: from mail-pf0-f194.google.com ([209.85.192.194]:45324 "EHLO mail-pf0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753808AbeAQWHT (ORCPT ); Wed, 17 Jan 2018 17:07:19 -0500 Received: by mail-pf0-f194.google.com with SMTP id a88so11028929pfe.12 for ; Wed, 17 Jan 2018 14:07:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=af5mthOsFirYcKAbDScUGTcDtnMQqom63wj7Ztselu8=; b=jAx+yWdp0wXfVdUYdWCLaegMtzVqrkdVPH6FToeJEqiqN+XhOYv3PS+TYWaHwfX85B bdmiItwb1ZFMgMOZLk7Bge0Cqr7TMmvC5Lb6kcybRyhm76BHEqwDnVw4X74pRS+eP1P0 1UJ+6CdWnxRnKopbUFZczErm6Ux7DBaJafbqQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=af5mthOsFirYcKAbDScUGTcDtnMQqom63wj7Ztselu8=; b=mTilJvzh1d2HnQmGTWJtbvw+fR1upxSsPBtfan79VFuTTio1bBYbWzF0faWGd6oC6W +zh350HybVN7gW1vxhFcMdg3L/OEEykGDaDqTx9BI7j7XVp/8keumNWwH6pmXB9VMjrI xcCWgx7ZZ+0yuDuA/iPZmCohEUwgtUeKr0qS4+yWFlJvxdM6mkb86BsLzBwJKtqiCMFh zgTSEQRFF4eaqATJHTmeXn8lTgJRXBJx2ocN+Q9OEn1l6HrGYZRK0CH3a5kmlaRh59Xz IvtsSyRsT4NJqk1enX0i6jbeCnFpP4ppLWsFBU6RzKTCTZvhyPHnaayV4VrQ/ktqUhcP mG3w== X-Gm-Message-State: AKGB3mJ2ZSN/f1AKRMRomPfNCKj2oggSV9l+b2RHzCajG1xWZChBT06m /ZWcoE+Rqy4vOn76fOI1jAh4QA== X-Received: by 10.101.80.72 with SMTP id k8mr33633674pgo.6.1516226838748; Wed, 17 Jan 2018 14:07:18 -0800 (PST) Received: from google.com ([2620:0:1000:1600:65f5:ad61:66a7:2f6]) by smtp.gmail.com with ESMTPSA id q10sm9130362pfh.178.2018.01.17.14.07.17 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Wed, 17 Jan 2018 14:07:18 -0800 (PST) Date: Wed, 17 Jan 2018 14:07:16 -0800 From: Brian Norris To: William Wu Cc: kishon@ti.com, robh+dt@kernel.org, heiko@sntech.de, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, frank.wang@rock-chips.com, huangtao@rock-chips.com, dianders@google.com, groeck@google.com, daniel.meng@rock-chips.com, John.Youn@synopsys.com, lin.huang@rock-chips.com, enric.balletbo@collabora.com Subject: Re: [PATCH 1/3] dt-bindings: phy: phy-rockchip-typec: add usb3 otg reset Message-ID: <20180117220715.GA112833@google.com> References: <1515751704-13213-1-git-send-email-william.wu@rock-chips.com> <1515751704-13213-2-git-send-email-william.wu@rock-chips.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1515751704-13213-2-git-send-email-william.wu@rock-chips.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org + Enric On Fri, Jan 12, 2018 at 06:08:22PM +0800, William Wu wrote: > This patch adds USB3 OTG reset property for rk3399 Type-C PHY > to hold the USB3 controller in reset state. > > Signed-off-by: William Wu > --- I was going back and forth on this, since at one point this binding was merged but had no enabled users...but now I see Heiko has queued up some of Enric's work for 4.16, and it uses the existing binding. So, if this reset is added, it should be optional. Brian > Documentation/devicetree/bindings/phy/phy-rockchip-typec.txt | 12 +++++++----- > 1 file changed, 7 insertions(+), 5 deletions(-) > > diff --git a/Documentation/devicetree/bindings/phy/phy-rockchip-typec.txt b/Documentation/devicetree/bindings/phy/phy-rockchip-typec.txt > index 6ea867e..db2902e 100644 > --- a/Documentation/devicetree/bindings/phy/phy-rockchip-typec.txt > +++ b/Documentation/devicetree/bindings/phy/phy-rockchip-typec.txt > @@ -13,7 +13,7 @@ Required properties: > - assigned-clock-rates : the phy core clk frequency, shall be: 50000000 > - resets : a list of phandle + reset specifier pairs > - reset-names : string reset name, must be: > - "uphy", "uphy-pipe", "uphy-tcphy" > + "uphy", "uphy-pipe", "uphy-tcphy", "usb3-otg" > - extcon : extcon specifier for the Power Delivery > > Note, there are 2 type-c phys for RK3399, and they are almost identical, except > @@ -56,8 +56,9 @@ Example: > assigned-clock-rates = <50000000>; > 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,typec-conn-dir = <0xe580 0 16>; > rockchip,usb3tousb2-en = <0xe580 3 19>; > rockchip,external-psm = <0xe588 14 30>; > @@ -84,8 +85,9 @@ Example: > assigned-clock-rates = <50000000>; > 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,typec-conn-dir = <0xe58c 0 16>; > rockchip,usb3tousb2-en = <0xe58c 3 19>; > rockchip,external-psm = <0xe594 14 30>; > -- > 2.0.0 > >