{"id":813698,"url":"http://patchwork.ozlabs.org/api/patches/813698/?format=json","web_url":"http://patchwork.ozlabs.org/project/devicetree-bindings/patch/1505360600-196567-1-git-send-email-hjc@rock-chips.com/","project":{"id":37,"url":"http://patchwork.ozlabs.org/api/projects/37/?format=json","name":"Devicetree Bindings","link_name":"devicetree-bindings","list_id":"devicetree.vger.kernel.org","list_email":"devicetree@vger.kernel.org","web_url":"","scm_url":"","webscm_url":"","list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<1505360600-196567-1-git-send-email-hjc@rock-chips.com>","list_archive_url":null,"date":"2017-09-14T03:43:18","name":"[1/3] dt-bindings: Add document for rockchip RGB output interface","commit_ref":null,"pull_url":null,"state":"changes-requested","archived":true,"hash":"0aeb0e300e2e8441a2caaad8371ff125cc995317","submitter":{"id":72133,"url":"http://patchwork.ozlabs.org/api/people/72133/?format=json","name":"Huang Jiachai","email":"hjc@rock-chips.com"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/devicetree-bindings/patch/1505360600-196567-1-git-send-email-hjc@rock-chips.com/mbox/","series":[{"id":3020,"url":"http://patchwork.ozlabs.org/api/series/3020/?format=json","web_url":"http://patchwork.ozlabs.org/project/devicetree-bindings/list/?series=3020","date":"2017-09-14T03:43:14","name":"Add support rockchip RGB output interface","version":1,"mbox":"http://patchwork.ozlabs.org/series/3020/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/813698/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/813698/checks/","tags":{},"related":[],"headers":{"Return-Path":"<devicetree-owner@vger.kernel.org>","X-Original-To":"incoming-dt@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming-dt@bilbo.ozlabs.org","Authentication-Results":"ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=vger.kernel.org\n\t(client-ip=209.132.180.67; helo=vger.kernel.org;\n\tenvelope-from=devicetree-owner@vger.kernel.org; receiver=<UNKNOWN>)","Received":["from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3xt4CL2DJSz9t3f\n\tfor <incoming-dt@patchwork.ozlabs.org>;\n\tThu, 14 Sep 2017 13:44:14 +1000 (AEST)","(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1751422AbdINDnb (ORCPT\n\t<rfc822;incoming-dt@patchwork.ozlabs.org>);\n\tWed, 13 Sep 2017 23:43:31 -0400","from regular1.263xmail.com ([211.150.99.135]:40381 \"EHLO\n\tregular1.263xmail.com\" rhost-flags-OK-OK-OK-OK) by vger.kernel.org\n\twith ESMTP id S1751328AbdINDna (ORCPT\n\t<rfc822; devicetree@vger.kernel.org>); Wed, 13 Sep 2017 23:43:30 -0400","from hjc?rock-chips.com (unknown [192.168.167.177])\n\tby regular1.263xmail.com (Postfix) with ESMTP id 061381E14E;\n\tThu, 14 Sep 2017 11:43:23 +0800 (CST)","from localhost.localdomain (localhost [127.0.0.1])\n\tby smtp.263.net (Postfix) with ESMTPA id E0C1D3CA;\n\tThu, 14 Sep 2017 11:43:21 +0800 (CST)","from localhost.localdomain (unknown [58.22.7.114])\n\tby smtp.263.net (Postfix) whith ESMTP id 16905B8WM9O;\n\tThu, 14 Sep 2017 11:43:23 +0800 (CST)"],"X-263anti-spam":"KSV:0;","X-MAIL-GRAY":"0","X-MAIL-DELIVERY":"1","X-KSVirus-check":"0","X-ABS-CHECKED":"4","X-RL-SENDER":"hjc@rock-chips.com","X-FST-TO":"mark.yao@rock-chips.com","X-SENDER-IP":"58.22.7.114","X-LOGIN-NAME":"hjc@rock-chips.com","X-UNIQUE-TAG":"<dc5e66c4d4b93cf54a530ac422a9f23d>","X-ATTACHMENT-NUM":"0","X-SENDER":"hjc@rock-chips.com","X-DNS-TYPE":"0","From":"Sandy Huang <hjc@rock-chips.com>","To":"Mark Yao <mark.yao@rock-chips.com>, David Airlie <airlied@linux.ie>,\n\tRob Herring <robh+dt@kernel.org>, Mark Rutland <mark.rutland@arm.com>,\n\tHeiko Stuebner <heiko@sntech.de>","Cc":"Sandy Huang <hjc@rock-chips.com>, dri-devel@lists.freedesktop.org,\n\tdevicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,\n\tlinux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org","Subject":"[PATCH 1/3] dt-bindings: Add document for rockchip RGB output\n\tinterface","Date":"Thu, 14 Sep 2017 11:43:18 +0800","Message-Id":"<1505360600-196567-1-git-send-email-hjc@rock-chips.com>","X-Mailer":"git-send-email 2.7.4","In-Reply-To":"<1505360594-196508-1-git-send-email-hjc@rock-chips.com>","References":"<1505360594-196508-1-git-send-email-hjc@rock-chips.com>","Sender":"devicetree-owner@vger.kernel.org","Precedence":"bulk","List-ID":"<devicetree.vger.kernel.org>","X-Mailing-List":"devicetree@vger.kernel.org"},"content":"This path add support rv1108 rgb output interface driver.\n\nSigned-off-by: Sandy Huang <hjc@rock-chips.com>\n---\n .../bindings/display/rockchip/rockchip-rgb.txt     | 80 ++++++++++++++++++++++\n 1 file changed, 80 insertions(+)\n create mode 100644 Documentation/devicetree/bindings/display/rockchip/rockchip-rgb.txt","diff":"diff --git a/Documentation/devicetree/bindings/display/rockchip/rockchip-rgb.txt b/Documentation/devicetree/bindings/display/rockchip/rockchip-rgb.txt\nnew file mode 100644\nindex 0000000..4164512\n--- /dev/null\n+++ b/Documentation/devicetree/bindings/display/rockchip/rockchip-rgb.txt\n@@ -0,0 +1,80 @@\n+Rockchip RV1108 RGB interface\n+================================\n+\n+Required properties:\n+- compatible: matching the soc type:\n+\t- \"rockchip,rv1108-rgb\";\n+\n+Optional properties:\n+- pinctrl-names: must contain a \"lcdc\" entry.\n+- pinctrl-0: pin control group to be used for this interface.\n+\n+Required nodes:\n+- rockchip,rgb-mode: should be \"p888\", \"p666\", \"p565\", \"s888\", \"s888-dummy\"\n+\t- p888: output r8-g8-b8 at each dclk cycle for per-pixel\n+\t- p666: output r6-g6-b6 at each dclk cycle for per-pixel\n+\t- p565: output r5-g6-b5 at each dclk cycle for per-pixel\n+\t- s888: output r8-g8-b8 in three dclk cycle for per-pixel\n+\t- s888-dmmy: output r8-g8-b8-dummy in four dclk cycle for per-pixel\n+\n+The rgb has two video ports described by:\n+\tDocumentation/devicetree/bindings/media/video-interfaces.txt\n+Their connections are modeled using the OF graph bindings specified in\n+\tDocumentation/devicetree/bindings/graph.txt.\n+\n+- video port 0 for the VOP input, the remote endpoint maybe vopb/vopl/vop\n+- video port 1 for either a panel or subsequent encoder\n+\n+the panel described by:\n+\tDocumentation/devicetree/bindings/display/panel/simple-panel.txt\n+Panel other required properties:\n+- ports for remote rgb output.\n+\n+Example:\n+\n+panel: panel {\n+\tcompatible = \"auo,b101ean01\";\n+\tenable-gpios = <&gpio7 21 GPIO_ACTIVE_HIGH>;\n+\n+\tports {\n+\t\tpanel_in_rgb: endpoint {\n+\t\t\tremote-endpoint = <&rgb_out_panel>;\n+\t\t};\n+\t};\n+};\n+\n+For Rockchip RV1108:\n+\n+\trgb: rgb {\n+\t\tcompatible = \"rockchip,rv1108-rgb\";\n+\t\tpinctrl-names = \"lcdc\";\n+\t\tpinctrl-0 = <&lcdc_ctl>;\n+\t\trockchip,rgb-mode = \"p888\";\n+\n+\t\tports {\n+\t\t\t#address-cells = <1>;\n+\t\t\t#size-cells = <0>;\n+\n+\t\t\trgb_in: port@0 {\n+\t\t\t\treg = <0>;\n+\t\t\t\t#address-cells = <1>;\n+\t\t\t\t#size-cells = <0>;\n+\n+\t\t\t\trgb_in_vop: endpoint@0 {\n+\t\t\t\t\treg = <0>;\n+\t\t\t\t\tremote-endpoint = <&vop_out_rgb>;\n+\t\t\t\t};\n+\t\t\t};\n+\n+\t\t\trgb_out: port@1 {\n+\t\t\t\treg = <1>;\n+\t\t\t\t#address-cells = <1>;\n+\t\t\t\t#size-cells = <0>;\n+\n+\t\t\t\trgb_out_panel: endpoint@0 {\n+\t\t\t\t\treg = <0>;\n+\t\t\t\t\tremote-endpoint = <&panel_in_rgb>;\n+\t\t\t\t};\n+\t\t\t};\n+\t\t};\n+\t};\n","prefixes":["1/3"]}