From patchwork Mon Dec 4 07:17:50 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: huang lin X-Patchwork-Id: 10089769 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 33BC460327 for ; Mon, 4 Dec 2017 08:17:27 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1D17429009 for ; Mon, 4 Dec 2017 08:17:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 11BB82905F; Mon, 4 Dec 2017 08:17:27 +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 AE66529009 for ; Mon, 4 Dec 2017 08:17:26 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id AF29D6E2D7; Mon, 4 Dec 2017 08:17:15 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pg0-f68.google.com (mail-pg0-f68.google.com [74.125.83.68]) by gabe.freedesktop.org (Postfix) with ESMTPS id 96C366E2C7 for ; Mon, 4 Dec 2017 07:18:03 +0000 (UTC) Received: by mail-pg0-f68.google.com with SMTP id o2so7594108pgc.8 for ; Sun, 03 Dec 2017 23:18:03 -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:in-reply-to :references; bh=QEkvYCJ3rUCxytgOqtpZ11+QAmByWntra4bzWT8M8Ts=; b=iO9UcCLot0ebwvnzzhomm5GjCFuDt7n/yQnfQWc8nqFhlgcefeJn9YxMBeXau1PnIM 6hXti8J2ZrVU8YqTM8MPByuGNuohMj8h24tSEB56UUT/2y6Rgthl5IZq/zDWUm/Jbf74 kyIbdStmpPdAghIZOcvvwsiyXsWEng+P6tqmtXoWkZ/eOnjVYrnDJ0kH1gIxxkC7yFfm +eHwTo1UAte2+SsGXfdESaN3Erre52VLXssDfhGCimlEiUQ6O3waPPUt5T8PPBbS6zQz hcf7js2GPK2QoNidiz3uh6jPA59h4UxjUYAcKXXJYLSScRx81JNHdw2C+fn8IYdHRg7K pZwA== X-Gm-Message-State: AJaThX5eDMfCh1tJ7PF0Wrw/5JFAS2UK9z3mCL1ZxumV3wE6j5yxovfe 9kP4u+zjumJX1awWFzn6jRY= X-Google-Smtp-Source: AGs4zMYQED5mSdFcWbbtfdMgCeT0hDNLX6/94X2Wvm3wqltKP5+LEBirN3NhF+DgudNz3FXypESkbA== X-Received: by 10.99.147.3 with SMTP id b3mr13365217pge.114.1512371883220; Sun, 03 Dec 2017 23:18:03 -0800 (PST) Received: from localhost.localdomain ([103.29.142.67]) by smtp.gmail.com with ESMTPSA id 75sm3067314pfo.103.2017.12.03.23.18.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 03 Dec 2017 23:18:02 -0800 (PST) From: Lin Huang To: emil.l.velikov@gmail.com, briannorris@chromium.org, thierry.reding@gmail.com, robh+dt@kernel.org Subject: [RESEND PATCH v3 3/3] dt-bindings: Add INNOLUX P097PFG panel bindings Date: Mon, 4 Dec 2017 15:17:50 +0800 Message-Id: <1512371870-15350-3-git-send-email-hl@rock-chips.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1512371870-15350-1-git-send-email-hl@rock-chips.com> References: <1512371870-15350-1-git-send-email-hl@rock-chips.com> X-Mailman-Approved-At: Mon, 04 Dec 2017 08:17:11 +0000 Cc: Lin Huang , airlied@linux.ie, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, nickey.yang@rock-chips.com, zyw@rock-chips.com 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 P097PFG panel is 9.7" panel with 1536X2048 resolution, it reuse P079ZCA panel driver, so improve p079ZCA dt-binding to support P097PFG. Signed-off-by: Lin Huang --- .../devicetree/bindings/display/panel/innolux,p079zca.txt | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/display/panel/innolux,p079zca.txt b/Documentation/devicetree/bindings/display/panel/innolux,p079zca.txt index d0f5516..8cadd8c 100644 --- a/Documentation/devicetree/bindings/display/panel/innolux,p079zca.txt +++ b/Documentation/devicetree/bindings/display/panel/innolux,p079zca.txt @@ -1,13 +1,18 @@ Innolux P079ZCA 7.85" 768x1024 TFT LCD panel +Innolux P097PFG 9.7" 1536x2048 TFT LCD panel Required properties: -- compatible: should be "innolux,p079zca" +- compatible: should be should be one of the following. + -"innolux,p079zca" for Innolux 7.9" P079ZCA 768*1024 panel + -"innolux,p097pfg" for Innolux 9.7" P097PFG 1536*2048 panel - 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 +- power-supply: phandle of the regulator that provides the supply voltage +- avdd-supply: phandle of the regulator that provides positive voltage +- avee-supply: phandle of the regulator that provides negative voltage Example: @@ -16,6 +21,8 @@ Example: compatible = "innolux,p079zca"; reg = <0>; power-supply = <...>; + avdd-supply = <...>; + avee-supply = <...>; backlight = <&backlight>; enable-gpios = <&gpio1 13 GPIO_ACTIVE_HIGH>; };