From patchwork Sun Jul 31 15:15:21 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: 9253579 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 F2F6B60865 for ; Mon, 1 Aug 2016 01:29:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E3AD528405 for ; Mon, 1 Aug 2016 01:29:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D873628408; Mon, 1 Aug 2016 01:29:05 +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.1 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6AC5A28405 for ; Mon, 1 Aug 2016 01:29:05 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 528BD6E193; Mon, 1 Aug 2016 01:28:31 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pa0-x241.google.com (mail-pa0-x241.google.com [IPv6:2607:f8b0:400e:c03::241]) by gabe.freedesktop.org (Postfix) with ESMTPS id D8BD06E111 for ; Sun, 31 Jul 2016 15:15:49 +0000 (UTC) Received: by mail-pa0-x241.google.com with SMTP id hh10so8282668pac.1 for ; Sun, 31 Jul 2016 08:15:49 -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=qYBj63gXfMYyJ4VIy+YpdZOZI44b8V+wskaIU/AqpAo=; b=Hezd+lvKRCP8JnBm6NTpdTcqagyiv6/WxmMv9Wn/Y8GNiLUsrmLycXbo8lPdFv5pi6 FWmT824MBv5VZUSFlkC3FriWpXIS3wr7ZJBMkVw809qJxQaAxmi3DlrxjpPLIsMygzOs 0ADcehy6jyjqQrWgYqlVH1iUP+uPb3RsdMuRmZQx6lexFbk7heJIzFb4JLEuKOx1xyDR sDPqsT/8cutkXhVRyff41ecr+Dcqm3DkZEWxU/S8/p47bO8VQSvRWpgWL6uSiykAdHzW MaW/tnFkzJSUIvWEV69PdNpoxmUrx6xBS7ImakMN9NZvgUQ8tvFsysLcJS2d3RdXJ02y 0n2Q== 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=qYBj63gXfMYyJ4VIy+YpdZOZI44b8V+wskaIU/AqpAo=; b=JwpkryW1KYvw8jvXp9AtHBHPDGjmW8znitdTKXOz3HSja6zvdmLAu4QEopG4/aaVju uqeR34VnlwKmiWaA98RFZWEwlx1LX2StBx3n3VsI6HQxjGTHQlhl4L2a0HcOEUp+4MAF EFmMFFk4mO9r5OiWMp744MkD09MaxP+2JT9ipYKzKNN4WfKAtlpLdYOf8xN6xOoTMWV9 zPrg2ShX138naitM2BzHdh27TSeIpkH1EEAJZR/kuxya8wZAznrAArnuPmNThHgwSin/ 2wZt0KdhLw3G5MXpskaGz1YHMxjsAAEsLWjiJVYUmDJiTEH4yS1L4s/tKqLyHD8nFu2W 2M+Q== X-Gm-Message-State: AEkoousn7cqS9c47z7xkjrDuUKz/9vKkb2LK+Pczkm7zkf0L+492id1iRlbiMBtHSpopkA== X-Received: by 10.66.177.7 with SMTP id cm7mr87383207pac.132.1469978147930; Sun, 31 Jul 2016 08:15:47 -0700 (PDT) Received: from localhost.localdomain ([122.172.218.84]) by smtp.gmail.com with ESMTPSA id t1sm38760602pfa.86.2016.07.31.08.15.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 31 Jul 2016 08:15:47 -0700 (PDT) From: Vinay Simha BN To: Subject: [RESEND] [PATCH v2 2/4] dt-bindings: Add jdi lt070me05000 panel bindings Date: Sun, 31 Jul 2016 20:45:21 +0530 Message-Id: <1469978126-925-2-git-send-email-simhavcs@gmail.com> X-Mailer: git-send-email 2.1.2 In-Reply-To: <1469978126-925-1-git-send-email-simhavcs@gmail.com> References: <1469978126-925-1-git-send-email-simhavcs@gmail.com> X-Mailman-Approved-At: Mon, 01 Aug 2016 01:28:21 +0000 Cc: Mark Rutland , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , open list , Rob Herring , "open list:DRM PANEL DRIVERS" , Vinay Simha BN , Archit Taneja 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 Add documentation for lt070me05000 panel Cc: Archit Taneja Cc: John Stultz Cc: Thierry Reding Cc: Sumit Semwal Signed-off-by: Vinay Simha BN Acked-by: Rob Herring --- v2: * incorporated rob herring and thierry reviews gpio to gpios, gpio to regulator using fixed regulators and pwm backlight is removed, since it is controlled by dcs commands --- .../bindings/display/panel/jdi,lt070me05000.txt | 57 ++++++++++++++++++++++ 1 file changed, 57 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..613b76f --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/jdi,lt070me05000.txt @@ -0,0 +1,57 @@ +JDI model LT070ME05000 1200x1920 7" DSI Panel + +Required properties: +- compatible: should be "jdi,lt070me05000" +- 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 +- vcc-supply: phandle of the regulator that provides the supply voltage + IOVCC , power supply for LCM (1.8V) +- reset-gpios: phandle of gpio for reset line + This should be 8mA, gpio can be configured using mux, pinctrl, pinctrl-names + XRES, Reset, Low active +- enable-gpios: phandle of gpio for enable line + LED_EN, LED backlight enable, High active + +Example: + + vcc_1p8v: regulator-fixed@2 { + compatible = "regulator-fixed"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-name = "vcc_1p8v"; + regulator-type = "voltage"; + startup-delay-us = <0>; + gpio = <&pm8921_gpio 23 GPIO_ACTIVE_HIGH>; + enable-active-high; + regulator-boot-on; + }; + + tlmm_pinmux: pinctrl@800000 { + + dsi_panel_pinctrl: dsi-panel-pinctrl { + mux { + pins = "gpio54"; + function = "gpio"; + bias-pull-up; + drive-strength = <8>; + }; + }; + }; + + dsi0: qcom,mdss_dsi@4700000 { + panel@0 { + compatible = "jdi,lt070me05000"; + reg = <0>; + pinctrl-names = "default"; + pinctrl-0 = <&dsi_panel_pinctrl>; + + vddp-supply = <&pm8921_l17>; + dcdc_en-supply = <&pm8921_lvs7>; + vcc-supply = <&vcc_1p8v>; + + reset-gpios = <&tlmm_pinmux 54 0>; + enable-gpios = <&pm8921_gpio 36 GPIO_ACTIVE_HIGH>; + }; + };