Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp1164187ybi; Wed, 19 Jun 2019 14:54:29 -0700 (PDT) X-Google-Smtp-Source: APXvYqwMIxC1Ux1rFBGzLAzdKjBEQnxXaKR2p39fxv3uQeKOQb69nq+eJSX3jIKRHPqZrU9xmnxR X-Received: by 2002:a17:902:f087:: with SMTP id go7mr95211035plb.330.1560981268942; Wed, 19 Jun 2019 14:54:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560981268; cv=none; d=google.com; s=arc-20160816; b=xGUIlGX8sSDN4QwqPCtmced1NsIGU3CjYanNgn1SWY3LjwExZ2VyAusxJ4UcvWkBll 50lqMnLmLB7x7whrq93csf67q05SBbJqZzh2La345vWJMwlyue5VxSi2mn5WcTzKvE/F 8Aa0xsTIVDRsk3SOATDTlN5tq8RGfpwhshdlqTRZ+Mk0drnukgaEx/ExuTDyL5w+7ew0 M+kc0XFAu/gKWHeMZnYokofU1itTypDUc/PRLYFB3243/5jJfvv3j87C09PHBRlnC9cQ 1+ytmktKCSFCkgsBJmRv0x6ijdxsz5e5lNkzQuRET3p6m/HL4OtC8cNmZ69v42z7WT3R 7i+A== 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=/7RNl0V1WoARVRD/RxLj0SbJgldmEVIr2syT8aiqqBI=; b=yrzegs74HHWuj42/wBjm7wsnKY11wGbJInhdqDzsoNg3bARFt1Tka0EFHgmMV3lJNm 3nSNhddYyud8mC5IDwWIURXlnamSYsXuqv2WSO779ctZVT/RUKFe4C+PFrfukl1dVYHH +38YTVHJiU+jXiO9uaVbe65x5MQ0fbwu9EsvmueI9hnqfuvf4ISVVqznuakcziF3vdf8 e/Dn4nBUxMIP/1Yqpd0vfKWZ825CkEJp864ytSk5lVl+uCrqGUMUQntkiDTFYac+fwmG R1wpzSYYGrHT6CocR/HDviXjjutxUwRMQQ5vpnJ0KPQ+DIKVyYryXGS34TLz3PVDEfCE kpoQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 z5si17244656pfa.74.2019.06.19.14.54.13; Wed, 19 Jun 2019 14:54:28 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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 linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 S1730789AbfFSVwQ (ORCPT + 99 others); Wed, 19 Jun 2019 17:52:16 -0400 Received: from mail-io1-f67.google.com ([209.85.166.67]:33452 "EHLO mail-io1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730616AbfFSVwC (ORCPT ); Wed, 19 Jun 2019 17:52:02 -0400 Received: by mail-io1-f67.google.com with SMTP id u13so1248961iop.0; Wed, 19 Jun 2019 14:52:02 -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=/7RNl0V1WoARVRD/RxLj0SbJgldmEVIr2syT8aiqqBI=; b=XfxLaYAiI5x8hAnBhocjZm90A9Lg/0CTPLwCsTsgdAANDvmwRPCKJUfOGYAkZXaNmn IeaUEq2k1IVGrBYoQm1o4hx1xdNs0mQlUPVAMY1BlV92rIdHeLcCvgyOmqU594gPrj4s 8/9M+Sr0dBxCxIzbV+6iZUhtw4eBzD87q12Oqqa0ewKjryEQ+i1z4f9hdhNWbBB0cp68 L1CbkPd3hzlWCFmxbiaw9hSYPfvTFCIYn0TztdNVTPH3yZyzQhVhJpcjsMBQBz0jg6GL QezRKWE/fudI7t/0Y8yKVtP5fnqXc3/UeyRzuC4i1/urnZmeQbDhw0QMuuToOx2tD/Mm XeXQ== X-Gm-Message-State: APjAAAWBjY9YmLevzTfxahlqaef2f++wSAcwr+gfo5oa2GHehI9Sc/c7 OIZpfIGwhXrmDFlkO0U6rw== X-Received: by 2002:a5d:94d0:: with SMTP id y16mr42777142ior.123.1560981121583; Wed, 19 Jun 2019 14:52:01 -0700 (PDT) Received: from localhost.localdomain ([64.188.179.247]) by smtp.googlemail.com with ESMTPSA id e84sm37754698iof.39.2019.06.19.14.52.00 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Wed, 19 Jun 2019 14:52:01 -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 Subject: [RFC PATCH 2/4] dt-bindings: display: Convert ampire,am-480272h3tmqw-t01h panel to DT schema Date: Wed, 19 Jun 2019 15:51:54 -0600 Message-Id: <20190619215156.27795-2-robh@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190619215156.27795-1-robh@kernel.org> References: <20190619215156.27795-1-robh@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Convert the ampire,am-480272h3tmqw-t01h panel binding to DT schema. Cc: Thierry Reding Cc: Sam Ravnborg Cc: Maxime Ripard Cc: Laurent Pinchart Cc: dri-devel@lists.freedesktop.org Signed-off-by: Rob Herring --- .../panel/ampire,am-480272h3tmqw-t01h.txt | 26 ------------ .../panel/ampire,am-480272h3tmqw-t01h.yaml | 41 +++++++++++++++++++ 2 files changed, 41 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 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..cc2f6ec6ebf6 --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/ampire,am-480272h3tmqw-t01h.yaml @@ -0,0 +1,41 @@ +# 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: + - 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>; + }; + }; + }; + +... -- 2.20.1