From patchwork Mon Dec 4 07:16:05 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: huang lin X-Patchwork-Id: 10089775 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 3E45A60327 for ; Mon, 4 Dec 2017 08:17:58 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2EF6E2905E for ; Mon, 4 Dec 2017 08:17:58 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 232F629066; Mon, 4 Dec 2017 08:17:58 +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 797F12905F for ; Mon, 4 Dec 2017 08:17:57 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 5AAD36E2F0; Mon, 4 Dec 2017 08:17:22 +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 BD9E26E2C2 for ; Mon, 4 Dec 2017 07:16:19 +0000 (UTC) Received: by mail-pg0-f67.google.com with SMTP id b18so7595232pgv.10 for ; Sun, 03 Dec 2017 23:16:19 -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=8s21QbR32YN+NPdCrKNtSuGYQ4Kv34HhbH+3rTdpqbk=; b=BMWeWRMH4WFGHCoj6xOaYtTpnacGKPK3iiGJ83w/Si1DNTQh5mu9MTdZNUdFccQ3Ky rdgHI4NXzjxG0whSL8NyeVAErWGYhxKEIxWm9Zm1/irK3SB5Y9h6y0Gvd1k+Vn11I/k9 GP8zxnlR7zFMnG52TtvDJN3gasllZsXfGRb5olGPSgLtt+EGiY/+ZCg351i4tD8nI/cG 8nP4U12X3J+M0CnSkbrwobGT65S+Vpxvhz7yzhqMXTSsVDieyZrQIAe/0AUyb6Ag7H2o P6m6I8vv1jT06DlsWRHHQvxJ+Y8W4vtvvVVpCZ3gtk317CUmClCA7ZHk6/AjrI1a/0XS iPXA== X-Gm-Message-State: AJaThX4nMdxyuNIVKVlqyI1SHpo7kStCzIa+qIow+5WA2TkbgHMjbqui MS7+sLClPbHpaGMaE0MPRRw= X-Google-Smtp-Source: AGs4zMbDmpkXKv+Emix3xR4LQf26UfDN+OHm4Qx3qwk15ia8kRB7Rnlo+qpIDiEHVK6LX9mGWPeogg== X-Received: by 10.159.198.4 with SMTP id f4mr13511475plo.331.1512371779254; Sun, 03 Dec 2017 23:16:19 -0800 (PST) Received: from localhost.localdomain ([103.29.142.67]) by smtp.gmail.com with ESMTPSA id i186sm21641873pfg.178.2017.12.03.23.16.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 03 Dec 2017 23:16:18 -0800 (PST) From: Lin Huang To: emil.l.velikov@gmail.com, briannorris@chromium.org, thierry.reding@gmail.com, robh+dt@kernel.org Subject: [PATCH v3 3/3] dt-bindings: Add INNOLUX P097PFG panel bindings Date: Mon, 4 Dec 2017 15:16:05 +0800 Message-Id: <1512371765-15166-3-git-send-email-hl@rock-chips.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1512371765-15166-1-git-send-email-hl@rock-chips.com> References: <1512371765-15166-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. Change-Id: I8704914898fe53b734d31fbe646df8aa5fd8b30d 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>; };