From patchwork Fri Feb 10 07:44:11 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Zhong X-Patchwork-Id: 9566089 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 058FB601EA for ; Fri, 10 Feb 2017 07:45:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E4D1928546 for ; Fri, 10 Feb 2017 07:45:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D7F7F2854F; Fri, 10 Feb 2017 07:45:23 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 7781928545 for ; Fri, 10 Feb 2017 07:45:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=KMbPSuISbnNyl4oA64xX306vbs/ek4gUQ5mmJAnFWiM=; b=Je2wAWwxBqIHcuTfUX6RLSMG5G /ZMsChjcL/I0j719CfTQYIzzYdeNBYEKylt9dHoJLRUxwC0rtp9ktuPtOOT5IJA+NfAMwDdqsu09/ a3b3Dv9POM/OF42Ykbvf7fIdgrGqvqxXwiqjMdBShyHDtCkMGjJD/nvgjdAdW1gFp7FI9xpIxK/Xa KMC+s7AInJeY/URMCwY0lYbzfbBadEGvjNu0PHv8q8bhu0OknhmdBh9WxRsSF15X939eD4KXLUj/e dGNMm/GXO8q9kW525yfc0fPOIiXepGarlhb6kltMkRfPDS/n6Seb0RzjTudbLQpTqxuWm+7+8TchD AJW2Vciw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cc5tP-00053v-L7; Fri, 10 Feb 2017 07:45:19 +0000 Received: from mail-pg0-f67.google.com ([74.125.83.67]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cc5t3-0003O6-N2; Fri, 10 Feb 2017 07:45:00 +0000 Received: by mail-pg0-f67.google.com with SMTP id v184so2524252pgv.1; Thu, 09 Feb 2017 23:44:37 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=AAxRYE43F9q4M2bF++iVHOcbKApSKx9M1yFnHIn3/RU=; b=kQf+0GzdL5Epl/4E2bke7ML8z/t2LKx9xlThVTR1l/rWrHzPLuOMbX+U+N9IuocDJ2 oOkoJniMMmpv4aQeNQs363F8DqjM1m0yBkU9aoVZlksaDg4dBsZC39HuKqjeIIXaa2qd PK9o+ljnod2pv6QycN9xWJ6gtLnQUVEkHcfw9lknoUhQLxiFlC2+nRkPsZ1eFk/legVp mY3W/7PTU4KdTX3geBwRwiwjq+kFx1TQNxZPDzzn/i2+iE9QQo39lLXIhOV9pny8Jz6W 3v7dOJ5d42Ldicn/4iFogc1jQ1E1V6BM7bEICHsMvC+CJtNWQdpXnwZ8QlvdGE+ZBy2U H25g== X-Gm-Message-State: AMke39nU12eIAa2ADRuEeYdrO3EZuEwh93dEMabPFgNYrD/jE3+krvGJhCW8vLYhwm4gqg== X-Received: by 10.99.175.16 with SMTP id w16mr9076263pge.32.1486712676777; Thu, 09 Feb 2017 23:44:36 -0800 (PST) Received: from localhost.localdomain ([103.29.142.67]) by smtp.gmail.com with ESMTPSA id 82sm2686857pge.42.2017.02.09.23.44.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 09 Feb 2017 23:44:36 -0800 (PST) From: Chris Zhong To: dri-devel@lists.freedesktop.org, kishon@ti.com, robh@kernel.org, linux-rockchip@lists.infradead.org Subject: [PATCH 1/4] Documentation: bindings: add uphy-dp-sel for Rockchip USB Type-C PHY Date: Fri, 10 Feb 2017 15:44:11 +0800 Message-Id: <1486712654-15431-2-git-send-email-zyw@rock-chips.com> X-Mailer: git-send-email 2.6.3 In-Reply-To: <1486712654-15431-1-git-send-email-zyw@rock-chips.com> References: <1486712654-15431-1-git-send-email-zyw@rock-chips.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170209_234457_803183_08F05AF2 X-CRM114-Status: UNSURE ( 7.86 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, Heiko Stuebner , linux-kernel@vger.kernel.org, Tomasz Figa , Kever Yang , zyw@rock-chips.com, Rob Herring , seanpaul@chromium.org, groeck@chromium.org, linux-arm-kernel@lists.infradead.org, mark.yao@rock-chips.com MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP rockchip,uphy-dp-sel is the register of type-c phy enable DP function. Signed-off-by: Chris Zhong Acked-by: Rob Herring --- Documentation/devicetree/bindings/phy/phy-rockchip-typec.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/phy/phy-rockchip-typec.txt b/Documentation/devicetree/bindings/phy/phy-rockchip-typec.txt index 6ea867e..c3be83b 100644 --- a/Documentation/devicetree/bindings/phy/phy-rockchip-typec.txt +++ b/Documentation/devicetree/bindings/phy/phy-rockchip-typec.txt @@ -33,6 +33,9 @@ offset, enable bit, write mask bit. - rockchip,pipe-status : the register of type-c phy pipe status. for type-c phy0, it must be <0xe5c0 0 0>; for type-c phy1, it must be <0xe5c0 16 16>; + - 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>; 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, @@ -62,6 +65,7 @@ Example: rockchip,usb3tousb2-en = <0xe580 3 19>; rockchip,external-psm = <0xe588 14 30>; rockchip,pipe-status = <0xe5c0 0 0>; + rockchip,uphy-dp-sel = <0x6268 19 19>; tcphy0_dp: dp-port { #phy-cells = <0>; @@ -90,6 +94,7 @@ Example: rockchip,usb3tousb2-en = <0xe58c 3 19>; rockchip,external-psm = <0xe594 14 30>; rockchip,pipe-status = <0xe5c0 16 16>; + rockchip,uphy-dp-sel = <0x6268 3 19>; tcphy1_dp: dp-port { #phy-cells = <0>;