From patchwork Wed Jan 1 11:24:43 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1000 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pf1-f198.google.com (mail-pf1-f198.google.com [209.85.210.198]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id CE9543F0CC for ; Wed, 1 Jan 2020 12:25:30 +0100 (CET) Received: by mail-pf1-f198.google.com with SMTP id 8sf26793177pfb.22 for ; Wed, 01 Jan 2020 03:25:30 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1577877929; cv=pass; d=google.com; s=arc-20160816; b=wLnzQ1NexF2qYBzmmA7buxNuUPuPAT7ucgVatV8cWydrkN39tZOkQUCCnjb8K8hUD2 MLrOFRo/5n24g26mOQHT7gBd2nY1QVGSsqlOiATaKn9FyI8JbmbiqGNjW1Svo0PI5KHM WZ8CA+hHyt2rIUa6+Geme1xloz9H/5qP3LGBZY7dhFU0lwvEbKwpXGsCJ3Ipi59NjwmU wCeaOB09soU+DstWsJGpZoayAJKNn95sVX/ijBsbyrLQ624wKnpUs0gletpJmWW/IMgm LcNCXNOt07ScuDKewAs+6+RbAx5XTp4wzXHzq9FySRv8jE5L8fnDrjwMviCgXMqk9+xf F1fQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=sSvqLmerB8GYZ4kURDBFR9pX77UiZZ7IlbvU1VOx/JQ=; b=RLV0jhCOdz+EJ3hMhZe4QaWYbqqL3NygnrFswcLNzeNNWo4Phb406lXccf5zV+hsAf vZMlKv3Uy1JftcQpx6mWvZ7idMcQByPjLcgFrO5Bz2nXL+iWrWADJ9noVTPBRnBHijnB X8bABO4Cy8+CQx5QSdqvqWgC2hhPCyS7Pmu1FvTH9Oloek0CMYD+E3U0eIi1LUYdheTB QMxqkWp57jUkp4n87ZbhohfTOjw3K5se8Mhad1PrvMgM7qJ6eAr0fYENQRkFdroX+CHr ojv1gSIsKIA+EZVAxl9lWn57E9eFgqfmiEbEOrluVf4xUXs8u0440cU2fWTTxXPaSK20 ONIA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=auDcUmhg; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=sSvqLmerB8GYZ4kURDBFR9pX77UiZZ7IlbvU1VOx/JQ=; b=JkSvPaJJJIP9OE6H7+y30YjWsKDGdm1+3R+lBS192QvdqkIpoQslNJitYOwvSfR4Wh TtZ/cV+uB2BBRmsaN0mz+BDhBuwRRdk0C3lmrHzXeTWoAqbciTyDpzUTynnc8h/sWCKv 0mUpQ4YryvMLaWxchTqqaGC9tADryQh4cv/k0= 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:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=sSvqLmerB8GYZ4kURDBFR9pX77UiZZ7IlbvU1VOx/JQ=; b=Td6yltjm6po3BTKJNk20POE2P9LYiamxRY26BwD2MHLUa3HK84alSd5SgpqDm8wFi0 6Q1viLVIaf5z3kFMozet9kWTRGzeltjl+yoEjcUXZPH+tIg1WfoE7lPkfxJ0hQclMjjK d/jDd00NTP0Zxa8h7B209uVT7/MxScHydRM8oj2rMv+puQZ2SZxQDp0RisAQbz7Oibmn WYGjwB4WzNtC4XwWAY0HLGcIig8KygvBI1WkON3lW9g4txuLUKQCtTh0SYZCL+KN1RmM cS3EgH5ZURSMC9wryMMvU4eAeUNnY3mqaL9nistfqSFDRshb9ZtWc+j5i4DkduzdhU3j bHZg== X-Gm-Message-State: APjAAAWuyhfIidniIh5L61PlcsC1xDBTfwpJwlRFowih+TQP9C/Qx+NM jyp8Hqj2YXyxNTEPIeORbT2pycTk X-Google-Smtp-Source: APXvYqzKNVeYl/IcXYQfuaRifb1sif1CiX7x1uh/cVxqs+ohAj1HwZrb/2CjmEUCdHIcT39t1cQMow== X-Received: by 2002:a63:d848:: with SMTP id k8mr83684512pgj.114.1577877929535; Wed, 01 Jan 2020 03:25:29 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:902:aa97:: with SMTP id d23ls10759828plr.12.gmail; Wed, 01 Jan 2020 03:25:29 -0800 (PST) X-Received: by 2002:a17:902:aa48:: with SMTP id c8mr79063315plr.243.1577877928866; Wed, 01 Jan 2020 03:25:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577877928; cv=none; d=google.com; s=arc-20160816; b=X1xyRC2SJ5DMlEFOI82fvDQbrQzqyGCPcqzN+gh1Nn7v3AF8DldwkR0o4c1sbXNfhI E3/OHkTC7wtG+oWm1SwFZ4OqWQN+zpAuhuwFhJlKesiWTlRbi0EFNO9M5+ZJfioVyJTD qztb+mHB2kl7u7WqC1y7mVYHFjS9bQs8Cbc/DbFDQQqc1899k9GSE6envICs7qonoN3I FyfAJyq9bLE+uKKDMd1g3YWwk1sOwuEo+yl5noEQoey+8R+CDKmPvEkRg40oXkFbTlKR J2a5zRnT74UZHoIuSVutuzAgeSW+V1TvhSIZzefe6UctJx6Aa5zai28jPSuIj5tQCVd1 d/jg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=uOT/TkO2nnC7kJ3ZhTvZjXZpoEskkRgkFAB8b45lofE=; b=uTj23SZbQO4gT6pHTmO280jeoJGHE9muU+xkhZwKvPp7+K7Nv2bbOyc/+9ChI9euCI 3T+RtNMUHMyeDp4cgAs9vPGvu1AqOfg22nNq1MWjuE2yoYdNJvSAZhCYnZbhh+VBwkMc TmlIXDeH5DlvbQnk5CzS61aLzC46FlRtdITzQY+iNiFn5kjF/tk77U36Kzr0gmdWUrG4 4K1O2WNybnibXs4OTF7ZWvTRGTPXznDblhPiXReJ5/0z1yNQNEktyoZXwqm8AqwfjEMe xdz15RLgP3Mzec4yEwX/pKljAvmwG3IiliL+vj0WK3p+CZj1fMWACWEa8nU6acjmwpMn kkEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=auDcUmhg; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id g11sor37076243plp.31.2020.01.01.03.25.28 for (Google Transport Security); Wed, 01 Jan 2020 03:25:28 -0800 (PST) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Received: by 2002:a17:902:a5c2:: with SMTP id t2mr79230619plq.86.1577877928529; Wed, 01 Jan 2020 03:25:28 -0800 (PST) Received: from localhost.localdomain ([2405:201:c809:c7d5:d0fe:8978:1b04:ff94]) by smtp.gmail.com with ESMTPSA id y7sm51945439pfb.139.2020.01.01.03.25.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Jan 2020 03:25:28 -0800 (PST) From: Jagan Teki To: Thierry Reding , Sam Ravnborg , Rob Herring Cc: David Airlie , Daniel Vetter , Mark Rutland , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-amarula@amarulasolutions.com, Jagan Teki Subject: [PATCH 5/6] dt-bindings: display: panel: Convert rocktech, rk070er9427 to DT schema Date: Wed, 1 Jan 2020 16:54:43 +0530 Message-Id: <20200101112444.16250-6-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 In-Reply-To: <20200101112444.16250-1-jagan@amarulasolutions.com> References: <20200101112444.16250-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=auDcUmhg; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Convert the rocktech,rk070er9427 panel bindings to DT schema. Also, drop the description from legacy .txt since the yaml DT schema of panel-common.yaml already have that information. Signed-off-by: Jagan Teki --- .../display/panel/rocktech,rk070er9427.txt | 25 ------------- .../display/panel/rocktech,rk070er9427.yaml | 37 +++++++++++++++++++ 2 files changed, 37 insertions(+), 25 deletions(-) delete mode 100644 Documentation/devicetree/bindings/display/panel/rocktech,rk070er9427.txt create mode 100644 Documentation/devicetree/bindings/display/panel/rocktech,rk070er9427.yaml diff --git a/Documentation/devicetree/bindings/display/panel/rocktech,rk070er9427.txt b/Documentation/devicetree/bindings/display/panel/rocktech,rk070er9427.txt deleted file mode 100644 index eb1fb9f8d1f4..000000000000 --- a/Documentation/devicetree/bindings/display/panel/rocktech,rk070er9427.txt +++ /dev/null @@ -1,25 +0,0 @@ -Rocktech Display Ltd. RK070ER9427 800(RGB)x480 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 "rocktech,rk070er9427" - -Optional properties: -- backlight: phandle of the backlight device attached to the panel - -Optional nodes: -- Video port for LCD panel input. - -Example: - panel { - compatible = "rocktech,rk070er9427"; - backlight = <&backlight_lcd>; - - port { - lcd_panel_in: endpoint { - remote-endpoint = <&lcd_display_out>; - }; - }; - }; diff --git a/Documentation/devicetree/bindings/display/panel/rocktech,rk070er9427.yaml b/Documentation/devicetree/bindings/display/panel/rocktech,rk070er9427.yaml new file mode 100644 index 000000000000..ac5aebfa4adc --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/rocktech,rk070er9427.yaml @@ -0,0 +1,37 @@ +# SPDX-License-Identifier: (GPL-2.0+ OR X11) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/rocktech,rk070er9427.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Rocktech Display Ltd. RK070ER9427 800(RGB)x480 TFT LCD panel + +maintainers: + - Jagan Teki + - Thierry Reding + - Sam Ravnborg + +allOf: + - $ref: panel-common.yaml# + +properties: + compatible: + const: rocktech,rk070er9427 + +required: + - compatible + +additionalProperties: false + +examples: + - | + panel { + compatible = "rocktech,rk070er9427"; + backlight = <&backlight_lcd>; + + port { + lcd_panel_in: endpoint { + remote-endpoint = <&lcd_display_out>; + }; + }; + };