From patchwork Mon Mar 4 12:50:33 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Josef_Lu=C5=A1tick=C3=BD?= X-Patchwork-Id: 10837785 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 6D1CE1399 for ; Mon, 4 Mar 2019 12:51:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5C0DE2A170 for ; Mon, 4 Mar 2019 12:51:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5A71C29C3A; Mon, 4 Mar 2019 12:51: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=-5.2 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED 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 11E6E29C18 for ; Mon, 4 Mar 2019 12:51:13 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 533FC89BA5; Mon, 4 Mar 2019 12:51:08 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x441.google.com (mail-wr1-x441.google.com [IPv6:2a00:1450:4864:20::441]) by gabe.freedesktop.org (Postfix) with ESMTPS id A469C899B7 for ; Mon, 4 Mar 2019 12:51:06 +0000 (UTC) Received: by mail-wr1-x441.google.com with SMTP id q1so5413045wrp.7 for ; Mon, 04 Mar 2019 04:51:06 -0800 (PST) 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=Xl/D710z9xNFSIjgOO0IYhR1gaRoE9saHZWfVBFbHYo=; b=qsXATq6qoyj4a3fnk89cxHiX2HA1IuCGPCVv8dyL+X7+K/jn8iKU+Et/sistTbDHK1 F+zwKGD0kvzkeQEP9WuuyTZ+ShQZj3bejsEy06bqQbabzrKY+FNRzXQjRyyTvHHWRNJ+ oYucMrfiLdbzFO8EGkgWGcEgNQfi5a+N+dbXPegkHXj5ROm1+hT/8JCvQHoFUQMIBLn4 5RJzBLN7IF4NswqVAsKxAPODYQigrDHD/36y8M+QvRAUYU5xz4C/+d5Z+yLsBNZ8RUxw q6uNbhKMaynpbnKUhojYJVYSB1XB+8ScSpHvTIvnaO7WpQCH29S+0n1aI37AdDAr31G6 uW+Q== X-Gm-Message-State: APjAAAW1F/G1Woa2M55HXXMBvXXWFTrmw+gbRRTJHv6cxVFWL148kp6K kURK2Z3nUfBVogiQOuWjpzmOAZOpXSZFqA== X-Google-Smtp-Source: APXvYqzkdzQveH0mKhx5M4b+j4Hz9nsoXp0rbFZrDjaZIgAes/69gPsSygro3ZsOEgpXU4iWtBjhMA== X-Received: by 2002:adf:dd8a:: with SMTP id x10mr13233405wrl.117.1551703865317; Mon, 04 Mar 2019 04:51:05 -0800 (PST) Received: from e430.riomail.cz (188-175-152-238.client.rionet.cz. [188.175.152.238]) by smtp.gmail.com with ESMTPSA id o18sm18377514wrg.40.2019.03.04.04.51.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 04 Mar 2019 04:51:04 -0800 (PST) From: Josef Lusticky To: thierry.reding@gmail.com, daniel@ffwll.ch, dri-devel@lists.freedesktop.org Subject: [RFC PATCH 2/2] dt-bindings: panel: Add Ilitek ILI9341 panel documentation Date: Mon, 4 Mar 2019 13:50:33 +0100 Message-Id: <20190304125033.28841-3-josef@lusticky.cz> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190304125033.28841-1-josef@lusticky.cz> References: <20190304125033.28841-1-josef@lusticky.cz> MIME-Version: 1.0 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lusticky.cz; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Xl/D710z9xNFSIjgOO0IYhR1gaRoE9saHZWfVBFbHYo=; b=NTSKIRA4YNLDu5CLpfCvv3pbaLTJ5tIl7Dq9LiyLmIkUxjYv1xgoOJy+sEumntBp3X BXjLR1HxL8lkiKk2hmSrbzDBy/jIM/Vm6XFDqxhrRTJvVRe/LSAwpHSFEC+9GAVC6qLb HTYnWxokIlsH1uQTiLNZ3xVgWFbLzz8mEEWIRQt0/KnZoZroFYOuorlxxAhwXKH2ZFYh kk0Jl9yICQIvmuSD4XPqTib5Iejtaf8VQUmTAX0PD9lqrE1PGvH/TMpP80Y32pdqUjjG Mjel7/njbCC7oA/+a3bMRXAl/84cDDzPyZZgYSjpjl6eAM+c+8pjBENVU46KtVaejFtf Ry+Q== 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: maxime.ripard@bootlin.com, airlied@linux.ie, Josef Lusticky , devicetree@vger.kernel.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP --- .../bindings/display/panel/ilitek,ili9341.txt | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/ilitek,ili9341.txt diff --git a/Documentation/devicetree/bindings/display/panel/ilitek,ili9341.txt b/Documentation/devicetree/bindings/display/panel/ilitek,ili9341.txt new file mode 100644 index 000000000000..4e0e483bc12e --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/ilitek,ili9341.txt @@ -0,0 +1,33 @@ +Ilitek ILI9341 TFT panel driver with SPI control bus + +This is a driver for 240x320 TFT panels with parallel RGB color input. + +Required properties: + - compatible: "displaytech,dt024ctft", "ilitek,ili9341" + - backlight: phandle of the backlight device attached to the panel + +Optional properties: + - dc-gpios: a GPIO spec for the Data/Command pin, see gpio/gpio.txt + - reset-gpios: a GPIO spec for the reset pin, see gpio/gpio.txt + +The panel must obey the rules for a SPI slave device as specified in +spi/spi-bus.txt + +The device node can contain one 'port' child node with one child +'endpoint' node, according to the bindings defined in +media/video-interfaces.txt. This node should describe panel's video bus. + +Example: + +panel@0 { + compatible = "displaytech,dt024ctft", "ilitek,ili9341"; + reg = <0>; + backlight = <&backlight>; + dc-gpios = <&pio 4 9 GPIO_ACTIVE_HIGH>; + + port { + panel_in: endpoint { + remote-endpoint = <&display_out>; + }; + }; +};