From patchwork Wed Jul 13 16:44:14 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: 9229173 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 6788F608A1 for ; Thu, 14 Jul 2016 08:09:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5985C2810E for ; Thu, 14 Jul 2016 08:09:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4DE7628178; Thu, 14 Jul 2016 08:09: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 DDCE228179 for ; Thu, 14 Jul 2016 08:09:04 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id A59646E890; Thu, 14 Jul 2016 08:09:02 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pf0-x242.google.com (mail-pf0-x242.google.com [IPv6:2607:f8b0:400e:c00::242]) by gabe.freedesktop.org (Postfix) with ESMTPS id D6A566E796 for ; Wed, 13 Jul 2016 16:44:42 +0000 (UTC) Received: by mail-pf0-x242.google.com with SMTP id i6so3065793pfe.0 for ; Wed, 13 Jul 2016 09:44:42 -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=pauGa+6ER4W+PihnXHJ7N0/jgVCWJ3DXVX/aqNZxCro=; b=BuWZv2UfldJuwl1Mj+eCTfcEvtnsD3yn9KmO87eX1P5Cn3sHuz2rq7u3LmbyThxcvq kwqiz2Oipe7THrKQ4FfVLVXH5hEwtU8iun4gbW/1tufTxDOWg3ZWM7Psn7vKJPW5Z0Qy KojGKr4gg7zRAt1Ut7zeqWtTDoMdC7Ykx3oPpCJPakBQwp831xVw53mLocTsuzWC4zlR MGPIm62rGoNX5A4lkvh12MLTkJX7fk8tVLEAuXTi9LA76GncDWRuEGNRU9MiB7WnHtEa J8fnKKb94Q/Q8oksL0Qu/GEUETNRbffkzZ444uWei9ruBbsiUNbRQtL6ZZ6sgzDkGcFH VotQ== 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=pauGa+6ER4W+PihnXHJ7N0/jgVCWJ3DXVX/aqNZxCro=; b=NKJuJrpZdZ94vhEqFbslrXXT99XECWuRR+lKd2LMiP6mhgyeIleNdYIofXgyclR3qW 9RF3AorMT/G7TZwERZQesAMgq2/9nopTU2nS7b3j4pNYn2i7sIyeGRW+9pzGpWQloCU8 80/Mx/fvjnbJF4y87IVeXs4RUq2qOXJERgvTCm1NXQ0fuAgbkRxYWCBpLm0M+dHAO9O6 jNq1p2AEXOikufgFK5uiu/iOf8TKP7ls8thgVbY1s5cb8vV38TOlgOmcsYhbuZIq6wYC SUwHjcqoX7IX743OcrhNrXKEw0MX7zEYmff4TcFniW9ploCYavea7MOvX8HVi98S81sT 4fVA== X-Gm-Message-State: ALyK8tIZjsM2wCi56jomA8uynM/24+RFIfd4GLK89pkqe4qS1B0cC44qQmNvlKZyE3g73A== X-Received: by 10.98.99.132 with SMTP id x126mr4966121pfb.48.1468428282074; Wed, 13 Jul 2016 09:44:42 -0700 (PDT) Received: from localhost.localdomain ([122.171.70.176]) by smtp.gmail.com with ESMTPSA id l82sm1274974pfk.8.2016.07.13.09.44.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 13 Jul 2016 09:44:41 -0700 (PDT) From: Vinay Simha BN To: Subject: [PATCH v2 2/4] dt-bindings: Add jdi lt070me05000 panel bindings Date: Wed, 13 Jul 2016 22:14:14 +0530 Message-Id: <1468428258-5601-2-git-send-email-simhavcs@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1468428258-5601-1-git-send-email-simhavcs@gmail.com> References: <1468428258-5601-1-git-send-email-simhavcs@gmail.com> X-Mailman-Approved-At: Thu, 14 Jul 2016 08:08:24 +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>; + }; + };