From patchwork Wed Dec 6 09:08:20 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nickey Yang X-Patchwork-Id: 10095105 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 DB8D760210 for ; Wed, 6 Dec 2017 09:09:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CF2E229A38 for ; Wed, 6 Dec 2017 09:09:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BF50929BD1; Wed, 6 Dec 2017 09:09:29 +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=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=unavailable 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 572B629A38 for ; Wed, 6 Dec 2017 09:09:29 +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=84PxuXJV0d+B15IQxpp2PB2LH9D46VPOu6jYRjTpwEE=; b=qibTiqwxT8DU+n4L4+yRW/Syyo OVPn5cb/BWmnEd6tFgz659OJ2iWhtzgN6dbPvC+2tiFdsnxJq8Rf57hbDVHyl/Vu/ukmIYToUSWGb KyvtXpSsxpjlPbRlqbcBAdKII2Rlhy4pPuU1WEMHLPAmooL5D3KCBuBM8ET3wuwhmMl1e4J3avHOx S2ojx14zGVaM8UqEZPv4/WImvtAh+unYRkoExtovcIvPl24KvxmniW8l8TsqTf1Hs8vJrMTGBQ2Bs 3lWi2e6hTPCr9jXr8QQqBsOBcTUY7iwmiOf7s38hcgn+7mxG9zq4IhIPs5hyFVBG6zN7LPnIF5l/9 xpNqaEYA==; 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 1eMVho-0005MN-LD; Wed, 06 Dec 2017 09:09:28 +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 1eMVhl-0005If-48 for linux-rockchip@lists.infradead.org; Wed, 06 Dec 2017 09:09:26 +0000 Received: by mail-pf0-f196.google.com with SMTP id n6so2009526pfa.4 for ; Wed, 06 Dec 2017 01:09:04 -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=4qvtbvfv+7giUF1WttF0tqD3HEEHeTkfBUZLcJJqHi8=; b=WNnaxBuxu5F9pOEXa8UDNnXAmhXfUMupKD/GE4HgGFWvYE6gspXAbKsxnHJ5VF5Ihw B+vhrEHHCTNqBd7VuMy8ABzUqKGi0OsIOm9EKAJVikqH8hy+DtSzdCuVXAihimxKJj7J hEIeISccnfWrnomzAwtOfsLd4dqdZErYADNXyyEwjwDelv7st2ZD1zFUEhDi/8rs5SyS 34eBGo+c+sfq/kiAeW9idz4Pq7zQWifG5DBCjtyb3jGqXDN0tA1DcEuc/peR6kYdsLNg wY9E/lTdp3lSq5IBCHELFFOpVgDfN+jDL5KzrceS8lSVMAORfEAi4dudNuw63XM4PSUm uS0Q== X-Gm-Message-State: AJaThX5CagrCYzFSstDvJnK1QndC0WfLb1izxi5bPiBKe7MESDvJ5JF+ bLyHv9U8v1UofZIWIJhGWUo= X-Google-Smtp-Source: AGs4zMb5OANFuTZWLgCwYYuOyg/PItnJXDcgd6z7ISEK/6guISA3Irf0si9Ga7AoNBGw/PCxmDNnCg== X-Received: by 10.99.49.81 with SMTP id x78mr21011775pgx.35.1512551344290; Wed, 06 Dec 2017 01:09:04 -0800 (PST) Received: from localhost.localdomain ([103.29.142.67]) by smtp.gmail.com with ESMTPSA id j62sm3088387pgc.35.2017.12.06.01.08.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 06 Dec 2017 01:09:03 -0800 (PST) From: Nickey Yang To: robh+dt@kernel.org, heiko@sntech.de, mark.rutland@arm.com, airlied@linux.ie Subject: [PATCH v6 2/3] dt-bindings: display: rockchip: update DSI controller Date: Wed, 6 Dec 2017 17:08:20 +0800 Message-Id: <1512551301-12946-3-git-send-email-nickey.yang@rock-chips.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1512551301-12946-1-git-send-email-nickey.yang@rock-chips.com> References: <1512551301-12946-1-git-send-email-nickey.yang@rock-chips.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171206_010925_191719_D1A36742 X-CRM114-Status: UNSURE ( 8.21 ) 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: architt@codeaurora.org, hl@rock-chips.com, briannorris@chromium.org, hoegsberg@gmail.com, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, philippe.cornu@st.com, yannick.fertre@st.com, linux-rockchip@lists.infradead.org, nickey.yang@rock-chips.com, mka@chromium.org, seanpaul@chromium.org, laurent.pinchart@ideasonboard.com, zyw@rock-chips.com, xbl@rock-chips.com 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 This patch update describe panel/port links, including unit addresses in documentation of device tree bindings for the rockchip DSI controller based on the Synopsys DesignWare MIPI DSI host controller. Signed-off-by: Nickey Yang Reviewed-by: Brian Norris --- .../display/rockchip/dw_mipi_dsi_rockchip.txt | 23 ++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) 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 6bb59ab..ce4c1fc 100644 --- a/Documentation/devicetree/bindings/display/rockchip/dw_mipi_dsi_rockchip.txt +++ b/Documentation/devicetree/bindings/display/rockchip/dw_mipi_dsi_rockchip.txt @@ -14,6 +14,8 @@ Required properties: - 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. +- video port 0 for the VOP input, the remote endpoint maybe vopb or vopl +- video port 1 for either a panel or subsequent encoder Optional properties: - power-domains: a phandle to mipi dsi power domain node. @@ -40,11 +42,12 @@ Example: ports { #address-cells = <1>; #size-cells = <0>; - reg = <1>; - mipi_in: port { + mipi_in: port@0 { + reg = <0>; #address-cells = <1>; #size-cells = <0>; + mipi_in_vopb: endpoint@0 { reg = <0>; remote-endpoint = <&vopb_out_mipi>; @@ -54,6 +57,16 @@ Example: remote-endpoint = <&vopl_out_mipi>; }; }; + + mipi_out: port@1 { + reg = <1>; + #address-cells = <1>; + #size-cells = <0>; + + mipi_out_panel: endpoint { + remote-endpoint = <&panel_in_mipi>; + }; + }; }; panel { @@ -64,5 +77,11 @@ Example: pinctrl-names = "default"; pinctrl-0 = <&lcd_en>; backlight = <&backlight>; + + port { + panel_in_mipi: endpoint { + remote-endpoint = <&mipi_out_panel>; + }; + }; }; };