Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933037AbcDTJdW (ORCPT ); Wed, 20 Apr 2016 05:33:22 -0400 Received: from mail-pf0-f180.google.com ([209.85.192.180]:36793 "EHLO mail-pf0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932159AbcDTJdR (ORCPT ); Wed, 20 Apr 2016 05:33:17 -0400 From: Vinay Simha BN Cc: Vinay Simha BN , Thierry Reding , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , dri-devel@lists.freedesktop.org (open list:DRM PANEL DRIVERS), devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), linux-kernel@vger.kernel.org (open list) Subject: [PATCH v2 2/4] dt-bindings: Add jdi lt070me05000 panel bindings Date: Wed, 20 Apr 2016 15:02:31 +0530 Message-Id: <1461144755-10633-2-git-send-email-simhavcs@gmail.com> X-Mailer: git-send-email 2.1.2 In-Reply-To: <1461144755-10633-1-git-send-email-simhavcs@gmail.com> References: <20160414171500.GA11505@rob-hp-laptop> <1461144755-10633-1-git-send-email-simhavcs@gmail.com> To: unlisted-recipients:; (no To-header on input) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2051 Lines: 59 Add documentation for lt070me05000 panel Signed-off-by: Vinay Simha BN --- .../bindings/display/panel/jdi,lt070me05000.txt | 43 ++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/jdi,lt070me05000.txt diff --git a/Documentation/devicetree/bindings/display/panel/jdi,lt070me05000.txt b/Documentation/devicetree/bindings/display/panel/jdi,lt070me05000.txt new file mode 100644 index 0000000..ffe0550 --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/jdi,lt070me05000.txt @@ -0,0 +1,43 @@ +JDI model LT070ME05000 1200x1920 7" DSI Panel + +Required properties: +- compatible: should be "jdi,lt070me05000" +- power-supply: phandle of the regulator that provides the supply voltage + IOVCC , power supply for LCM (1.8V) +- vddp-supply: phandle of the regulator that provides the supply voltage + Power IC supply (3-5V) +- dcdc_en-supply: phandle of the regulator that provides the supply voltage + Power IC supply enable, High active +- reset-gpio: phandle of gpio for reset line + This should be 8mA, gpio can be configured using mux and pinctrl. + XRES, Reset, Low active +- enable-gpio: phandle of gpio for enable line + LED_EN, LED backlight enable, High active +- vcc-gpio: phandle of regulator/gpio that provides the supply voltage + VDD, LED power supply (3-5V) + +Optional properties: +- pwm-gpio: phandle of gpio/pwm + pwm backlight control, this should be mapped to the backlight level + display brightness (0x51) + +Example: + + dsi0: qcom,mdss_dsi@4700000 { + panel@0 { + compatible = "jdi,lt070me05000"; + reg = <0>; + pinctrl-names = "default"; + pinctrl-0 = <&dsi_panel_pinctrl>; + + power-supply = <&pm8921_lvs5>; + vddp-supply = <&pm8921_l17>; + dcdc_en-supply = <&pm8921_lvs7>; + + reset-gpio = <&tlmm_pinmux 54 0>; + enable-gpio = <&pm8921_gpio 36 GPIO_ACTIVE_HIGH>; + vcc-gpio = <&pm8921_gpio 23 GPIO_ACTIVE_HIGH>; + + pwm-gpio = <&pm8921_gpio 26 GPIO_ACTIVE_HIGH>; + }; + }; -- 2.1.2