From patchwork Fri Jul 5 16:42:20 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: 168582 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp3791872ilk; Fri, 5 Jul 2019 09:42:50 -0700 (PDT) X-Google-Smtp-Source: APXvYqx7/qfKgAkEigueIdWvd8UF+ORU+dikvM2EMLvk/Z4CEjG7k229lWPFvYwBTW+h3FFP2LdU X-Received: by 2002:a63:4518:: with SMTP id s24mr6643819pga.123.1562344970319; Fri, 05 Jul 2019 09:42:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562344970; cv=none; d=google.com; s=arc-20160816; b=erC3ZW/1uExe1sMdXSpZujsqvFmt1JrsnI28KVAlHAvm0wj1LII18lOHJfLGqN7OtR ZIi/dGgPIOiQcXKGBWZZfxvTZpro+izvEnEDwNm8k/OHUZzSKpT05mGVRzqe+0HrpjqR 6fUqCrEYRDG8xfX0YT90UAV6QzKcgKW3g7Fbm15iXXpxtXyTzq4gdvKGKJlbQPFqe+qF zsQOPQRpEAatAWwm9w4BHEN04cOEWvnp8y6PrCze87iqOYzWHMtTKw4bNaXEPwDSQZAe s5yB0yjslBoaLPefr0OWC/lfJzK96KK7B7yeLXI/nLKrV/HFy+N5O6rJL3wPTbOiDcBG TqHQ== 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=E85aB5RpOwld+JV24sKXDk1IMzl9UKxXkTFv9SKdcvs=; b=b9xoaPMudAF5Vhr+Q19r1iVL746lAsL6GxO51OH4Pm6c54Sfr75FycJTxw6bW/iN+Q qDiQci+kccWc5bTD4w4cmF3QlpLCvYC8K66a0ZReCMu6mS/91ZFBb7/Gd05SSCZctZha F4w4Mco5ciRQd0s4uClY+iOT1GaCiE6qV+xfIpEMF+b9uq4WnnybiCVj+GNgq1G5u9xI SmtT2oTDLjPWzykoORg6F++VZ5XGSBgSaAuLZkZMtdjERZnyNh+Q1xb05jBbZzdXbQzu ZAJn3PHkBNTjihDdlnT5lrdrlkjDia9fm9Az489ALZrjb6oG8TuD0pOQE2gY2WTlNmFh vfVg== 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 u19si9707035pgb.148.2019.07.05.09.42.50 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 05 Jul 2019 09:42:50 -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 29CDE6E517; Fri, 5 Jul 2019 16:42:48 +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 B56636E516 for ; Fri, 5 Jul 2019 16:42:45 +0000 (UTC) Received: by mail-io1-f68.google.com with SMTP id j5so974892ioj.8 for ; Fri, 05 Jul 2019 09:42:45 -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=MqMTUG9wusta6WwgMcwAagT6tLykgnN6pCm15C73X54=; b=UwxDd/Ma1aqTVP/FNfD+AR37JAhdd01o69PFVsvjlIJvjF2xoFz5iIe7CSKWTVLinG 9+KBXNCKCLXLD494g+qV4zWFDlW5z7ghYwm3/8HTue6YdGjnlXNL00MUKvAyW4ONhEpT GdnujKh9O0v8Um1poAc17xi0DY1qXQi63fIw5u9DPmeolLwTZ7kSSaU6w7wQSKyEN4h1 7EUZNAEz76UlRUhWSR/VZY2vdrc6rPB2mFh23TDhqJm1faiE2KKKtcSNcPYTxv8QCAIr U7Q+ouSErO9tZXfrOR8cjiYMQoO5n2hNwNLOz6OLJFCvrYN8lBH4RWu3koVfX+AMNuOz JXsw== X-Gm-Message-State: APjAAAW+VBe0eZuPp5Ow6/kvoRoPhNnJKWVLf+81MCtrk+3fg9yEcYEL LgpbgvMQpMi8RJ3YHkiMO88j7aw= X-Received: by 2002:a5e:8913:: with SMTP id k19mr4963873ioj.155.1562344964310; Fri, 05 Jul 2019 09:42:44 -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.43 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Fri, 05 Jul 2019 09:42:43 -0700 (PDT) From: Rob Herring To: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org Subject: [PATCH v3 12/13] dt-bindings: display: Convert mitsubishi, aa121td01 panel to DT schema Date: Fri, 5 Jul 2019 10:42:20 -0600 Message-Id: <20190705164221.4462-13-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 , Thierry Reding , Sam Ravnborg , linux-kernel@vger.kernel.org, Laurent Pinchart Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Convert the mitsubishi,aa121td01 LVDS panel binding to DT schema. Cc: Thierry Reding Cc: Sam Ravnborg Cc: Laurent Pinchart Reviewed-by: Maxime Ripard Signed-off-by: Rob Herring --- .../display/panel/mitsubishi,aa121td01.txt | 47 ------------ .../display/panel/mitsubishi,aa121td01.yaml | 74 +++++++++++++++++++ 2 files changed, 74 insertions(+), 47 deletions(-) delete mode 100644 Documentation/devicetree/bindings/display/panel/mitsubishi,aa121td01.txt create mode 100644 Documentation/devicetree/bindings/display/panel/mitsubishi,aa121td01.yaml diff --git a/Documentation/devicetree/bindings/display/panel/mitsubishi,aa121td01.txt b/Documentation/devicetree/bindings/display/panel/mitsubishi,aa121td01.txt deleted file mode 100644 index d6e1097504fe..000000000000 --- a/Documentation/devicetree/bindings/display/panel/mitsubishi,aa121td01.txt +++ /dev/null @@ -1,47 +0,0 @@ -Mitsubishi AA121TD01 LVDS Display Panel -======================================= - -The AA121TD01 is a 12.1" WXGA TFT-LCD display panel. - -These DT bindings follow the LVDS panel bindings defined in panel-lvds.txt -with the following device-specific properties. - - -Required properties: - -- compatible: Shall contain "mitsubishi,aa121td01" and "panel-lvds", in that - order. -- vcc-supply: Reference to the regulator powering the panel VCC pins. - - -Example -------- - -panel { - compatible = "mitsubishi,aa121td01", "panel-lvds"; - vcc-supply = <&vcc_3v3>; - - width-mm = <261>; - height-mm = <163>; - - data-mapping = "jeida-24"; - - panel-timing { - /* 1280x800 @60Hz */ - clock-frequency = <71000000>; - hactive = <1280>; - vactive = <800>; - hsync-len = <70>; - hfront-porch = <20>; - hback-porch = <70>; - vsync-len = <5>; - vfront-porch = <3>; - vback-porch = <15>; - }; - - port { - panel_in: endpoint { - remote-endpoint = <&lvds_encoder>; - }; - }; -}; diff --git a/Documentation/devicetree/bindings/display/panel/mitsubishi,aa121td01.yaml b/Documentation/devicetree/bindings/display/panel/mitsubishi,aa121td01.yaml new file mode 100644 index 000000000000..977c50a85b67 --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/mitsubishi,aa121td01.yaml @@ -0,0 +1,74 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/mitsubishi,aa121td01.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Mitsubishi AA121TD01 12.1" WXGA LVDS Display Panel + +maintainers: + - Laurent Pinchart + - Thierry Reding + +allOf: + - $ref: lvds.yaml# + +properties: + compatible: + items: + - const: mitsubishi,aa121td01 + - {} # panel-lvds, but not listed here to avoid false select + + vcc-supply: + description: Reference to the regulator powering the panel VCC pins. + + data-mapping: + const: jeida-24 + + width-mm: + const: 261 + + height-mm: + const: 163 + + panel-timing: true + port: true + +additionalProperties: false + +required: + - compatible + - vcc-supply + +examples: + - |+ + panel { + compatible = "mitsubishi,aa121td01", "panel-lvds"; + vcc-supply = <&vcc_3v3>; + + width-mm = <261>; + height-mm = <163>; + + data-mapping = "jeida-24"; + + panel-timing { + /* 1280x800 @60Hz */ + clock-frequency = <71000000>; + hactive = <1280>; + vactive = <800>; + hsync-len = <70>; + hfront-porch = <20>; + hback-porch = <70>; + vsync-len = <5>; + vfront-porch = <3>; + vback-porch = <15>; + }; + + port { + panel_in: endpoint { + remote-endpoint = <&lvds_encoder>; + }; + }; + }; + +...