From patchwork Fri Mar 3 01:01:48 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Zhong X-Patchwork-Id: 9601859 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 964D860453 for ; Fri, 3 Mar 2017 01:02:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7EE5C28425 for ; Fri, 3 Mar 2017 01:02:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 71B1C285D5; Fri, 3 Mar 2017 01:02:06 +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 7312228425 for ; Fri, 3 Mar 2017 01:01:59 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 9A4066E239; Fri, 3 Mar 2017 01:01:57 +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 CE61C6E239 for ; Fri, 3 Mar 2017 01:01:56 +0000 (UTC) Received: by mail-pf0-f196.google.com with SMTP id x66so8186613pfb.1 for ; Thu, 02 Mar 2017 17:01:56 -0800 (PST) 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=nnMdAIRqzDhaHW3Lsq44LSZ+IRP+dNxfhr7m0UmWIEU=; b=MZB5CE96zLiX0cxd2tbxMiwduwNnIttRvRIip7V8JgZLTipZhPrrYtpwOEmw7HVdnr pDq5Md0Z/rZGJxwcsVRQL2GkFaqA9P6NKl2EFRvBgSBP01RgyI6mShwzkyI8MYT7ELfe GjeoBJ0P1RL/e/za7BDSS8XG/UrjbMwRAft9/0Y5xU4Tl075+Y3mIgK+pBtHtBzM2jqx tKjzXYJLVxhte/n51g7m/qC6GtYzdNb4M9+f+BUv2+qHkTb3dcgd7hJYbBvkM5vTEgTA u2l4YKt3SskTP/Uay63rsK2eZqeCRKI6YvMWsa/hh3qRQs5thx70CbCRLhuGTpNoqC4p 2+Ng== X-Gm-Message-State: AMke39kofJGpv0ruqUmkEZh3cFFNXbPBwaSrxV/CyWagOH9ORUozeqzFlVawiI491Z0nFg== X-Received: by 10.98.149.147 with SMTP id c19mr192492pfk.36.1488502915433; Thu, 02 Mar 2017 17:01:55 -0800 (PST) Received: from localhost.localdomain ([103.29.142.67]) by smtp.gmail.com with ESMTPSA id m29sm19291030pfi.54.2017.03.02.17.01.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 02 Mar 2017 17:01:54 -0800 (PST) From: Chris Zhong To: linux-rockchip@lists.infradead.org Subject: [PATCH 1/2] dt-bindings: Add INNOLUX P079ZCA panel bindings Date: Fri, 3 Mar 2017 09:01:48 +0800 Message-Id: <1488502909-22160-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 --- .../bindings/display/panel/innolux,p079zca.txt | 22 ++++++++++++++++++++++ 1 file changed, 22 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..c40c8e4 --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/innolux,p079zca.txt @@ -0,0 +1,22 @@ +Innolux P079ZCA 7.85" 768x1024 TFT LCD panel + +Required properties: +- compatible: should be "innolux,p079zca" +- 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"; + }; + };