From patchwork Fri Jul 5 16:42:10 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Rob Herring \(Arm\)" X-Patchwork-Id: 168572 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp3791527ilk; Fri, 5 Jul 2019 09:42:30 -0700 (PDT) X-Google-Smtp-Source: APXvYqzrK2Rf3SVLZSmgL6WL4fBcOasdl/a3REbBWn0XJftVvi1CEN0tE7sV/pdusOtM8U0XJbIw X-Received: by 2002:a63:1657:: with SMTP id 23mr6158376pgw.98.1562344949848; Fri, 05 Jul 2019 09:42:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562344949; cv=none; d=google.com; s=arc-20160816; b=qwchbIHda+kQ8Jjkg6q4tcJJJyQYGrZzdySRnQSwOVOksMA4m7SiDVNUp4OS4udYBJ Pb0uCEqJpc6dlPAQsFtMcrNQousAHygROg/JKXXD1KWoMecPdcVS9hSsSo6/KvNHWora V9Y0WCXWxh/aAVTdo38pHaooq5O3KGMJ76QGC/vSPguBnQ3oULa9CTmNGfugCEL/e5lP zh1EzVXXeu0e6C4m0TSbXdKw07Hgr9kYO3fZ+0p/Iwbv8X9R7tF2pkM0D1q8a48aoqu9 5mbxKQYdoRQwndbtMAcqezw7pRObMWmbsQNyF9h5YidaZVALNvyss5J7yJmxi6+tkZYe DMBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=EsofIvvvlgyPGjRrCqOhd2B5EfQ76NdrYwJSPILmUYU=; b=UQXCLyivpgo0sxmshl0T1S5tYauCPd6QuYQ4P9o7HIm1TCaD1YH7VpZZt73QkfmqCe Ciu1chZH68WgJmaMnhhDhfXWqho6AAam2No/q2tMc0tf+mLUebq/umYSHO0TXbvQSEf0 bhyv02XrMW8NQrNtoZVaF4s9kZ5cAI1VXmPUoT8N+rH1+jg16p/vxFfc60y4cEKM+08r UnKdkwzd21UY5eeOa822GoIHVGb0NldX1tbv0dDyd7The9H5dm6R4m+Fv/TATWB49jPQ a3nY84BvA82Yq/3BLKbs/c9KqBFb9XSg87+WSgG9mW6jDBt3vIBqhcAr5tUnW55EIOn9 u2Pg== ARC-Authentication-Results: i=1; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w2si9806821pgr.396.2019.07.05.09.42.29; Fri, 05 Jul 2019 09:42:29 -0700 (PDT) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728610AbfGEQm3 (ORCPT + 8 others); Fri, 5 Jul 2019 12:42:29 -0400 Received: from mail-io1-f65.google.com ([209.85.166.65]:32880 "EHLO mail-io1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728606AbfGEQm1 (ORCPT ); Fri, 5 Jul 2019 12:42:27 -0400 Received: by mail-io1-f65.google.com with SMTP id z3so5402460iog.0; Fri, 05 Jul 2019 09:42:27 -0700 (PDT) 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=EsofIvvvlgyPGjRrCqOhd2B5EfQ76NdrYwJSPILmUYU=; b=l68kmPE5f51uPNzoC7MuOOjl8L1Y4fLjN+zPtU54en2+iejrlN//P3yf1E0FKqXPmO LL3A7cHFGkw8I5290Kf35fF4rLzhYg67CbOuuJAkV3IQUWRQUhQXjjJjL/xiIVwpStb9 zaRav6uflKrztshxiG2PTwV7M6x0x6YiMazZ3UjJPoVzhTFJl9oS/XvwirqI6rVYm9Mp /49hoRge4K9rx42hzeh+ZjGx3Trxxj+h/sDuoYwy/W49EklLrlEsd58KRw5vGzIOBikR gjZLLisKtsGGAkxlR2nV7iMFCtJG+wPt/pHVB5sO3nR6QxZ4KRrz/T79x3r2MJxem6LK kvFw== X-Gm-Message-State: APjAAAV33psm96twaWPoVhuBq9KI6blfEpFypVhP44V/JCB++H+0v/rb 3BU9BQt0zfB8OuS/ZmqRXA== X-Received: by 2002:a6b:dd18:: with SMTP id f24mr3652278ioc.97.1562344946800; Fri, 05 Jul 2019 09:42:26 -0700 (PDT) Received: from xps15.herring.priv ([64.188.179.252]) by smtp.googlemail.com with ESMTPSA id b8sm6878104ioj.16.2019.07.05.09.42.25 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Fri, 05 Jul 2019 09:42:25 -0700 (PDT) From: Rob Herring To: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Thierry Reding , Sam Ravnborg , Maxime Ripard , Laurent Pinchart , Yannick Fertre , Thierry Reding Subject: [PATCH v3 02/13] dt-bindings: display: Convert ampire, am-480272h3tmqw-t01h panel to DT schema Date: Fri, 5 Jul 2019 10:42:10 -0600 Message-Id: <20190705164221.4462-3-robh@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190705164221.4462-1-robh@kernel.org> References: <20190705164221.4462-1-robh@kernel.org> MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Convert the ampire,am-480272h3tmqw-t01h panel binding to DT schema. Cc: Yannick Fertre Cc: Thierry Reding Cc: Sam Ravnborg Cc: Laurent Pinchart Cc: dri-devel@lists.freedesktop.org Reviewed-by: Maxime Ripard Acked-by: Thierry Reding Signed-off-by: Rob Herring --- .../panel/ampire,am-480272h3tmqw-t01h.txt | 26 ------------ .../panel/ampire,am-480272h3tmqw-t01h.yaml | 42 +++++++++++++++++++ 2 files changed, 42 insertions(+), 26 deletions(-) delete mode 100644 Documentation/devicetree/bindings/display/panel/ampire,am-480272h3tmqw-t01h.txt create mode 100644 Documentation/devicetree/bindings/display/panel/ampire,am-480272h3tmqw-t01h.yaml -- 2.20.1 diff --git a/Documentation/devicetree/bindings/display/panel/ampire,am-480272h3tmqw-t01h.txt b/Documentation/devicetree/bindings/display/panel/ampire,am-480272h3tmqw-t01h.txt deleted file mode 100644 index 6812280cb109..000000000000 --- a/Documentation/devicetree/bindings/display/panel/ampire,am-480272h3tmqw-t01h.txt +++ /dev/null @@ -1,26 +0,0 @@ -Ampire AM-480272H3TMQW-T01H 4.3" WQVGA TFT LCD panel - -This binding is compatible with the simple-panel binding, which is specified -in simple-panel.txt in this directory. - -Required properties: -- compatible: should be "ampire,am-480272h3tmqw-t01h" - -Optional properties: -- power-supply: regulator to provide the supply voltage -- enable-gpios: GPIO pin to enable or disable the panel -- backlight: phandle of the backlight device attached to the panel - -Optional nodes: -- Video port for RGB input. - -Example: - panel_rgb: panel-rgb { - compatible = "ampire,am-480272h3tmqw-t01h"; - enable-gpios = <&gpioa 8 1>; - port { - panel_in_rgb: endpoint { - remote-endpoint = <&controller_out_rgb>; - }; - }; - }; diff --git a/Documentation/devicetree/bindings/display/panel/ampire,am-480272h3tmqw-t01h.yaml b/Documentation/devicetree/bindings/display/panel/ampire,am-480272h3tmqw-t01h.yaml new file mode 100644 index 000000000000..c6e33e7f36d0 --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/ampire,am-480272h3tmqw-t01h.yaml @@ -0,0 +1,42 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/ampire,am-480272h3tmqw-t01h.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Ampire AM-480272H3TMQW-T01H 4.3" WQVGA TFT LCD panel + +maintainers: + - Yannick Fertre + - Thierry Reding + +allOf: + - $ref: panel-common.yaml# + +properties: + compatible: + const: ampire,am-480272h3tmqw-t01h + + power-supply: true + enable-gpios: true + backlight: true + port: true + +required: + - compatible + +additionalProperties: false + +examples: + - | + panel_rgb: panel { + compatible = "ampire,am-480272h3tmqw-t01h"; + enable-gpios = <&gpioa 8 1>; + port { + panel_in_rgb: endpoint { + remote-endpoint = <&controller_out_rgb>; + }; + }; + }; + +... From patchwork Fri Jul 5 16:42:16 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Rob Herring \(Arm\)" X-Patchwork-Id: 168577 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp3791709ilk; Fri, 5 Jul 2019 09:42:40 -0700 (PDT) X-Google-Smtp-Source: APXvYqwOly5HlXbrJgaLT40/UhEClPEPeACgv2mpIgXqStiJKb472kYRR1EWOoPvV96k4gDzMDPs X-Received: by 2002:a65:5888:: with SMTP id d8mr6405167pgu.124.1562344960448; Fri, 05 Jul 2019 09:42:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562344960; cv=none; d=google.com; s=arc-20160816; b=gp+4xTS7IzX0qQkoNoDmm/2TohZ8uaXxmerwYOO54R+dWvj6QL+7t8ZXNc95hkEwow f2oRpmnoS8ovhHk9+X+ecC9Mzo11H3UpXFUsibfOfahMGln0Tpt8Ljh/NDEykOQRrTXr 2znrIY6FJci5PzfE3TgKwe2iy6mtM3W03KitdhEOAdPIrxDXmUznSGIavzMvwvIqBE35 n6pTaHNk/H/Lf9//3SWhkgcuRwI37e4zELDEOh9aWDvKsHP+Ikh8LPxHtvNwZDgvqcEA 31UjbWvhiCPX944LgA/gpDOyDCNyN4dZftBprOLgSs1Igg/B1/1pq0X8hlRCCrPWNHsR 1Bqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=2tWKOZQN5j63GOMW8bPg2YdYLUphNbaDT5/UX97P/uo=; b=Tz7XJO+IEdKxuldIXW554E+4OMV2nykouFJDHoTgDBvUpa+XQuH9MTEoaUK6SITpf4 OkeP4FC3o2oItNLFsCUhLN2ENfOEEgxXWz1R7QqxRNCOXu8L0TsKjiQdOCaMETxWq2gA DuVQip3qv0dOL22hu0nioGpmBSao2LzE60lpQ2pQgo2Y5UflyEuhtIz8OnH+UJa80j9w QnWkeTaH1OCoA8jV4ADYiO+b4LDDCCJ0YLTf3A0EUF5uFwsYL0FA/sy87KcF56QTR/PC Icx6Ej3MymWiMwsilqiO2jt73ifqqUgs6oGnX6p6xFEgVhytSP5n17dFuO2mztBY2rsF g67g== ARC-Authentication-Results: i=1; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 185si9662809pfg.194.2019.07.05.09.42.40; Fri, 05 Jul 2019 09:42:40 -0700 (PDT) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728657AbfGEQmj (ORCPT + 8 others); Fri, 5 Jul 2019 12:42:39 -0400 Received: from mail-io1-f67.google.com ([209.85.166.67]:36631 "EHLO mail-io1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728709AbfGEQmj (ORCPT ); Fri, 5 Jul 2019 12:42:39 -0400 Received: by mail-io1-f67.google.com with SMTP id o9so4772887iom.3; Fri, 05 Jul 2019 09:42:38 -0700 (PDT) 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=2tWKOZQN5j63GOMW8bPg2YdYLUphNbaDT5/UX97P/uo=; b=OFUU90HEh7wkf/2ctinZpa9cgZRdSl5a6d8ucxAkiUIiDR+ZKcEHHKEBExyOdEw6X8 l134KhNcYhva0eW2kt2k19p+82w1HnUtKam4+iegiwkRGPYx5Pn7yr4ndW/zfWJe/H90 fApwINc/fPu9GQ6idZaL6xQUEz69vrcy7mqcD7Sab2Kxd0kF8uBOYFqcIfghOyUUFKzO nhlOlicc5fRJcqXMpH+/TaDaAxJ6r8xb7Hweo9F1ezeMYxWpTrLwEpEM6Dro+f6fdV1c qVl9oL5zla1BiJp7upA2cFlrh7Gy3cMYN5+2HL2nPiQyUaKmsoC5qPoeMoNGc0w+pRi3 FDlg== X-Gm-Message-State: APjAAAXO40SII7FvQiWJKMW1M/12vKfxuBTt56gNzNs4p4l9A9Wdnu60 vDc+svP5ntunr8PxzSH69Q== X-Received: by 2002:a5d:8890:: with SMTP id d16mr2919578ioo.274.1562344958138; Fri, 05 Jul 2019 09:42:38 -0700 (PDT) Received: from xps15.herring.priv ([64.188.179.252]) by smtp.googlemail.com with ESMTPSA id b8sm6878104ioj.16.2019.07.05.09.42.36 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Fri, 05 Jul 2019 09:42:37 -0700 (PDT) From: Rob Herring To: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Thierry Reding , Sam Ravnborg , Maxime Ripard , Laurent Pinchart , Heiko Stuebner Subject: [PATCH v3 08/13] dt-bindings: display: Convert tfc, s9700rtwv43tr-01b panel to DT schema Date: Fri, 5 Jul 2019 10:42:16 -0600 Message-Id: <20190705164221.4462-9-robh@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190705164221.4462-1-robh@kernel.org> References: <20190705164221.4462-1-robh@kernel.org> MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Convert the tfc,s9700rtwv43tr-01b panel binding to DT schema. Cc: Heiko Stuebner Cc: Thierry Reding Cc: Sam Ravnborg Cc: Laurent Pinchart Cc: dri-devel@lists.freedesktop.org Reviewed-by: Maxime Ripard Signed-off-by: Rob Herring --- .../display/panel/tfc,s9700rtwv43tr-01b.txt | 15 --------- .../display/panel/tfc,s9700rtwv43tr-01b.yaml | 33 +++++++++++++++++++ 2 files changed, 33 insertions(+), 15 deletions(-) delete mode 100644 Documentation/devicetree/bindings/display/panel/tfc,s9700rtwv43tr-01b.txt create mode 100644 Documentation/devicetree/bindings/display/panel/tfc,s9700rtwv43tr-01b.yaml -- 2.20.1 diff --git a/Documentation/devicetree/bindings/display/panel/tfc,s9700rtwv43tr-01b.txt b/Documentation/devicetree/bindings/display/panel/tfc,s9700rtwv43tr-01b.txt deleted file mode 100644 index dfb572f085eb..000000000000 --- a/Documentation/devicetree/bindings/display/panel/tfc,s9700rtwv43tr-01b.txt +++ /dev/null @@ -1,15 +0,0 @@ -TFC S9700RTWV43TR-01B 7" Three Five Corp 800x480 LCD panel with -resistive touch - -The panel is found on TI AM335x-evm. - -Required properties: -- compatible: should be "tfc,s9700rtwv43tr-01b" -- power-supply: See panel-common.txt - -Optional properties: -- enable-gpios: GPIO pin to enable or disable the panel, if there is one -- backlight: phandle of the backlight device attached to the panel - -This binding is compatible with the simple-panel binding, which is specified -in simple-panel.txt in this directory. diff --git a/Documentation/devicetree/bindings/display/panel/tfc,s9700rtwv43tr-01b.yaml b/Documentation/devicetree/bindings/display/panel/tfc,s9700rtwv43tr-01b.yaml new file mode 100644 index 000000000000..9e5994417c12 --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/tfc,s9700rtwv43tr-01b.yaml @@ -0,0 +1,33 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/tfc,s9700rtwv43tr-01b.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: TFC S9700RTWV43TR-01B 7" Three Five Corp 800x480 LCD panel with resistive touch + +maintainers: + - Jyri Sarha + - Thierry Reding + +description: |+ + The panel is found on TI AM335x-evm. + +allOf: + - $ref: panel-common.yaml# + +properties: + compatible: + const: tfc,s9700rtwv43tr-01b + + enable-gpios: true + backlight: true + port: true + +additionalProperties: false + +required: + - compatible + - power-supply + +...