From patchwork Thu Jun 2 02:35:03 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: 9149517 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 9058060221 for ; Thu, 2 Jun 2016 08:24:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7EE7F2654B for ; Thu, 2 Jun 2016 08:24:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 73AF8269DA; Thu, 2 Jun 2016 08:24:10 +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 0FE302654B for ; Thu, 2 Jun 2016 08:24:10 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 776226EB30; Thu, 2 Jun 2016 08:24:02 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pf0-x243.google.com (mail-pf0-x243.google.com [IPv6:2607:f8b0:400e:c00::243]) by gabe.freedesktop.org (Postfix) with ESMTPS id 83D9F6EAFA for ; Thu, 2 Jun 2016 02:35:49 +0000 (UTC) Received: by mail-pf0-x243.google.com with SMTP id 62so6076647pfd.3 for ; Wed, 01 Jun 2016 19:35: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=06PmUEZHPemDOa2/Yd2Ecys/hAVfnEXCZ/cEMoISBnM=; b=ROVCPrwrcLtq4z35NKIZgsFt+Jt3hgxKl1VIc+LdAL89cYYU8NuQLVkc/E9S4bUo5f tg7hz71Ntzu1vXsS8ZQxxXnlD/PwXauGy9gsmMxHeTDn2OtDrjjouT1ePA63a9tu3ncQ AL5sE04pYvLz+P/EWJV5qJua+7pDiSQMpYG8eM7+zJwNpf20HupH3wYIarUYr1KLGz4U evE0j+o3Re50B64Ja1S8MlZ+Y2wQKScfhWR/2fm/jgh6T173caqkXcqpp8PAM5/8snC3 oRlMouVXLUFX2EGmRTxfSeZ4ddO0o8UFIOJnsYlu3YyRpu+9/V/2iZjqO1r1RcG8flPn 7shg== 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=06PmUEZHPemDOa2/Yd2Ecys/hAVfnEXCZ/cEMoISBnM=; b=Xd7KcU1H6Knq/iyOk4vBYulkpFewFfq8Xs5gO0mdcg4dxZOkxQADzTxU07com1sp+B TpyTAeUHf69/MF9SO7kYrJmBXMmM8P3KTiatuQO81QJCwBeeq4JaQBhEssDVrpOJVHLw kZZyS5buBc9f/bs7Mi2pjES0s4Eef+tP36bBLgOsv0kwVyovpuDNoePRGvpfWnlaa3uT V2XLPy2obzGic/+wu+YLyxCG/ojQMfK+pUbkqIKPTyStydnzGDjpF6yfn7rdXGqwSdyR hvdAnw3T9qTuakRyBrp7Gb0wGuNaYZCQ/0rZY+PG07FBfKKdv2PavxFsYZZNSQ2Br3pU pU7Q== X-Gm-Message-State: ALyK8tJzz9N3eHF77ZAnXvYj0OKzJ/J/mKahq/3SeGGipAi9gETSEokD0AOlpirFsPEyFg== X-Received: by 10.98.157.4 with SMTP id i4mr27934pfd.31.1464834948621; Wed, 01 Jun 2016 19:35:48 -0700 (PDT) Received: from localhost.localdomain ([122.172.131.85]) by smtp.gmail.com with ESMTPSA id q188sm51053579pfq.66.2016.06.01.19.35.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 01 Jun 2016 19:35:47 -0700 (PDT) From: Vinay Simha BN To: Subject: [PATCH 2/2] dt-bindings: Add jdi lt070me05000 panel bindings Date: Thu, 2 Jun 2016 08:05:03 +0530 Message-Id: <1464834905-25407-2-git-send-email-simhavcs@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1464834905-25407-1-git-send-email-simhavcs@gmail.com> References: <1464834905-25407-1-git-send-email-simhavcs@gmail.com> X-Mailman-Approved-At: Thu, 02 Jun 2016 08:23:59 +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 , 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 | 58 ++++++++++++++++++++++ 1 file changed, 58 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..51068ae --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/jdi,lt070me05000.txt @@ -0,0 +1,58 @@ +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>; + }; + }; +