From patchwork Fri Jul 5 16:42:18 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: 168580 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp3791817ilk; Fri, 5 Jul 2019 09:42:47 -0700 (PDT) X-Google-Smtp-Source: APXvYqxvRUGwa2hqT7U7QR3ZGkRsRBUSNIMRZMD3AM3TncyxC+d0sK2owNMuZGR6x1EeUdEM+01n X-Received: by 2002:a17:90a:380d:: with SMTP id w13mr6644906pjb.138.1562344967037; Fri, 05 Jul 2019 09:42:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562344967; cv=none; d=google.com; s=arc-20160816; b=AwygX9xhz0h934dFjUYtNyK0GOmouvC6i2n97qCqQP+qvxZYIdyALMwZWXNuQGm9KP UUX2Qut7nbNK9GuHpr6SKhO9Z/xFBEL8271dM+T3Y9DQiaivXEPLJvGi/n1PF2U66fGm 7Wh80bE66RN7abjP9zLSiKGsDN8thCK3iTR1n5ARKVVwVTkzHhK+eXbe1Be28ZJksHku wJDOzwJQOf8oyzuXhqMiPl70pBDLUSs/NzboWi4hJwi7bRmNzDJJ5UV/OgGxiZb5ww5d n6TI2arheXM5hFEn2J0rhHdD0NB3Uyd24omF7U4ut+vR5nJhSozxJYGVO8joH0LQpBoN Phig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:delivered-to; bh=LJJACPb1bxwsH6z/H3r6yQmzU3TFL8llvT2xBWDaRR4=; b=hhPHQTufQXXHWw+9gdap4kVyiGJVDHdz6SEexDKfX7ggv2ZVDIUcvneFxJtosiVmLh 8v7iVvFHPRmdkU+HjgSYt6dmwNlC53YstSxToll74VHGAx1ur1ePjmuoxdFqnClrsIk/ jnZOEQJbcZGqLBJ4acKZrOWx8H4FUzq0tPz5ILaCe4eKCHcxNhvL3xpd/P0wWa3YRAu2 RXaONswS07aXksfpjo/CNcSgEDiwjkORcOgi4VyOakSrf1niyEhobJt1tjyFrQI5e3sf ROBW52AN84ELvLCFx3moF1sencUS9u3KjX3VrxCFxG1hswng4J/5qF7YfQ/fLxJOcU03 2eRw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id k33si8089807pgi.563.2019.07.05.09.42.46 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 05 Jul 2019 09:42:47 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 17A6F6E513; Fri, 5 Jul 2019 16:42:45 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-io1-f68.google.com (mail-io1-f68.google.com [209.85.166.68]) by gabe.freedesktop.org (Postfix) with ESMTPS id 80D8C6E514 for ; Fri, 5 Jul 2019 16:42:42 +0000 (UTC) Received: by mail-io1-f68.google.com with SMTP id z3so5404177iog.0 for ; Fri, 05 Jul 2019 09:42:42 -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=FoIk+rbFwPJ/lDbdbtoXks82bIuWeLHVYlyQ0/EsZZU=; b=SqhtluD3ZNKIUFS9L0yLwRdGtVk+VnIJg2u8oMSR3dpCZcmnP9yaYMQFFgfI461nmx u7QkWAkb1IbZP8u2yhIapVPZCWKUHjW6BGBF4C6khPRSpQuzSVQ/LMJwXSO5Gd13A2gZ VruvGilydb4pGHhiWGazDhJfZWb9QFBUk9R4OPiVDsOEwenRcNy6huXSbDIBa24tNHEw rdxolFKBDs+SSz/QHvHEGVL5xTTTvtpGEkMvnG5FqxOs4lHvhttVUFaP0XV6A24wLRqO hsQZ8STJzSHQETvc7FLhQp3nJraxVfChq+Iyb35GMSHV22dNDsQyjbNcTEw1Z9RW5Jkd Dm6w== X-Gm-Message-State: APjAAAWAsAbJx7aNvpTEMAG+isIeNJ5I6p6gbLqB7+DHe6hWgeIFrC+t tLhdzIdwS32O0EQbHM04zPA4Gz4= X-Received: by 2002:a5d:9f4a:: with SMTP id u10mr4984238iot.243.1562344961433; Fri, 05 Jul 2019 09:42:41 -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.39 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Fri, 05 Jul 2019 09:42:40 -0700 (PDT) From: Rob Herring To: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org Subject: [PATCH v3 10/13] dt-bindings: display: Convert innolux, ee101ia-01 panel to DT schema Date: Fri, 5 Jul 2019 10:42:18 -0600 Message-Id: <20190705164221.4462-11-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 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 , linux-kernel@vger.kernel.org, Thierry Reding , Laurent Pinchart , Thierry Reding , Sam Ravnborg Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Convert the innolux,ee101ia-01 LVDS panel binding to DT schema. 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 --- .../display/panel/innolux,ee101ia-01d.txt | 7 ----- .../display/panel/innolux,ee101ia-01d.yaml | 31 +++++++++++++++++++ 2 files changed, 31 insertions(+), 7 deletions(-) delete mode 100644 Documentation/devicetree/bindings/display/panel/innolux,ee101ia-01d.txt create mode 100644 Documentation/devicetree/bindings/display/panel/innolux,ee101ia-01d.yaml diff --git a/Documentation/devicetree/bindings/display/panel/innolux,ee101ia-01d.txt b/Documentation/devicetree/bindings/display/panel/innolux,ee101ia-01d.txt deleted file mode 100644 index e5ca4ccd55ed..000000000000 --- a/Documentation/devicetree/bindings/display/panel/innolux,ee101ia-01d.txt +++ /dev/null @@ -1,7 +0,0 @@ -Innolux Corporation 10.1" EE101IA-01D WXGA (1280x800) LVDS panel - -Required properties: -- compatible: should be "innolux,ee101ia-01d" - -This binding is compatible with the lvds-panel binding, which is specified -in panel-lvds.txt in this directory. diff --git a/Documentation/devicetree/bindings/display/panel/innolux,ee101ia-01d.yaml b/Documentation/devicetree/bindings/display/panel/innolux,ee101ia-01d.yaml new file mode 100644 index 000000000000..a69681e724cb --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/innolux,ee101ia-01d.yaml @@ -0,0 +1,31 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/innolux,ee101ia-01d.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Innolux Corporation 10.1" EE101IA-01D WXGA (1280x800) LVDS panel + +maintainers: + - Heiko Stuebner + - Thierry Reding + +allOf: + - $ref: lvds.yaml# + +properties: + compatible: + items: + - const: innolux,ee101ia-01d + - {} # panel-lvds, but not listed here to avoid false select + + backlight: true + enable-gpios: true + power-supply: true + width-mm: true + height-mm: true + panel-timing: true + port: true + +additionalProperties: false +...