From patchwork Fri Aug 26 02:37:06 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: 9301053 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 BCA12608A7 for ; Fri, 26 Aug 2016 09:38:20 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AEF93295C0 for ; Fri, 26 Aug 2016 09:38:20 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A3C8C295FB; Fri, 26 Aug 2016 09:38:20 +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 5F408295FD for ; Fri, 26 Aug 2016 09:38:20 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 55FE76E97A; Fri, 26 Aug 2016 09:38:11 +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 8C77A6EA69 for ; Fri, 26 Aug 2016 02:37:35 +0000 (UTC) Received: by mail-pa0-x241.google.com with SMTP id cf3so3954977pad.2 for ; Thu, 25 Aug 2016 19:37:35 -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=57sRpERRff1rcaba6pmpoKniSt6mI5LLW73ulSQNxnw=; b=foHPdPZuu5WEW/HGgWHEw5Euf4+XcF66vDLjUnIItAdOivTKFOexvxDmpuMq/h2egk U5Le90G4y1i8fg55usV4Rx7Jg6urY4J61klDeceuZmF1kuu6sCQM7Aw3O5HBcrP7+/Rv pOMuN4A1lQVakP3CA6P/+y/PnQi7fqixbhx3XNtyuuTShi5pefS9dYThfECouh+1vuBF Bko3Vc9//4XMnfbDujUP/NKGCAZGrRFNZdvuIzPuXN7pLI9FKN98qoCI69kMD/cPShGo bRwMqWhz4eis0m4fIVZxBHLTq3mvmPM4NDLKJWSbPBbmaVfeO7XV0QP8/hdOchgEE/nZ JvgA== 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=57sRpERRff1rcaba6pmpoKniSt6mI5LLW73ulSQNxnw=; b=BORB/X1LMudLIeqd5YrUVxGp3W4APWnwOQiBp9NokqlcgSdBRgKSgwJEO5azdgVGur X+ExK8wuhicOWo7uxxlgrRFvJ/Pby9jrDhoLWnl90i89ep91YG0Gu3qKyDTmL4xsA7hT Zwg5OFmYJBqv7xW9xeyrXQajv17qjkSAhTSYECyzsdrzRu9WYt4b/pcXRMiI94CaPFKM f8hd4C99JV7SEBfjFMoI6xp/OEbYeSPhJtimkl3NuRhW8bjxBog9lWANk1VRY9+k9mPD aX5VUmyHWMsJlKFWOa2E4W6T+otzaD2oEnXkJKkw4HWNp0IrQPxXzkn39BvhRbOYNCPz s+DA== X-Gm-Message-State: AE9vXwMxRr6Ja1+otwGFuLyB2sQWIkIfgq1YikvJSiEmpM17hKr36/Lqkrq/HBZ6z4Ipsw== X-Received: by 10.66.165.67 with SMTP id yw3mr1612352pab.8.1472179055149; Thu, 25 Aug 2016 19:37:35 -0700 (PDT) Received: from localhost.localdomain ([122.172.145.25]) by smtp.gmail.com with ESMTPSA id q4sm23842780pfb.18.2016.08.25.19.37.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 25 Aug 2016 19:37:34 -0700 (PDT) From: Vinay Simha BN To: Subject: [PATCH v3 2/3] dt-bindings: Add jdi lt070me05000 panel bindings Date: Fri, 26 Aug 2016 08:07:06 +0530 Message-Id: <1472179029-9803-2-git-send-email-simhavcs@gmail.com> X-Mailer: git-send-email 2.1.2 In-Reply-To: <1472179029-9803-1-git-send-email-simhavcs@gmail.com> References: <1472179029-9803-1-git-send-email-simhavcs@gmail.com> X-Mailman-Approved-At: Fri, 26 Aug 2016 09:38:09 +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) --- .../bindings/display/panel/jdi,lt070me05000.txt | 33 ++++++++++++++++++++++ 1 file changed, 33 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..4724952 --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/jdi,lt070me05000.txt @@ -0,0 +1,33 @@ +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>; + pinctrl-names = "default"; + pinctrl-0 = <&dsi_panel_pinctrl>; + + 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>; + }; + };