Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp2909603ybd; Mon, 24 Jun 2019 15:11:41 -0700 (PDT) X-Google-Smtp-Source: APXvYqwy+BpkIK+pG/PCpZQIESZzlr0iqBd/xfrng3XOVSCsVYVFFdvWBXlAvdML39f0oBQFrWvP X-Received: by 2002:a17:90a:8a17:: with SMTP id w23mr5741252pjn.139.1561414300990; Mon, 24 Jun 2019 15:11:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561414300; cv=none; d=google.com; s=arc-20160816; b=oVQCa4utpdg6MwBqOmZYpE4WrB5mAHx+yAYqjRLzXpyS5zH/gTgi1+F3B2HW9lXJSQ 0DlGccPh+hCHFZwBsQj3wnzrm/aYE/TRUMPEs+3S0xVAT9p/sN6L8XmsKbQDHtPDfzXa J/ixDATada8jbj0IpcfXa0NCr3WNBfIyilg+bVvScPJSqYcfPXFKUrInjyannyEkG6My WQivsxhAf0jUIe9igyyvZCnqWgTeIJ5AxiW4EpSdxLEKC8u8ggf3oPigdvoHMWbXQJYg l8yg2qfA7sl7sdWvg/ZG3hkEbnlBmlBa3XKyL1cgrs8fDWlCPLPxx+igFORf8eXN+QuS plZg== 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=GFdFvbsDhPtM+T2pPl7/SqcPeksqsAg2JuxBKixkKqA=; b=pfUqpl66XaFkLwzFemRom3S7SiZPtoYhzfmhavtHSdIuK90p0T54DNZjqHMyLS7yhH 8mMzIPooEpV8GIAGl6JIeMk5gsX7NcN7zB+FHg+CNaadRXs+zVg2zvSg8jTuXeF0pCt0 gqjBiLKw1H+QOLOcbyKAf7Obmdi+U64sPaF5s9RE181xnObuBGb2JWwXn2aKEWX6V5pW JlcSYsa+vF1WEGPkIbl9GlLoYu+00Qkh5ZgfaS9AVea1sQEdtVhTPSlRo8dY1QTvYN9Y aglqxLuFuNToGuJGcp7lNCxql8X2xyz8pJHbrNQjO5RFy673LInK7IpNrOUEMbo8YxnN /glQ== 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 32si8656208pla.181.2019.06.24.15.11.25; Mon, 24 Jun 2019 15:11:40 -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 S1732801AbfFXV7T (ORCPT + 99 others); Mon, 24 Jun 2019 17:59:19 -0400 Received: from mail-io1-f65.google.com ([209.85.166.65]:40537 "EHLO mail-io1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732735AbfFXV7O (ORCPT ); Mon, 24 Jun 2019 17:59:14 -0400 Received: by mail-io1-f65.google.com with SMTP id n5so295287ioc.7; Mon, 24 Jun 2019 14:59:13 -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=GFdFvbsDhPtM+T2pPl7/SqcPeksqsAg2JuxBKixkKqA=; b=ckZ+F9gRBy+Z4LdsBZXYAF2bGbUE6B42RjZu+dyNleHbb4UL6v+1V/gVPNf9/e2riI iKV7HlcqWaTJ6g0LGIs6nkn7H6HVx6NP5+nYB0fiTg1kae6rMngXaQ9VsDQTm6fHjOzs r3qi9owLRAdZLPn5joJFFQ6aLMO/wIwljAeXPdYUcfULGslwcXZB3g7Iabf0BPsrIdLy d9eS5ywfDRGqTD8FlCfNUHzWZCGY0iG8QNUwYxCA1Pinm4lOhl9JcyTwFBLJ8KUYhaWj pHLml+0ls+OOjPXKMoYENKKLFsBi5ooDJmr3Y7dWX3R2GdB9KYLzl9KUgxG2jeBIZpsO UmNg== X-Gm-Message-State: APjAAAXJdLu+/0bY3r3KHRPoTeUkpU95zvE7inKyFOiQQPQtkSZLd0SY uv7/r3vix+3tP9lXvaXiGg== X-Received: by 2002:a5d:904e:: with SMTP id v14mr22328731ioq.61.1561413552627; Mon, 24 Jun 2019 14:59:12 -0700 (PDT) Received: from localhost.localdomain ([64.188.179.247]) by smtp.googlemail.com with ESMTPSA id l5sm14717301ioq.83.2019.06.24.14.59.11 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 24 Jun 2019 14:59:12 -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 13/15] dt-bindings: display: Convert mitsubishi,aa104xd12 panel to DT schema Date: Mon, 24 Jun 2019 15:56:47 -0600 Message-Id: <20190624215649.8939-14-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 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 mitsubishi,aa104xd12 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,aa104xd12.txt | 47 ------------ .../display/panel/mitsubishi,aa104xd12.yaml | 71 +++++++++++++++++++ 2 files changed, 71 insertions(+), 47 deletions(-) delete mode 100644 Documentation/devicetree/bindings/display/panel/mitsubishi,aa104xd12.txt create mode 100644 Documentation/devicetree/bindings/display/panel/mitsubishi,aa104xd12.yaml diff --git a/Documentation/devicetree/bindings/display/panel/mitsubishi,aa104xd12.txt b/Documentation/devicetree/bindings/display/panel/mitsubishi,aa104xd12.txt deleted file mode 100644 index ced0121aed7d..000000000000 --- a/Documentation/devicetree/bindings/display/panel/mitsubishi,aa104xd12.txt +++ /dev/null @@ -1,47 +0,0 @@ -Mitsubishi AA204XD12 LVDS Display Panel -======================================= - -The AA104XD12 is a 10.4" XGA 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,aa104xd12", "panel-lvds"; - vcc-supply = <&vcc_3v3>; - - width-mm = <210>; - height-mm = <158>; - - data-mapping = "jeida-24"; - - panel-timing { - /* 1024x768 @65Hz */ - clock-frequency = <65000000>; - hactive = <1024>; - vactive = <768>; - hsync-len = <136>; - hfront-porch = <20>; - hback-porch = <160>; - vfront-porch = <3>; - vback-porch = <29>; - vsync-len = <6>; - }; - - port { - panel_in: endpoint { - remote-endpoint = <&lvds_encoder>; - }; - }; -}; diff --git a/Documentation/devicetree/bindings/display/panel/mitsubishi,aa104xd12.yaml b/Documentation/devicetree/bindings/display/panel/mitsubishi,aa104xd12.yaml new file mode 100644 index 000000000000..fd97ca49c104 --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/mitsubishi,aa104xd12.yaml @@ -0,0 +1,71 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/mitsubishi,aa104xd12.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Mitsubishi AA104XD12 10.4" XGA LVDS Display Panel + +maintainers: + - Laurent Pinchart + - Thierry Reding + +allOf: + - $ref: lvds.yaml# + +properties: + compatible: + items: + - const: mitsubishi,aa104xd12 + - {} # 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: 210 + + height-mm: + const: 158 + + +required: + - compatible + - vcc-supply + +examples: + - |+ + + panel { + compatible = "mitsubishi,aa104xd12", "panel-lvds"; + vcc-supply = <&vcc_3v3>; + + width-mm = <210>; + height-mm = <158>; + + data-mapping = "jeida-24"; + + panel-timing { + /* 1024x768 @65Hz */ + clock-frequency = <65000000>; + hactive = <1024>; + vactive = <768>; + hsync-len = <136>; + hfront-porch = <20>; + hback-porch = <160>; + vfront-porch = <3>; + vback-porch = <29>; + vsync-len = <6>; + }; + + port { + panel_in: endpoint { + remote-endpoint = <&lvds_encoder>; + }; + }; + }; + +... -- 2.20.1