From patchwork Mon Feb 5 19:20:12 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 10201559 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 E41AE6056A for ; Mon, 5 Feb 2018 19:22:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D4F3D1FF22 for ; Mon, 5 Feb 2018 19:22:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C96211FFF9; Mon, 5 Feb 2018 19:22:29 +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_SIGNED, 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 664C627C05 for ; Mon, 5 Feb 2018 19:22:23 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 3C7A96E132; Mon, 5 Feb 2018 19:22:21 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-lf0-x244.google.com (mail-lf0-x244.google.com [IPv6:2a00:1450:4010:c07::244]) by gabe.freedesktop.org (Postfix) with ESMTPS id 9EDEE6E132 for ; Mon, 5 Feb 2018 19:22:19 +0000 (UTC) Received: by mail-lf0-x244.google.com with SMTP id x196so43297296lfd.12 for ; Mon, 05 Feb 2018 11:22:19 -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=2vjqE1il5gkVIC3jd8rtGB5JZUqX1JLB2RviAQx85Xk=; b=Trr1ld6CyZGznXRQa/GXiIRYioYr4H6I9lkujG/byBU6wqLr2H4OTypzIaJX7Qpg7p JNVWEa3WkJ8Z2D8+hcgO8QUVJxUAIup8C61vn3wQWrjYEDebfuo7NYrPHR5ksB5dWeVN +kVRcomzigK02qj+A7zRLdwLWBNk0sxKjX9ig= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=2vjqE1il5gkVIC3jd8rtGB5JZUqX1JLB2RviAQx85Xk=; b=QoEiEeuKILvyPh1OIrypLVjZNHHzg2Y6PI2z73ESCC6uE96fabvCiixN0xdXCJGkcE Ob+EOhAkfm0YQTG4ugsN1LD1Dpq3CR8TK+P5CuPG2E/yxJCavI7NgxkJUVL7l4txboqT yyyLauuHlRWkdsC0ozyL9bZW7KMuu9yMVrO/FOauT/BzxcuXcxV6zAKpE8A2EQ5o0FcO DiYT4qalzQiyfbmp/Bb69u1Z0S2uD5DUrVYFK84nNrg51/uTtM7T2hV4NfeoFXzgez4l AVD2ydPGIb9fCPIAzuPFNYyg7LK1Xd9s7vM+NE8TfDUuqLt5KNVrb0YgsZ/5n1s0HbZw A0yg== X-Gm-Message-State: AKwxytcS0/spYuDzTQ4mXMHXFGuNyybMDEKStf+Gn1x64GvmWqGBtV0P seq7WnkZ0viZreUDgeg/Gmir4A== X-Google-Smtp-Source: AH8x224zwSeuNcArk7zin2L0r2+qiZCaxoriSStb0SRSm/S4nTtMFL6yEeEonWyWgeIe83V+i9JYJg== X-Received: by 10.46.8.89 with SMTP id g25mr14426464ljd.115.1517858538037; Mon, 05 Feb 2018 11:22:18 -0800 (PST) Received: from localhost.localdomain (c-cb7471d5.014-348-6c756e10.cust.bredbandsbolaget.se. [213.113.116.203]) by smtp.gmail.com with ESMTPSA id e21sm1958820lfb.51.2018.02.05.11.22.16 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 05 Feb 2018 11:22:17 -0800 (PST) From: Linus Walleij To: Thierry Reding , dri-devel@lists.freedesktop.org Subject: [PATCH 1/2 v2] drm/panel: Device tree bindings for ARM Versatile panels Date: Mon, 5 Feb 2018 20:20:12 +0100 Message-Id: <20180205192013.5349-1-linus.walleij@linaro.org> X-Mailer: git-send-email 2.14.3 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP This adds a pretty simple set of device tree bindings for ARM Versatile panels appearing as child nodes of a system controller. Cc: devicetree@vger.kernel.org Reviewed-by: Rob Herring Signed-off-by: Linus Walleij --- ChangeLog v1->v2: - Collect Rob's ACK. --- .../display/panel/arm,versatile-tft-panel.txt | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/arm,versatile-tft-panel.txt diff --git a/Documentation/devicetree/bindings/display/panel/arm,versatile-tft-panel.txt b/Documentation/devicetree/bindings/display/panel/arm,versatile-tft-panel.txt new file mode 100644 index 000000000000..248141c3c7e3 --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/arm,versatile-tft-panel.txt @@ -0,0 +1,31 @@ +ARM Versatile TFT Panels + +These panels are connected to the daughterboards found on the +ARM Versatile reference designs. + +This device node must appear as a child to a "syscon"-compatible +node. + +Required properties: +- compatible: should be "arm,versatile-tft-panel" + +Required subnodes: +- port: see display/panel/panel-common.txt, graph.txt + + +Example: + +sysreg@0 { + compatible = "arm,versatile-sysreg", "syscon", "simple-mfd"; + reg = <0x00000 0x1000>; + + panel: display@0 { + compatible = "arm,versatile-tft-panel"; + + port { + panel_in: endpoint { + remote-endpoint = <&foo>; + }; + }; + }; +};