From patchwork Wed Feb 15 04:21:59 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Zhong X-Patchwork-Id: 9573344 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 B2717601D8 for ; Wed, 15 Feb 2017 04:22:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A7399281DB for ; Wed, 15 Feb 2017 04:22:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9A35028417; Wed, 15 Feb 2017 04:22:57 +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.4 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_SORBS_SPAM autolearn=no 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 4C6EC281DB for ; Wed, 15 Feb 2017 04:22:57 +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=UjTGkT2G1Mj0M2VONuvsNJwIQLew4JBCMmsHy2mKQKo=; b=ckLXYpVFpIsgcSnhMgx6LdKtys dT93tUmycyK6L4Gl1XE5H6ol5tg4lkat9SEi0vus/gXzD8bF63ctxfyS2MO73KjsZo//L3AoCT9ly 8IFhgrPGTtHDdPWdLDdwr0lFZsyvaLDS68bsLqLYcoCI8ZTRPBQ4WjmJenUCkVil8oUOSDhChQAPU bEbv7Mx1ow76RkQcHuXY1gglzgVObUr/kh2TrC/p7l7xkXRbyBIbLtPQN2/H5DhMTaiSAUff5aOFF /88fItSKjfVQ6ZUMeOdptL7xxea9tpRGVWjICN/lk+V0eq3FF3OXQBgLsga5Hwl9+Hld2S/AOP2Yn xPvjspHw==; 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 1cdr7I-0007kS-By; Wed, 15 Feb 2017 04:22:56 +0000 Received: from mail-pf0-f196.google.com ([209.85.192.196]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cdr74-0007U7-MD; Wed, 15 Feb 2017 04:22:45 +0000 Received: by mail-pf0-f196.google.com with SMTP id o64so6761024pfb.1; Tue, 14 Feb 2017 20:22:21 -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=WLXvfJESrWJOznOvKjFIqRcmUwoYheOIxO8ZgqPDkZk=; b=OqM7z/ZSDqxYP5+r1BMe4cDGH9MT+bBi3zSPQk04Lhwxz9W0b3J1saiXEOVKsc1zjt 62Eu7mzbDvunM5pDBUUr16Oc5SKADkW9Gtd6MKOHUgbFuN8lESt+9Ckr92NYnIWL+NM7 Mwo+9u8y1JZ8noKJxgx44FwmQZ2/qR9fWMbMgmsvykmnI7LxJ3t7c1L+W4do85bk/Ytk /SvS/mYrI7/+Ha9iot6To849l1bDFZ4ofi40QVru1sMBlCVXMYMOLCuOIgZiXtKzHSkv /GYxq/O4fsOZ73CM9uf/PNjSpoey2MwiTQFIlG2BgIFDXRVrkmoHsqT/xENFk55D8NjI 5wHQ== X-Gm-Message-State: AMke39npDoX5XI8CsFOxWvJkvKmnO50PkayJCr+IaVx73ZLVXoEk0z9731SytNJi/CFmcQ== X-Received: by 10.98.212.23 with SMTP id a23mr35748315pfh.18.1487132541531; Tue, 14 Feb 2017 20:22:21 -0800 (PST) Received: from localhost.localdomain ([220.128.92.125]) by smtp.gmail.com with ESMTPSA id 89sm3944575pfo.40.2017.02.14.20.22.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 14 Feb 2017 20:22:21 -0800 (PST) From: Chris Zhong To: john@metanate.com, dianders@chromium.org, tfiga@chromium.org, heiko@sntech.de, yzq@rock-chips.com, mark.rutland@arm.com, devicetree@vger.kernel.org, robh+dt@kernel.org, galak@codeaurora.org, pawel.moll@arm.com, seanpaul@chromium.org Subject: [PATCH v7 1/7] dt-bindings: add rk3399 support for dw-mipi-rockchip Date: Wed, 15 Feb 2017 12:21:59 +0800 Message-Id: <1487132525-24933-2-git-send-email-zyw@rock-chips.com> X-Mailer: git-send-email 2.6.3 In-Reply-To: <1487132525-24933-1-git-send-email-zyw@rock-chips.com> References: <1487132525-24933-1-git-send-email-zyw@rock-chips.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170214_202242_904015_3743C8ED X-CRM114-Status: UNSURE ( 8.65 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: David Airlie , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-rockchip@lists.infradead.org, Chris Zhong , linux-arm-kernel@lists.infradead.org, Mark Yao MIME-Version: 1.0 Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The dw-mipi-dsi of rk3399 is almost the same as rk3288, the rk3399 has additional phy config clock. Signed-off-by: Chris Zhong Acked-by: Rob Herring --- Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None .../devicetree/bindings/display/rockchip/dw_mipi_dsi_rockchip.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/display/rockchip/dw_mipi_dsi_rockchip.txt b/Documentation/devicetree/bindings/display/rockchip/dw_mipi_dsi_rockchip.txt index 1753f0c..0f82568 100644 --- a/Documentation/devicetree/bindings/display/rockchip/dw_mipi_dsi_rockchip.txt +++ b/Documentation/devicetree/bindings/display/rockchip/dw_mipi_dsi_rockchip.txt @@ -5,10 +5,12 @@ Required properties: - #address-cells: Should be <1>. - #size-cells: Should be <0>. - compatible: "rockchip,rk3288-mipi-dsi", "snps,dw-mipi-dsi". + "rockchip,rk3399-mipi-dsi", "snps,dw-mipi-dsi". - reg: Represent the physical address range of the controller. - interrupts: Represent the controller's interrupt to the CPU(s). - clocks, clock-names: Phandles to the controller's pll reference - clock(ref) and APB clock(pclk), as described in [1]. + clock(ref) and APB clock(pclk). For RK3399, a phy config clock + (phy_cfg) is additional required. As described in [1]. - rockchip,grf: this soc should set GRF regs to mux vopl/vopb. - ports: contain a port node with endpoint definitions as defined in [2]. For vopb,set the reg = <0> and set the reg = <1> for vopl.