From patchwork Mon Feb 1 08:50:43 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 60877 Delivered-To: patch@linaro.org Received: by 10.112.130.2 with SMTP id oa2csp2896788lbb; Mon, 1 Feb 2016 00:50:51 -0800 (PST) X-Received: by 10.98.74.71 with SMTP id x68mr36228118pfa.80.1454316651665; Mon, 01 Feb 2016 00:50:51 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t85si44990805pfa.211.2016.02.01.00.50.51; Mon, 01 Feb 2016 00:50:51 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dkim=neutral (body hash did not verify) header.i=@linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751853AbcBAIuu (ORCPT + 6 others); Mon, 1 Feb 2016 03:50:50 -0500 Received: from mail-lb0-f181.google.com ([209.85.217.181]:33932 "EHLO mail-lb0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751614AbcBAIuu (ORCPT ); Mon, 1 Feb 2016 03:50:50 -0500 Received: by mail-lb0-f181.google.com with SMTP id cl12so70490759lbc.1 for ; Mon, 01 Feb 2016 00:50:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=u5kkULkUcCbChNlrsIA3r0MY/HPOrjIBHt7ABupaLVU=; b=dQB/r3mwna0gwS2ANn1YjP+NSYqCn2kcxWxoNJS3LjWgtMjetNHB2VekP21ppx2iW/ m/S7KAmpO23rwonEJsSP4bbZk9Ou0JvKYOp62VXq2eLE0mbu1jYV6Be1lxF9cuRo+y5U ZvW/d61EXLXpUvTj+JXQ1vv+R10iYc7qV2/aw= 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=u5kkULkUcCbChNlrsIA3r0MY/HPOrjIBHt7ABupaLVU=; b=TWhmPtQ5j7jtPF6gyD2/ZNQADfGAPzkeHWoT0RbQ35EMF1CoFYu1hlj8ft5TXHWO5n iCdG6B7ZniKhMf6/S74eSYzZrT8+wyDPBqg3EdGVeCDRUBDaEVcg02gYUHOahXJ30uo6 zGf0UTzByNlpT9u5NbvtvLf2u0vhi2S97UTRkuJk+giT/20BIKxA2YXL6fgGT2XUFfm0 4IEmoecNsD11Ci6j3ZwECMGtIJZXqUowUEYz1iRQIJW4RF2xIKrk2mLgCwH3P0a5sYye fOtYZlLSr4dGKVU9AzZEcb4oc4ZPbkFstto+9RPoNDWZ/AIVvAmk01i1zXCN28h3OtFD RQUQ== X-Gm-Message-State: AG10YOQ0ICNh/zjkSGp/otoYs+htSpJXl4A05KRYq6fuZabARCR3OUN3pCP/J7qvTnTD9tJ2 X-Received: by 10.112.144.38 with SMTP id sj6mr8052657lbb.104.1454316649040; Mon, 01 Feb 2016 00:50:49 -0800 (PST) Received: from localhost.localdomain ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id um4sm3797163lbb.1.2016.02.01.00.50.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 01 Feb 2016 00:50:48 -0800 (PST) From: Linus Walleij To: devicetree@vger.kernel.org, Rob Herring , Thierry Reding Cc: linux-arm-kernel@lists.infradead.org, dri-devel@lists.freedesktop.org, Linus Walleij Subject: [PATCH 2/2] dt-bindings: Add TPO TPG110 binding Date: Mon, 1 Feb 2016 09:50:43 +0100 Message-Id: <1454316643-3931-1-git-send-email-linus.walleij@linaro.org> X-Mailer: git-send-email 2.4.3 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org This adds device tree bindings for the TPO TPG110 panel found mounted in the Nomadik NHK8815. Signed-off-by: Linus Walleij --- .../bindings/display/panel/tpo,tpg110.txt | 47 ++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/tpo,tpg110.txt -- 2.4.3 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/Documentation/devicetree/bindings/display/panel/tpo,tpg110.txt b/Documentation/devicetree/bindings/display/panel/tpo,tpg110.txt new file mode 100644 index 000000000000..acbc6bef3593 --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/tpo,tpg110.txt @@ -0,0 +1,47 @@ +TPO TPG110 Panel +================ + +This binding builds on the DPI bindings, adding a few properties +as a superset of a DPI. See panel-dpi.txt for the required DPI +bindings. + +Required properties: +- compatible : "tpo,tpg110" +- grestb-gpio : panel reset GPIO +- scen-gpios : serial control enable GPIO +- scl-gpios : serial control clock line GPIO +- sda-gpios : serial control data line GPIO + +Required nodes: +- Video port for DPI input, see panel-dpi.txt +- Panel timing for DPI setup, see panel-dpi.txt + +Example +------- + +panel { + compatible = "tpo,tpg110", "panel-dpi"; + grestb-gpios = <&stmpe_gpio44 5 GPIO_ACTIVE_LOW>; + scen-gpios = <&gpio0 6 GPIO_ACTIVE_LOW>; + scl-gpios = <&gpio0 5 GPIO_ACTIVE_HIGH>; + sda-gpios = <&gpio0 4 GPIO_ACTIVE_HIGH>; + backlight = <&bl>; + + port { + nomadik_clcd_panel: endpoint { + remote-endpoint = <&nomadik_clcd_pads>; + }; + }; + + panel-timing { + clock-frequency = <33200000>; + hactive = <800>; + hback-porch = <216>; + hfront-porch = <40>; + hsync-len = <1>; + vactive = <480>; + vback-porch = <35>; + vfront-porch = <10>; + vsync-len = <1>; + }; +};