From patchwork Sun Jun 12 16:51:24 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: 9171831 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 D971C6048C for ; Mon, 13 Jun 2016 00:50:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CDB5E1FFB9 for ; Mon, 13 Jun 2016 00:50:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C1CED24B44; Mon, 13 Jun 2016 00:50:57 +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 37A391FFB9 for ; Mon, 13 Jun 2016 00:50:57 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id B2AD76E3C6; Mon, 13 Jun 2016 00:50:55 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pa0-x243.google.com (mail-pa0-x243.google.com [IPv6:2607:f8b0:400e:c03::243]) by gabe.freedesktop.org (Postfix) with ESMTPS id E24756E0D5 for ; Sun, 12 Jun 2016 16:52:37 +0000 (UTC) Received: by mail-pa0-x243.google.com with SMTP id ts6so1745505pac.0 for ; Sun, 12 Jun 2016 09:52:37 -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=eq1qT9EYZFlzYTr3UigWQSsGbe2i/MZ07B0+WCgnR9U=; b=GOdmYvxZPxyLKLAHfIOzN9x4dHEM9EdRF5sFZqYqgR68Mt0y6/wv4G0xDDicCJWapu xK14zlrFk+t6Z68D584M+kNJPUHAeUO5wK00Y7EpskIjemDLxf4GuTiBeTWdZBkC+rh8 /xQeQuunnN+Qu800BOim+fGl8HXiuXKiPjDI3q7TA58ZUz4sFvTFVJSmM9O8aXfqwA// f1fmFeZoNQnILI0NHs8RLf3LcPhDbIOq5o6qJj4aEtm3JBslSXWsBr0rWadQVpg/DMgQ qtVmmuEEZj6Z6RAziA19L0VICdt6A74I62t/P17ELM/GOybjL29KOsM3uofgsRsQfCwY PRwg== 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=eq1qT9EYZFlzYTr3UigWQSsGbe2i/MZ07B0+WCgnR9U=; b=k3HUNgnggmd/nt9WUqX9JR9ZXB2U8dscFjpX/v5XAelfuQST83FIayoDjOu5+QSKIC BUVigv8S2oVHuBZcARxjjQHHZjn42rcq5h/E6TvZNMOaae3SgBv/R9QHkUSbLiiAleks X7E2b6y58rpKhCA5kkrxJo5jRRnTUwDMarXLJ39W2ETmsdDrEa+tp70+ldcOuE/juc9C xsgiuD/NwfnLbY1poR8L1VFBBeVK0lAA2+wVJyi5/WXpLmq0yHeafJDDGUp02orc5pmd oh+QyDRsGmvCUdR2Hsx6Rd0ZOBqshSGPfbZpEjcroVPwbldNDWUYDoxhnOK3BN3p+LoM qITw== X-Gm-Message-State: ALyK8tKSocNOrg+U+9vxhYue5OcC6/OobYUsVg95mv4D4HVSzMXKw66F30jVfkIJJFKLHA== X-Received: by 10.66.149.66 with SMTP id ty2mr16158194pab.153.1465750356561; Sun, 12 Jun 2016 09:52:36 -0700 (PDT) Received: from localhost.localdomain ([122.172.149.3]) by smtp.gmail.com with ESMTPSA id cc6sm31397196pac.5.2016.06.12.09.52.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 12 Jun 2016 09:52:35 -0700 (PDT) From: Vinay Simha BN To: Subject: [[RESEND][PATCH v2] 2/2] dt-bindings: Add jdi lt070me05000 panel bindings Date: Sun, 12 Jun 2016 22:21:24 +0530 Message-Id: <1465750286-4305-2-git-send-email-simhavcs@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1465750286-4305-1-git-send-email-simhavcs@gmail.com> References: <1465750286-4305-1-git-send-email-simhavcs@gmail.com> X-Mailman-Approved-At: Mon, 13 Jun 2016 00:49:12 +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>; + }; + };