From patchwork Mon Jun 24 21:56:48 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: 167661 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp4733545ilk; Mon, 24 Jun 2019 14:59:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqxqyWbcyRctA1N/JRSF8b6sWdHnEotAPOQlM1Iy7JShubD88dTDKh1mhczvvrmRutbHX/7m X-Received: by 2002:a17:902:d695:: with SMTP id v21mr129566496ply.342.1561413565442; Mon, 24 Jun 2019 14:59:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561413565; cv=none; d=google.com; s=arc-20160816; b=F0ZrqJm53ytPK+QXbhJeWvj6Fg5gZCgZMUugyD8uAt6q2xIew6iC/1AbKYVxyVK7WT Wabnn2Fuy32kAZAXnZC76r1EPryq9xcWe9IY2DnUupdR9YBUZ0WIvoG8M+P8JLREUM5j hTDANsis2AO/rR94NCPSjGTAyV5FIKBZ9lF/xEJGOBukMAUAnAnFkGyVvLJPplmoqjmq woqYms2GY+pGh8T8o8U8Fgl6EDR9o8p9CP5wtm6IkuYT07g9ZqoaRrsIEQyFPsq0fqpA d7X8Pt7qVwUTOKnu9RQcZy9MqzyY3Yfjtz3oX4uovIv4N+jFnyzXZHsx1JBEa7vn9J6w R6FA== 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=+Z2UKVw9wR+nM3C1smoMCBCX/v7ccCU9RTU41ZXWQi8=; b=nrL3TZhMBNl7XE7Z4e+odXmajdlUcEp9iIMnXBqTrKFXTxwmSQa39f9v0DWRZZCYLb K9O1VwBw1x7sVHeD30QN9p9LWqK7KLCjaXecpk9nGd6gYGG+SFZkWzzglTbdtybqKJFf s8I6Q4kRM9KVniS9g9ZuHF2cf1O2zEiwJnC19BQbV75q8fxJan1oKLpURpNIohdfCrHx QCizry+sULg91j5917jzeFT8G3EmW9up/LlaXvGUNLr8j5pcdNonMR/eYBL1Go8LXPLB N07f7qHvJOcd0H65OLtXJQZomroyrj5b43xx+8fQTZ/N9/6CbJoJHlY4d1sKKQPMqsKp Kz/w== 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 h32si12449561pld.402.2019.06.24.14.59.25; Mon, 24 Jun 2019 14:59:25 -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 S1732830AbfFXV7X (ORCPT + 30 others); Mon, 24 Jun 2019 17:59:23 -0400 Received: from mail-io1-f66.google.com ([209.85.166.66]:37384 "EHLO mail-io1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732744AbfFXV7O (ORCPT ); Mon, 24 Jun 2019 17:59:14 -0400 Received: by mail-io1-f66.google.com with SMTP id e5so506980iok.4; Mon, 24 Jun 2019 14:59:14 -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=+Z2UKVw9wR+nM3C1smoMCBCX/v7ccCU9RTU41ZXWQi8=; b=SpTtogjqmN4bX90q7b/DuB8p4t9Aa5kgHgv9CuQIoLi1eZCHDYyfc7tWQIsijmsRLf at2AIwar/FWOCnwv61RpfY0s6ZKckNJNvGoqpbjBNgUO/XxiCJmC1bYxIJhB8kyTGnGW HTvyEH/8zcKY329aKy2FWuWDa8uwZL5VfhzpJGYNF1pqntXfA+KFsEWteb3eJSV5WsIF H0AOBKjGa/piA0oq7tdOt4v+ZouncQH4WJHOFXJr19QDu8914hxLW6cE4QJE4Wv8hzL0 vdHoUFNqoYdakhQidq7qNTdXpWXGkWEewmx0vbGoqRLn4/pWxUJ/A8cDtypvb9V3wgkV JBvg== X-Gm-Message-State: APjAAAX81Ni40xnlGmKMNJpVUZaZmecGSGXMfStTtC9oV4ILX/tisSHi jIq/CrDJjfqld093M1F0Mw== X-Received: by 2002:a6b:f00c:: with SMTP id w12mr4135540ioc.280.1561413553707; Mon, 24 Jun 2019 14:59:13 -0700 (PDT) Received: from localhost.localdomain ([64.188.179.247]) by smtp.googlemail.com with ESMTPSA id l5sm14717301ioq.83.2019.06.24.14.59.12 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 24 Jun 2019 14:59:13 -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: [PATCH v2 14/15] dt-bindings: display: Convert mitsubishi, aa121td01 panel to DT schema Date: Mon, 24 Jun 2019 15:56:48 -0600 Message-Id: <20190624215649.8939-15-robh@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190624215649.8939-1-robh@kernel.org> References: <20190624215649.8939-1-robh@kernel.org> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Convert the mitsubishi,aa121td01 LVDS panel binding to DT schema. Cc: Thierry Reding Cc: Sam Ravnborg Cc: Maxime Ripard Cc: Laurent Pinchart Signed-off-by: Rob Herring --- .../display/panel/mitsubishi,aa121td01.txt | 47 ------------- .../display/panel/mitsubishi,aa121td01.yaml | 69 +++++++++++++++++++ 2 files changed, 69 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 -- 2.20.1 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..68750d8f0aef --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/mitsubishi,aa121td01.yaml @@ -0,0 +1,69 @@ +# 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 + +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>; + }; + }; + }; + +...