Received: by 10.223.176.5 with SMTP id f5csp2194411wra; Thu, 8 Feb 2018 09:54:40 -0800 (PST) X-Google-Smtp-Source: AH8x226OHSe0YLHW0EingNl53+E7AxbKavVXmn8JHMHR4MNWjDUq0tqBhl5HoF+L4douf6DYVI4D X-Received: by 2002:a17:902:60c7:: with SMTP id k7-v6mr12040pln.316.1518112480689; Thu, 08 Feb 2018 09:54:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518112480; cv=none; d=google.com; s=arc-20160816; b=HMLjgbfrGckU9kkvbVYMCqaRRss1GD8zbVTFk/Ae/Cg5yKBPZS8ZBXk9dSdcuXb8/p Zl5ztHGhxYcjBkm03k5lvepvo5HUU10ME4dpOyIqqwxKLr1tz9JVAVrs1mzeHYkquWbZ aN8TMM8T3DQUlYyl8qtvsaT4ZiE8f865mAI8rtEZgUP75X6enmPrDUSZGs7/ggTsfwUe +BZjy+TsAhTkDNl4E5HazpZoO9X682J4CzHGkEb/JtUo+QpJuNuXg1EfnKssJY7VM46W HxjmGacJ5zbqI9s9WZW+PU8KZ4O5VFd+tt6+j4EDgMdMSX5OkojKFTz6rzk1LChiEhua wvMA== 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:dmarc-filter :arc-authentication-results; bh=ObN4goKspy37N6xXZyuGLNsAVCdvfYbWZMxJsI51BCQ=; b=G9aOy9neIDVe4BXmOAf5VlTd7AgkZy6yZZt1O1gX53RbNOJjvwM+ou6Esafc7nlZMc j+5HV+mKHOv8AfN4+VGp3JXDy4XghE5IWV2/vJ9ZFHbO7oh3DMhoygLpXfHWzvYGSAz7 SmyUUdP8RgO7HnBAfmFwmCe7ohRQIa1RpOUGUkKHFr8nVd0IBlyX15Q/JcWG/t/cPpsO F2jUGqopPuPzDKurGl6LP9qnnTU1MT4u3TrhH8f2z4cUeYmvOHU2ZW39tCFSH5kaDD4V SytK7AKAb7XOsc1UWBvtxyIFoMnNP2ZVihTT194eVTYuRod7svLRPfmLC3O/InfciIj8 N61g== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f15si202444pgv.204.2018.02.08.09.54.25; Thu, 08 Feb 2018 09:54:40 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752439AbeBHRxQ (ORCPT + 99 others); Thu, 8 Feb 2018 12:53:16 -0500 Received: from mail.kernel.org ([198.145.29.99]:50040 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752409AbeBHRxP (ORCPT ); Thu, 8 Feb 2018 12:53:15 -0500 Received: from mail-wm0-f46.google.com (mail-wm0-f46.google.com [74.125.82.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 4BCA0217B9 for ; Thu, 8 Feb 2018 17:53:14 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4BCA0217B9 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=robh@kernel.org Received: by mail-wm0-f46.google.com with SMTP id r78so11622858wme.0 for ; Thu, 08 Feb 2018 09:53:14 -0800 (PST) X-Gm-Message-State: APf1xPD8oSy2FkjW9vjX4WG7b3JmnUx44KIycvkGw/aV/Bm+iVzYeqD8 xp+mXGkhhyekCxk/YKwfZEEy/dN0ACwv+Nh755Yk6Q== X-Received: by 10.80.231.129 with SMTP id b1mr2630622edn.219.1518112392662; Thu, 08 Feb 2018 09:53:12 -0800 (PST) MIME-Version: 1.0 Received: by 10.80.171.164 with HTTP; Thu, 8 Feb 2018 09:52:52 -0800 (PST) In-Reply-To: <20180208152028.9997-2-enric.balletbo@collabora.com> References: <20180208152028.9997-1-enric.balletbo@collabora.com> <20180208152028.9997-2-enric.balletbo@collabora.com> From: Rob Herring Date: Thu, 8 Feb 2018 11:52:52 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 2/3] Documentation: bindings: add usb3-host-disable and usb3-host-port for Rockchip USB Type-C PHY To: Enric Balletbo i Serra Cc: Kishon Vijay Abraham I , Brian Norris , Heiko Stuebner , dianders@chromium.org, Chris Zhong , William wu , hl@rock-chips.com, devicetree@vger.kernel.org, linux-arm-kernel , linux-rockchip@lists.infradead.org, Linux Kernel Mailing List , kernel@collabora.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 On Thu, Feb 8, 2018 at 9:20 AM, Enric Balletbo i Serra wrote: > From: William wu > > rockchip,usb3-host-disable is the register of type-c phy disable usb3 host > rockchip,usb3-host-port is the register of type-c phy usb3 port number > > Signed-off-by: William wu > Signed-off-by: Enric Balletbo i Serra > --- > Documentation/devicetree/bindings/phy/phy-rockchip-typec.txt | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/Documentation/devicetree/bindings/phy/phy-rockchip-typec.txt b/Documentation/devicetree/bindings/phy/phy-rockchip-typec.txt > index c3be83be9615..9085d95d0079 100644 > --- a/Documentation/devicetree/bindings/phy/phy-rockchip-typec.txt > +++ b/Documentation/devicetree/bindings/phy/phy-rockchip-typec.txt > @@ -36,6 +36,12 @@ offset, enable bit, write mask bit. > - rockchip,uphy-dp-sel : the register of type-c phy enable DP function > for type-c phy0, it must be <0x6268 19 19>; > for type-c phy1, it must be <0x6268 3 19>; > + - rockchip,usb3-host-disable : the register of type-c phy disable usb3 host > + for type-c phy0, it must be <0x2434 0 16>; > + for type-c phy1, it must be <0x2444 0 16>; > + - rockchip,usb3-host-port : the register of type-c phy usb3 port number > + for type-c phy0, it must be <0x2434 12 28>; > + for type-c phy1, it must be <0x2444 12 28>; When does this list stop? Adding properties for various register fields doesn't scale. This information should be in the driver and based on the compatible string if necessary. Rob