From patchwork Thu Sep 8 05:14:22 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: 9322587 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 B9C9160231 for ; Fri, 9 Sep 2016 07:52:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AF6A429CB6 for ; Fri, 9 Sep 2016 07:52:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A40CE29CBB; Fri, 9 Sep 2016 07:52:13 +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]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id A77BE29CB6 for ; Fri, 9 Sep 2016 07:52:12 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id B01E66E6FA; Fri, 9 Sep 2016 07:52:07 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pf0-x241.google.com (mail-pf0-x241.google.com [IPv6:2607:f8b0:400e:c00::241]) by gabe.freedesktop.org (Postfix) with ESMTPS id AD3006ECF4 for ; Thu, 8 Sep 2016 05:14:46 +0000 (UTC) Received: by mail-pf0-x241.google.com with SMTP id n24so1954821pfb.2 for ; Wed, 07 Sep 2016 22:14:46 -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; bh=vmIDAfFRWJ22hRJps0o1Nh6jmmeZGtpQDQwL/WMLbaM=; b=M1VdZZENfpqTENqSkE+DfB8tvf6DjJGMeB7ZHDF7biv0P5Es1II03EKUcDFJlYpAoh vfs7fZu74g4lZaHH4FJwWrrmfWMytmz4P+yhnaTlNaul6yCoEVVJhOEsSCqPNaiLcWQq ljIYYwOe/oGrEzxx9IWf63ptpA0P038pIyqb46PQ2tv4mO894N5Elc9E/zHBfE03dmXe K3ubyDhez9zWNndUpRTj7b+e8It9uLWIqfWoKTEx5bcicjfuXdBlUzbk4Ge5rGpsWBrT ec2DXyTbH3uSZgaWhtDZEceHu5A8fpmoQuD01abrXNYKKTtmd6hyhTiK9JXhyKWRa6hv 1VMg== 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; bh=vmIDAfFRWJ22hRJps0o1Nh6jmmeZGtpQDQwL/WMLbaM=; b=ZyBvCpOZ3T5h0S3KmTISAm87Z4ViAI5SAsJw4o5tTksqDFVaXoogKw7G/QrAPwQZB8 5K2lcIYIxDUmcMtRa2EEn31bl3rd/k0zc63gFMvH2+2r6LD5rp3IdlDcu+NLP+6hz6HE yx83/g1aV6qxNukaCZO3FJCPF7eG9ZyxflaU0YIxFDWScu6o+2gzNJ/Pg4tuKyxF6o7/ Tyed/iuUzusPf4I7Q2cXwZ7nLXQhp9dBgn6FgeJud/gh6E1I/gB7UaDX3YCaCdTWKv3q TXdDUOHXfWRH8Z/AakUFL8/1JDoVVW61OEiSQtdmMOHEc/K/k0P1U77+NuukxAy0bj7T e1Cg== X-Gm-Message-State: AE9vXwOOeMsewSlZQGjDKijvu78RxW+NyFGrUNlm9QSS0GzABUJzp/6gHpePTBpMlXV3aA== X-Received: by 10.98.200.81 with SMTP id z78mr52493425pff.2.1473311686293; Wed, 07 Sep 2016 22:14:46 -0700 (PDT) Received: from vinay-inforce-3-062.UNKNOWN ([202.83.17.75]) by smtp.gmail.com with ESMTPSA id v29sm13592582pfd.65.2016.09.07.22.14.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 07 Sep 2016 22:14:45 -0700 (PDT) From: Vinay Simha BN To: Subject: [PATCH v4] dt-bindings: Add jdi lt070me05000 panel bindings Date: Thu, 8 Sep 2016 10:44:22 +0530 Message-Id: <1473311672-20782-1-git-send-email-simhavcs@gmail.com> X-Mailer: git-send-email 2.1.2 X-Mailman-Approved-At: Fri, 09 Sep 2016 07:52:04 +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 v3: * incorporated thierry reviews - Added gpio polarity details for reset-gpios - proper naming conventions and sequence wrt panel datasheet (vddp-supply, iovcc-supply, enable-gpios, reset-gpios, dcdc-en-gpios) v4: * pinctrl-names, pinctrl-0 removed, not required for reset-gpios --- .../bindings/display/panel/jdi,lt070me05000.txt | 31 ++++++++++++++++++++++ 1 file changed, 31 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..4989c91d --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/jdi,lt070me05000.txt @@ -0,0 +1,31 @@ +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) +- iovcc-supply: phandle of the regulator that provides the supply voltage + IOVCC , power supply for LCM (1.8V) +- enable-gpios: phandle of gpio for enable line + LED_EN, LED backlight enable, High active +- 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 +- dcdc-en-gpios: phandle of the gpio for power ic line + Power IC supply enable, High active + +Example: + + dsi0: qcom,mdss_dsi@4700000 { + panel@0 { + compatible = "jdi,lt070me05000"; + reg = <0>; + + vddp-supply = <&pm8921_l17>; + iovcc-supply = <&pm8921_lvs7>; + + enable-gpios = <&pm8921_gpio 36 GPIO_ACTIVE_HIGH>; + reset-gpios = <&tlmm_pinmux 54 GPIO_ACTIVE_LOW>; + dcdc-en-gpios = <&pm8921_gpio 23 GPIO_ACTIVE_HIGH>; + }; + };