Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp977987imm; Fri, 11 May 2018 09:11:53 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqvn9hjXSFVx6i08Qctrd0YpIsziGfIECwCtLh9NobZWNfa+XTsd+e4lbFxLwD2pHx3Ev2N X-Received: by 2002:a62:d9d9:: with SMTP id b86-v6mr6124534pfl.41.1526055113241; Fri, 11 May 2018 09:11:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526055113; cv=none; d=google.com; s=arc-20160816; b=LEax25n1LXiR0U/1oqmWstw2TcsYvGaJto/mgrY4YxjYCe2xMG/2KRMYl3StW1AbHA Ha7FWY4lOxtcTJwF0nwd4joN4UFSzROLRIaT/UVk6I1P93aIjKywjGiQcZTE6mH014Yh gzm1ng1YT/0WpN73/2vI9+Dz4ohF6zuz9e5G1Nafn7mVAgPtXfT9HiGyUH2qL/cYln8E g6O+QQa/GZVwkv7gtr4csT71U7kgANhElxvqygXZ7Pa1X6G+BZAjxFQv2kWL9ynh/QcW CYoO9QwrfVaVq2DM66yAdCsQ0QSBxN+RaoRLaKwBtr19oJfN/edG3K1qb9iDIrcLPFat +45w== 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=zmmix20OaO+rwIa67rvSIe95yseP4mjo9RFoNNxwXDY=; b=xz2VQHd2g2CUsgkNns03cyxNDEdz1eREddze689deAcxgI4hWbDOeXqDC/SVohx9LA qlTzS8BFx7xN4ioptsAeRyYCYQe64ioLdF4Q8ItSjfxnEvLGNAvdNTSsUK5HV2Nf0ZFc sXvFEpsOSlesVWBIqhvnDAs7pk85mGl/rI9blesLzC7dob72o1t/KKlv7sX01lDv389Y C6KqIxawKn2QLWP8IK1QGm0BBjJhXo0fMdKnCdmnit/otnjDU3hWyPpOagBrioYpaaAJ tzF0pArVxFDOZY3ksBnbwU+TprzpYFjX2py0kHPAba+eA60FujZnfOwKTqo1ziupGJrO yAyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=AVTmiYJR; 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=QUARANTINE 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 w10-v6si3510146pfg.174.2018.05.11.09.11.37; Fri, 11 May 2018 09:11:53 -0700 (PDT) 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=AVTmiYJR; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751982AbeEKQJh (ORCPT + 99 others); Fri, 11 May 2018 12:09:37 -0400 Received: from mail-qk0-f195.google.com ([209.85.220.195]:34664 "EHLO mail-qk0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751096AbeEKQJf (ORCPT ); Fri, 11 May 2018 12:09:35 -0400 Received: by mail-qk0-f195.google.com with SMTP id p186-v6so4775245qkd.1; Fri, 11 May 2018 09:09:35 -0700 (PDT) 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=zmmix20OaO+rwIa67rvSIe95yseP4mjo9RFoNNxwXDY=; b=AVTmiYJRcN3lWYIp/xpVs8HRjC7GTzGrhM7n9Dq+WuhMNG4OE6RPVh2/Eqfdm0OttE OWGlXyfudqa/khGY8TBGbN1FWhOUQDKozv4DZiJvexxmpYoBLFDXV+yCry2AmWmasqdn juvHwYbChiAdu87iyNt+Qr2k5EA0yoQMwy/sBUS6hIT9T1ZrO/g2Idwx8P6uXakiwLWn zjVH0OnXRB1l/K/cCVLm3YSZOJaiI+yT5PItolrNj3gu6333eza9lobn+IcQ/6wc1OrO YdjhUagWle4jLj10AYShRQER/JkCtRHQCItf9dLpKBM+1DIX1KN696wLsZp1BxxaNtIp z6lw== 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=zmmix20OaO+rwIa67rvSIe95yseP4mjo9RFoNNxwXDY=; b=InpFPioFwIsrdaNrXuNFUeXqPlgviCtr6wKSpMAKQOsMFEKVZhkUS9XmsjJYxO/GaE 2ZRFIxbPEuKJfBKtV3j90ZjSE62MoOE3Y5xKHEY2iolGZJDi/hwwRBvY1kMNf6A7ufdD 8vO5DgAoRIj48FdZ678QFFTu9KyuJQZ856RVJFGG20miuT1XcM7LkgP35eW5gft6hnU3 5u8CO0erNX4Ir52M1EaiTndvvRfbxaW67fI/aBj+rwAHzL2B501tzMtINA+Vh1HPraCe rX6oS5Cxwh5psyrkCtURE32+5HGL6nUWM7UZ3XjRXrTlT1gfCdlWQhJTiydREcD6ivxm Az8A== X-Gm-Message-State: ALKqPwcckNlv6NBBV+HuQI5G43UM4IW3+X65VfyPbCJBf/5qsGk3QLIE EACrFIWtQhUlOhHoD+DmaeDWWPoJgh8hmd2utJY= X-Received: by 2002:a37:4d56:: with SMTP id a83-v6mr5649702qkb.105.1526054974634; Fri, 11 May 2018 09:09:34 -0700 (PDT) MIME-Version: 1.0 Received: by 10.200.68.201 with HTTP; Fri, 11 May 2018 09:09:33 -0700 (PDT) In-Reply-To: <20180511144305.GP33053@art_vandelay> References: <1525861364-26323-1-git-send-email-hl@rock-chips.com> <1525861364-26323-3-git-send-email-hl@rock-chips.com> <20180511144305.GP33053@art_vandelay> From: Enric Balletbo Serra Date: Fri, 11 May 2018 18:09:33 +0200 Message-ID: Subject: Re: [PATCH v2 3/4] Documentation: bindings: add phy_config for Rockchip USB Type-C PHY To: Sean Paul Cc: Lin Huang , David Airlie , Chris Zhong , Doug Anderson , Brian Norris , "open list:ARM/Rockchip SoC..." , =?UTF-8?Q?Heiko_St=C3=BCbner?= , daniel.vetter@intel.com, jani.nikula@linux.intel.com, dri-devel , Linux ARM , linux-kernel , Rob Herring , "devicetree@vger.kernel.org" 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 Hi Lin, 2018-05-11 16:43 GMT+02:00 Sean Paul : > On Wed, May 09, 2018 at 06:22:43PM +0800, Lin Huang wrote: >> If want to do training outside DP Firmware, need phy voltage swing >> and pre_emphasis value. >> >> Signed-off-by: Lin Huang > > Adding Rob Herring so he has a hope of seeing this. > And adding the devicetree ML, otherwise Rob will probably ignore the patch. >> --- >> Changes in v2: >> - rebase >> >> Documentation/devicetree/bindings/phy/phy-rockchip-typec.txt | 4 +++- >> 1 file changed, 3 insertions(+), 1 deletion(-) >> >> diff --git a/Documentation/devicetree/bindings/phy/phy-rockchip-typec.txt b/Documentation/devicetree/bindings/phy/phy-rockchip-typec.txt >> index 960da7f..eda26dd 100644 >> --- a/Documentation/devicetree/bindings/phy/phy-rockchip-typec.txt >> +++ b/Documentation/devicetree/bindings/phy/phy-rockchip-typec.txt >> @@ -17,7 +17,9 @@ Required properties: >> >> Optional properties: >> - extcon : extcon specifier for the Power Delivery >> - >> + - rockchip,phy_config : That's phy voltage swing and pre_emphasis >> + setting, if want to do dp training outside >> + dp firmware, need to add these value. > > What are the units? > Also, I think that will be good add an example or include the property in the current examples to see how works. It's not clear from the property description. I suppose it is an array of pairs ? nit: -rockchip,phy_config: A list of voltage swing (unit) and pre-emphasis (unit) pairs. Use this property to enable software link training instead of hardware link training. Best regards, Enric > Sean > >> Required nodes : a sub-node is required for each port the phy provides. >> The sub-node name is used to identify dp or usb3 port, >> and shall be the following entries: >> -- >> 2.7.4 >> > > -- > Sean Paul, Software Engineer, Google / Chromium OS