From patchwork Wed Apr 20 09:32:31 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinay Simha B N X-Patchwork-Id: 8888151 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id E38B2BF29F for ; Wed, 20 Apr 2016 10:47:20 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id F01652008F for ; Wed, 20 Apr 2016 10:47:19 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 1D9D220211 for ; Wed, 20 Apr 2016 10:47:19 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id C95876E952; Wed, 20 Apr 2016 10:47:17 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pf0-x22b.google.com (mail-pf0-x22b.google.com [IPv6:2607:f8b0:400e:c00::22b]) by gabe.freedesktop.org (Postfix) with ESMTPS id 85BA56E0AA for ; Wed, 20 Apr 2016 09:33:17 +0000 (UTC) Received: by mail-pf0-x22b.google.com with SMTP id n1so16643732pfn.2 for ; Wed, 20 Apr 2016 02:33:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=sKvQOa8FTK48hF3tD78fILf2sb+EL0SwS7oor/t5ZtQ=; b=nJFkCjvPHyPvhxqHagyCAljCoYbUrCsxkSic7eFqnh5RoykFbbdiOQRPTTEodznKX4 ZMewXgLVF2FU+n4EYhRJAVAYx/lL3YItLe6je+2kqMb7fF4yXPrfWl6uL9OhOEqtYcrR Ug4pvkGtWPX/uBXgJIQwod/o+xa1r/TF/D2BOtQMGfGgm3hVN3kIIZ1En/wj27/SXfWX QZP4kpw7o8DLycNIaC5tsQkTtCWbzGMBtDtSgzTW9d/NzNiSRtUo7CXxehrLZdb7Vbmr 9YIz08EFPn1VN/oRxOYPRTupP4pOP5Lf94RCAWZtgWFpKs5GrHVpxgjLXgANw6OX4XL0 WfbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=sKvQOa8FTK48hF3tD78fILf2sb+EL0SwS7oor/t5ZtQ=; b=Y7hUpkUTu1gPxUvod2FZP+2Lcb2plaUQd+cZhiyLUscL1bfZ3wTdf1tIVEHg1BwLH+ hVoqNRLcGkSQFlkn/0IPu9nZFkpTdl0nEfGBdb8CKfU0uLErjCz2vKUsZN2kHr+Ow1Ak zkbDmdPtiDukQ+nLCoPAMPBO8nB6000bhZnuiX+eK2l/PFhsSO2ctsES3QNvYrU0GF50 nuH4xt0EPTVAVhTp2Zoz6pNLMIkzpKXq4Rsgn2elYUsbJPHH5cMnOMge4tvMuCSLP+K1 bsmIpmXdbnpd6iJvD/F7x92odnoZcJG7wHpesv4FSlXa9hJNHaiRVkl3eoTDnV/VpOeG EjCQ== X-Gm-Message-State: AOPr4FX6rz4Z7DelCcHtyiG0jL32kEbushsRHvLn8FWGDUN7YveypAYReNU1ft4ClWRzuA== X-Received: by 10.98.70.67 with SMTP id t64mr10789683pfa.110.1461144796857; Wed, 20 Apr 2016 02:33:16 -0700 (PDT) Received: from localhost.localdomain ([202.83.17.75]) by smtp.gmail.com with ESMTPSA id 187sm18973348pff.66.2016.04.20.02.33.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 20 Apr 2016 02:33:16 -0700 (PDT) From: Vinay Simha BN To: 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> X-Mailman-Approved-At: Wed, 20 Apr 2016 10:46:20 +0000 Cc: Mark Rutland , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Pawel Moll , Ian Campbell , open list , Rob Herring , "open list:DRM PANEL DRIVERS" , Kumar Gala , Vinay Simha BN 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-Spam-Status: No, score=-5.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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>; + }; + };