From patchwork Wed Nov 1 07:52:38 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?6buE5a626ZKX?= X-Patchwork-Id: 10035979 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 C6461604D7 for ; Wed, 1 Nov 2017 07:52:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B714628B6B for ; Wed, 1 Nov 2017 07:52:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AB6EF28B6E; Wed, 1 Nov 2017 07:52:51 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Flag: YES X-Spam-Level: ** X-Spam-Status: Yes, score=2.5 required=2.0 tests=BAYES_00, RCVD_IN_BL_SPAMCOP_NET, RCVD_IN_DNSWL_MED, RCVD_IN_SBL_CSS, RCVD_IN_SORBS_SPAM, RCVD_IN_SORBS_WEB autolearn=no version=3.3.1 X-Spam-Report: * -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at http://www.dnswl.org/, * medium trust * [131.252.210.177 listed in list.dnswl.org] * 1.3 RCVD_IN_BL_SPAMCOP_NET RBL: Received via a relay in bl.spamcop.net * [Blocked - see ] * 3.3 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS * [58.22.7.114 listed in zen.spamhaus.org] * 0.5 RCVD_IN_SORBS_SPAM RBL: SORBS: sender is a spam source * [58.22.7.114 listed in dnsbl.sorbs.net] * 1.5 RCVD_IN_SORBS_WEB RBL: SORBS: sender is an abusable web server * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id F186528B67 for ; Wed, 1 Nov 2017 07:52:50 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id D92416E6A5; Wed, 1 Nov 2017 07:52:47 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from regular1.263xmail.com (regular1.263xmail.com [211.150.99.138]) by gabe.freedesktop.org (Postfix) with ESMTPS id 9D9526E6A1 for ; Wed, 1 Nov 2017 07:52:45 +0000 (UTC) Received: from hjc?rock-chips.com (unknown [192.168.167.105]) by regular1.263xmail.com (Postfix) with ESMTP id AEFF7798E; Wed, 1 Nov 2017 15:52:41 +0800 (CST) X-263anti-spam: KSV:0; X-MAIL-GRAY: 0 X-MAIL-DELIVERY: 1 X-KSVirus-check: 0 X-ABS-CHECKED: 4 Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.263.net (Postfix) with ESMTPA id 851463D4; Wed, 1 Nov 2017 15:52:41 +0800 (CST) X-RL-SENDER: hjc@rock-chips.com X-FST-TO: thierry.reding@gmail.com X-SENDER-IP: 58.22.7.114 X-LOGIN-NAME: hjc@rock-chips.com X-UNIQUE-TAG: <36ad78f7cbdcd0a839e6a4251154c43f> X-ATTACHMENT-NUM: 0 X-SENDER: hjc@rock-chips.com X-DNS-TYPE: 0 Received: from localhost.localdomain (unknown [58.22.7.114]) by smtp.263.net (Postfix) whith ESMTP id 13079MG383O; Wed, 01 Nov 2017 15:52:42 +0800 (CST) From: Sandy Huang To: Thierry Reding , David Airlie , Rob Herring , Mark Rutland Subject: [PATCH v4 1/4] devicetree/bindings: display: Add doucument for RGB panels Date: Wed, 1 Nov 2017 15:52:38 +0800 Message-Id: <1509522760-118700-1-git-send-email-hjc@rock-chips.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1509522753-118639-1-git-send-email-hjc@rock-chips.com> References: <1509522753-118639-1-git-send-email-hjc@rock-chips.com> Cc: devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP Describe the panel property rgb-mode for parallel and serial RGB output interface, include the connection relations for each mode. Signed-off-by: Sandy Huang --- Changes: .../bindings/display/panel/panel-rgb.txt | 116 +++++++++++++++++++++ 1 file changed, 116 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/panel-rgb.txt diff --git a/Documentation/devicetree/bindings/display/panel/panel-rgb.txt b/Documentation/devicetree/bindings/display/panel/panel-rgb.txt new file mode 100644 index 0000000..0c5b054 --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/panel-rgb.txt @@ -0,0 +1,116 @@ +RGB Display Panel +================== + +This describe the panel property rgb-mode for parallel and serial +RGB output interface. rgb-mode should be "p888", "p666", "p565", "s888" +and "s888-dummy", the following describe the connection relations. + +p888 mode: + ___ ___ ___ ___ ___ ___ ___ +dclk __/ \___/ \___/ \___/ \___/ \___/ \___/ \___ + ______ ______ ______ ______ ______ ______ ______ +DATA23 ><__R7__><__R7__><__R7__><__R7__><__R7__><__R7__><__R7__>< +DATA22 ><__R6__><__R6__><__R6__><__R6__><__R6__><__R6__><__R6__>< +DATA21 ><__R5__><__R5__><__R5__><__R5__><__R5__><__R5__><__R5__>< +DATA20 ><__R4__><__R4__><__R4__><__R4__><__R4__><__R4__><__R4__>< +DATA19 ><__R3__><__R3__><__R3__><__R3__><__R3__><__R3__><__R3__>< +DATA18 ><__R2__><__R2__><__R2__><__R2__><__R2__><__R2__><__R2__>< +DATA17 ><__R1__><__R1__><__R1__><__R1__><__R1__><__R1__><__R1__>< +DATA16 ><__R0__><__R0__><__R0__><__R0__><__R0__><__R0__><__R0__>< + ______ ______ ______ ______ ______ ______ ______ +DATA15 ><__G7__><__G7__><__G7__><__G7__><__G7__><__G7__><__G7__>< +DATA14 ><__G6__><__G6__><__G6__><__G6__><__G6__><__G6__><__G6__>< +DATA13 ><__G5__><__G5__><__G5__><__G5__><__G5__><__G5__><__G5__>< +DATA12 ><__G4__><__G4__><__G4__><__G4__><__G4__><__G4__><__G4__>< +DATA11 ><__G3__><__G3__><__G3__><__G3__><__G3__><__G3__><__G3__>< +DATA10 ><__G2__><__G2__><__G2__><__G2__><__G2__><__G2__><__G2__>< +DATA9 ><__G1__><__G1__><__G1__><__G1__><__G1__><__G1__><__G1__>< +DATA8 ><__G0__><__G0__><__G0__><__G0__><__G0__><__G0__><__G0__>< + ______ ______ ______ ______ ______ ______ ______ +DATA7 ><__B7__><__B7__><__B7__><__B7__><__B7__><__B7__><__B7__>< +DATA6 ><__B6__><__B6__><__B6__><__B6__><__B6__><__B6__><__B6__>< +DATA5 ><__B5__><__B5__><__B5__><__B5__><__B5__><__B5__><__B5__>< +DATA4 ><__B4__><__B4__><__B4__><__B4__><__B4__><__B4__><__B4__>< +DATA3 ><__B3__><__B3__><__B3__><__B3__><__B3__><__B3__><__B3__>< +DATA2 ><__B2__><__B2__><__B2__><__B2__><__B2__><__B2__><__B2__>< +DATA1 ><__B1__><__B1__><__B1__><__B1__><__B1__><__B1__><__B1__>< +DATA0 ><__B0__><__B0__><__B0__><__B0__><__B0__><__B0__><__B0__>< +pixel | n | n+1 | n+3 | n+4 | n+5 | n+6 | n+7 | + +p666 mode: + ___ ___ ___ ___ ___ ___ ___ +dclk __/ \___/ \___/ \___/ \___/ \___/ \___/ \___ + ______ ______ ______ ______ ______ ______ ______ +DATA17 ><__R5__><__R5__><__R5__><__R5__><__R5__><__R5__><__R5__>< +DATA16 ><__R4__><__R4__><__R4__><__R4__><__R4__><__R4__><__R4__>< +DATA15 ><__R3__><__R3__><__R3__><__R3__><__R3__><__R3__><__R3__>< +DATA14 ><__R2__><__R2__><__R2__><__R2__><__R2__><__R2__><__R2__>< +DATA13 ><__R1__><__R1__><__R1__><__R1__><__R1__><__R1__><__R1__>< +DATA12 ><__R0__><__R0__><__R0__><__R0__><__R0__><__R0__><__R0__>< + ______ ______ ______ ______ ______ ______ ______ +DATA11 ><__G5__><__G5__><__G5__><__G5__><__G5__><__G5__><__G5__>< +DATA10 ><__G4__><__G4__><__G4__><__G4__><__G4__><__G4__><__G4__>< +DATA9 ><__G3__><__G3__><__G3__><__G3__><__G3__><__G3__><__G3__>< +DATA8 ><__G2__><__G2__><__G2__><__G2__><__G2__><__G2__><__G2__>< +DATA7 ><__G1__><__G1__><__G1__><__G1__><__G1__><__G1__><__G1__>< +DATA6 ><__G0__><__G0__><__G0__><__G0__><__G0__><__G0__><__G0__>< + ______ ______ ______ ______ ______ ______ ______ +DATA5 ><__B5__><__B5__><__B5__><__B5__><__B5__><__B5__><__B5__>< +DATA4 ><__B4__><__B4__><__B4__><__B4__><__B4__><__B4__><__B4__>< +DATA3 ><__B3__><__B3__><__B3__><__B3__><__B3__><__B3__><__B3__>< +DATA2 ><__B2__><__B2__><__B2__><__B2__><__B2__><__B2__><__B2__>< +DATA1 ><__B1__><__B1__><__B1__><__B1__><__B1__><__B1__><__B1__>< +DATA0 ><__B0__><__B0__><__B0__><__B0__><__B0__><__B0__><__B0__>< +pixel | n | n+1 | n+3 | n+4 | n+5 | n+6 | n+7 | + +p565 mode: + ___ ___ ___ ___ ___ ___ ___ +dclk __/ \___/ \___/ \___/ \___/ \___/ \___/ \___ + ______ ______ ______ ______ ______ ______ ______ +DATA15 ><__R4__><__R4__><__R4__><__R4__><__R4__><__R4__><__R4__>< +DATA14 ><__R3__><__R3__><__R3__><__R3__><__R3__><__R3__><__R3__>< +DATA13 ><__R2__><__R2__><__R2__><__R2__><__R2__><__R2__><__R2__>< +DATA12 ><__R1__><__R1__><__R1__><__R1__><__R1__><__R1__><__R1__>< +DATA11 ><__R0__><__R0__><__R0__><__R0__><__R0__><__R0__><__R0__>< + ______ ______ ______ ______ ______ ______ ______ +DATA10 ><__G5__><__G5__><__G5__><__G5__><__G5__><__G5__><__G5__>< +DATA9 ><__G4__><__G4__><__G4__><__G4__><__G4__><__G4__><__G4__>< +DATA8 ><__G3__><__G3__><__G3__><__G3__><__G3__><__G3__><__G3__>< +DATA7 ><__G2__><__G2__><__G2__><__G2__><__G2__><__G2__><__G2__>< +DATA6 ><__G1__><__G1__><__G1__><__G1__><__G1__><__G1__><__G1__>< +DATA5 ><__G0__><__G0__><__G0__><__G0__><__G0__><__G0__><__G0__>< + ______ ______ ______ ______ ______ ______ ______ +DATA4 ><__B4__><__B4__><__B4__><__B4__><__B4__><__B4__><__B4__>< +DATA3 ><__B3__><__B3__><__B3__><__B3__><__B3__><__B3__><__B3__>< +DATA2 ><__B2__><__B2__><__B2__><__B2__><__B2__><__B2__><__B2__>< +DATA1 ><__B1__><__B1__><__B1__><__B1__><__B1__><__B1__><__B1__>< +DATA0 ><__B0__><__B0__><__B0__><__B0__><__B0__><__B0__><__B0__>< +pixel | n | n+1 | n+3 | n+4 | n+5 | n+6 | n+7 | + +s888 mode: + ___ ___ ___ ___ ___ ___ ___ +dclk __/ \___/ \___/ \___/ \___/ \___/ \___/ \___ + ______ ______ ______ ______ ______ ______ ______ +DATA7 ><__R7__><__G7__><__B7__><__R7__><__G7__><__B7__><__R7__>< +DATA6 ><__R6__><__G6__><__B6__><__R6__><__G6__><__B6__><__R6__>< +DATA5 ><__R5__><__G5__><__B5__><__R5__><__G5__><__B5__><__R5__>< +DATA4 ><__R4__><__G4__><__B4__><__R4__><__G4__><__B4__><__R4__>< +DATA3 ><__R3__><__G3__><__B3__><__R3__><__G3__><__B3__><__R3__>< +DATA2 ><__R2__><__G2__><__B2__><__R2__><__G2__><__B2__><__R2__>< +DATA1 ><__R1__><__G1__><__B1__><__R1__><__G1__><__B1__><__R1__>< +DATA0 ><__R0__><__G0__><__B0__><__R0__><__G0__><__B0__><__R0__>< +pixel | --------- n --------- | ------- n + 1 ------- | -------- + +s888-dummy mode: + ___ ___ ___ ___ ___ ___ ___ ___ +dclk __/ \___/ \___/ \___/ \___/ \___/ \___/ \___/ \___ + ______ ______ ______ ______ ______ ______ ______ ______ +DATA7 ><__R7__><__G7__><__B7__><_NULL_><__R7__><__G7__><__B7__><_NULL_>< +DATA6 ><__R6__><__G6__><__B6__><_NULL_><__R6__><__G6__><__B6__><_NULL_>< +DATA5 ><__R5__><__G5__><__B5__><_NULL_><__R5__><__G5__><__B5__><_NULL_>< +DATA4 ><__R4__><__G4__><__B4__><_NULL_><__R4__><__G4__><__B4__><_NULL_>< +DATA3 ><__R3__><__G3__><__B3__><_NULL_><__R3__><__G3__><__B3__><_NULL_>< +DATA2 ><__R2__><__G2__><__B2__><_NULL_><__R2__><__G2__><__B2__><_NULL_>< +DATA1 ><__R1__><__G1__><__B1__><_NULL_><__R1__><__G1__><__B1__><_NULL_>< +DATA0 ><__R0__><__G0__><__B0__><_NULL_><__R0__><__G0__><__B0__><_NULL_>< +pixel | ------------- n ------------- | ----------- n + 1 ----------- |