Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752628AbdLAHE4 (ORCPT ); Fri, 1 Dec 2017 02:04:56 -0500 Received: from mail-pf0-f193.google.com ([209.85.192.193]:36185 "EHLO mail-pf0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751354AbdLAHEx (ORCPT ); Fri, 1 Dec 2017 02:04:53 -0500 X-Google-Smtp-Source: AGs4zMY04V+ikzrDzynzuWKZdo8nrvj0Aoe9YuKU6mvl1yVDVf8yRx2P6mjPMo9KEH9rHd5iKEOhPA== From: Lin Huang To: robh+dt@kernel.org, thierry.reding@gmail.com, zyw@rock-chips.com, briannorris@chromium.org Cc: seanpaul@chromium.org, nickey.yang@rock-chips.com, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, dbasehore@chromium.org, Lin Huang Subject: [PATCH v2 2/2] dt-bindings: Add INNOLUX P097PFG panel bindings Date: Fri, 1 Dec 2017 15:04:37 +0800 Message-Id: <1512111877-15086-2-git-send-email-hl@rock-chips.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1512111877-15086-1-git-send-email-hl@rock-chips.com> References: <1512111877-15086-1-git-send-email-hl@rock-chips.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1750 Lines: 45 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>; }; -- 2.7.4