From patchwork Wed Mar 15 07:19:12 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Zhong X-Patchwork-Id: 9624961 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 67BD06048C for ; Wed, 15 Mar 2017 07:19:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 516162860F for ; Wed, 15 Mar 2017 07:19:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3FABA2860B; Wed, 15 Mar 2017 07:19:25 +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, RCVD_IN_DNSWL_MED 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 BA94328611 for ; Wed, 15 Mar 2017 07:19:24 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id CE7736E7ED; Wed, 15 Mar 2017 07:19:22 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pf0-f196.google.com (mail-pf0-f196.google.com [209.85.192.196]) by gabe.freedesktop.org (Postfix) with ESMTPS id B73226E7ED for ; Wed, 15 Mar 2017 07:19:21 +0000 (UTC) Received: by mail-pf0-f196.google.com with SMTP id x63so1148202pfx.2 for ; Wed, 15 Mar 2017 00:19:21 -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=LYtKpg5U9+dtw9oCf/0vAOOjtOA3EAdkfNIK/JPj08E=; b=gNsz4/P8/WlxVRej/iHQO7gQt+U4C3aqMzy8649bTrnIYnrhkK8eclM0iPcrBWsBq2 wBs7veHGGsprlBf/VQSn6JHUoSxLv9npqu5bCkmtPQNqWLR5mEtuubiFsoNnmqXCN8Gm uAAeTiz3aCm90iQbInPZpY3N/iWGCn72EpdcfVZI6kGNHhLISfGP32MF3uhVh9wSHHGE dAwGkkVMi0M0MoXCpDPdipqRGlLuzyTI3wVUqoXdfPhamrRFgEmagEEgbwFrxmSn0q3T YAoh68SCTRDwGAb8uWZV+pCI3f9rSPQMLjpxK6r9AkDqTU7W7lwp7L3GyBPWCSzsCO3V oiuQ== X-Gm-Message-State: AFeK/H35vPsOvTSDmNjE+oc2RrBHWP2DezH5rU0GvQNzEXCgxQEsYGG9/RVYQDG07aSH+A== X-Received: by 10.98.166.73 with SMTP id t70mr1985984pfe.194.1489562361260; Wed, 15 Mar 2017 00:19:21 -0700 (PDT) Received: from localhost.localdomain ([103.29.142.67]) by smtp.gmail.com with ESMTPSA id t67sm2052359pfd.76.2017.03.15.00.19.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 15 Mar 2017 00:19:20 -0700 (PDT) From: Chris Zhong To: linux-rockchip@lists.infradead.org Subject: [PATCH v2 1/2] dt-bindings: Add INNOLUX P079ZCA panel bindings Date: Wed, 15 Mar 2017 15:19:12 +0800 Message-Id: <1489562353-10313-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 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"; + }; + };