From patchwork Wed Mar 22 01:53:06 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Zhong X-Patchwork-Id: 9637915 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 4CFE7602D6 for ; Wed, 22 Mar 2017 01:53:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3E60525EA6 for ; Wed, 22 Mar 2017 01:53:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 316992833B; Wed, 22 Mar 2017 01:53:19 +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=-3.7 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RCVD_IN_SORBS_SPAM autolearn=ham version=3.3.1 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 C917925EA6 for ; Wed, 22 Mar 2017 01:53:18 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 6F9B86E1A2; Wed, 22 Mar 2017 01:53:16 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pg0-f65.google.com (mail-pg0-f65.google.com [74.125.83.65]) by gabe.freedesktop.org (Postfix) with ESMTPS id 376996E1A2 for ; Wed, 22 Mar 2017 01:53:15 +0000 (UTC) Received: by mail-pg0-f65.google.com with SMTP id 79so19212901pgf.0 for ; Tue, 21 Mar 2017 18:53:15 -0700 (PDT) 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; bh=zyH2BWKM51P2X8aYeEKaOuugR1JspzLWW33AdsqhvB0=; b=TwCXT0q/koIpXsac9t7Tn01g2JXOJuOOwSapZS5phgOeTy3grOe6p870LtVG/HvqBa Ko/WvHWVkwRLPmPkns/lF/yqR7dXPyona5knpOz5yFmFrZRQp7pDwRAOyfUcAz4U649z zHgByeNewprYbQuKtaDC0WF8xB1QMfRtyP45s7Y6q33EbQA/AE9mYLSlcS7iN24wflpg Ne5VVhLbRW5hXNSeJNTsvwtMUrqPDay9FYJ4kB0ywFRIWWlbhishfLP0hTNjsnHjfTH8 xkrXNqYKXG8JqeuYxUWEJRm+DdQEf7Im8yLtemmgmickUVhhcsJZ+S5gl+J/Lw7M++JV t9dg== X-Gm-Message-State: AFeK/H20iJ7fGIwx38jEc+WnqaRlA5O9Cw400MCAaWqYeE+Dgo0TiqN/XpqAgWsyweASOA== X-Received: by 10.84.131.79 with SMTP id 73mr8584840pld.45.1490147594843; Tue, 21 Mar 2017 18:53:14 -0700 (PDT) Received: from localhost.localdomain ([103.29.142.67]) by smtp.gmail.com with ESMTPSA id h20sm41864753pfh.79.2017.03.21.18.53.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 21 Mar 2017 18:53:14 -0700 (PDT) From: Chris Zhong To: linux-rockchip@lists.infradead.org, thierry.reding@gmail.com Subject: [PATCH v3 1/2] dt-bindings: Add INNOLUX P079ZCA panel bindings Date: Wed, 22 Mar 2017 09:53:06 +0800 Message-Id: <1490147587-4382-1-git-send-email-zyw@rock-chips.com> X-Mailer: git-send-email 2.6.3 Cc: Mark Rutland , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Rob Herring , Chris Zhong 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 The Innolux P079ZCA is a 7.85" panel with a 768X1024 resolution and connected to DSI using four lanes. Signed-off-by: Chris Zhong Reviewed-by: Brian Norris --- Changes in v3: None Changes in v2: None .../bindings/display/panel/innolux,p079zca.txt | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/innolux,p079zca.txt diff --git a/Documentation/devicetree/bindings/display/panel/innolux,p079zca.txt b/Documentation/devicetree/bindings/display/panel/innolux,p079zca.txt new file mode 100644 index 0000000..5c70a83 --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/innolux,p079zca.txt @@ -0,0 +1,23 @@ +Innolux P079ZCA 7.85" 768x1024 TFT LCD panel + +Required properties: +- compatible: should be "innolux,p079zca" +- reg: DSI virtual channel of the peripheral +- power-supply: phandle of the regulator that provides the supply voltage +- enable-gpios: panel enable gpio + +Optional properties: +- backlight: phandle of the backlight device attached to the panel + +Example: + + &mipi_dsi { + panel { + compatible = "innolux,p079zca"; + reg = <0>; + power-supply = <...>; + backlight = <&backlight>; + enable-gpios = <&gpio1 13 GPIO_ACTIVE_HIGH>; + status = "okay"; + }; + };