From patchwork Fri Mar 24 00:51:31 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Zhong X-Patchwork-Id: 9642189 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 7EEAC601E9 for ; Fri, 24 Mar 2017 00:51:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6658C2823E for ; Fri, 24 Mar 2017 00:51:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5A0C128475; Fri, 24 Mar 2017 00:51:43 +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 6A0C02823E for ; Fri, 24 Mar 2017 00:51:41 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 7D4666E3AD; Fri, 24 Mar 2017 00:51:40 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pg0-f67.google.com (mail-pg0-f67.google.com [74.125.83.67]) by gabe.freedesktop.org (Postfix) with ESMTPS id 944B76E3AD for ; Fri, 24 Mar 2017 00:51:39 +0000 (UTC) Received: by mail-pg0-f67.google.com with SMTP id w20so40111pgc.1 for ; Thu, 23 Mar 2017 17:51:39 -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=+e+1P5nhZ4IiMUh2xyw+LJ+Qs5HFm1GNwQz4b8VZYME=; b=R09y8HwKKar9FG+oqyneEwTPkhRTEtGdB0DO4IfRZbAMR0QESGExR0Kk6ig7KUG95u oIUdtntyTbqSWBGs7lJPYvtGYeFuzlZWJ0gm7yOy2xkRNC/KRndYYCqiiwN/06em1BG7 A6f5rMfi9r/VDlIy9QIKrxNp2jgiX5hbzD40k2h8oaArrFAcUzruHBTuB+avzjmxVLih 5Iclrrlv2hp8FvLIUe7H6C1p8Tm7KXQCIGVq8d8aUNhJlyybbsbFccG0WsTWac3xi5FW 8+VgazSQkTFdFBjiuJ2nM6M/XWMgC0tX8HUP8Yr0gAps9N+QEQ9zv/HeVxfNATls2W4J 9NZQ== X-Gm-Message-State: AFeK/H0Jo6ifl3g6uoNjSqNhSKP39eGCPh5EMqLkudYOLCQWEB0/AKLwyRFjHGG7y0CCDg== X-Received: by 10.98.108.1 with SMTP id h1mr5996308pfc.95.1490316699248; Thu, 23 Mar 2017 17:51:39 -0700 (PDT) Received: from localhost.localdomain ([103.29.142.67]) by smtp.gmail.com with ESMTPSA id i3sm539310pfg.117.2017.03.23.17.51.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 23 Mar 2017 17:51:38 -0700 (PDT) From: Chris Zhong To: linux-rockchip@lists.infradead.org, thierry.reding@gmail.com Subject: [PATCH v4 1/2] dt-bindings: Add INNOLUX P079ZCA panel bindings Date: Fri, 24 Mar 2017 08:51:31 +0800 Message-Id: <1490316692-20506-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 Acked-by: Rob Herring --- Changes in v4: None 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"; + }; + };