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: 739037 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3vjjmC5Rzmz9ryv for ; Wed, 15 Mar 2017 18:24:43 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751280AbdCOHUn (ORCPT ); Wed, 15 Mar 2017 03:20:43 -0400 Received: from mail-pf0-f196.google.com ([209.85.192.196]:36343 "EHLO mail-pf0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750819AbdCOHTW (ORCPT ); Wed, 15 Mar 2017 03:19:22 -0400 Received: by mail-pf0-f196.google.com with SMTP id j5so1256118pfb.3; 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=Y+ValVGiYPW79QpPzyAIOzq9Bur11VxAHZ+ySO1OMqApWRwUigk4eY8A8yQ54PMlW4 PL40wNg3ArHCJDV9YajAuTSvOEbg8OIgzrFaXA6m3gQs7h090ODrU26Xi4Jli+snResa ab0QIx5F0ZXRDWhE1p5LGZ5gKqepnhuLMzX7PEabjfVLnI/Rs/n2VuPADq1lonQRODQ8 hqGh0ZCxTSSCEFRQGLAv5HZJU1m2QvS7sSAFHqGAuj8uHLuPafADhtEyNzmz//GLDLcQ KXwLVt8R51iAJpTeLOjx1nA4Wmq2ZA/Jlbd1ygERQLmDzDzhkoj38wWH+WzSjQ7v3sRZ amTw== X-Gm-Message-State: AFeK/H1LC/QkQ8njFEYEC8a/prd9s9a3+UaA5p8mC64Xtsp6S6v+9gxxWTiHb1ZQMsZQRw== 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 Cc: Chris Zhong , Thierry Reding , David Airlie , Rob Herring , Mark Rutland , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.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 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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"; + }; + };