From patchwork Wed Jan 1 11:24:42 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 999 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pg1-f199.google.com (mail-pg1-f199.google.com [209.85.215.199]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 157D43F0CC for ; Wed, 1 Jan 2020 12:25:27 +0100 (CET) Received: by mail-pg1-f199.google.com with SMTP id l15sf9562863pgk.14 for ; Wed, 01 Jan 2020 03:25:27 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1577877926; cv=pass; d=google.com; s=arc-20160816; b=foANPi+DYTuFDHzmC802eEmcux7WMi1X9vN8wAi1CebmFYSVBCUiVR7G2DsEaXiyCq llCP72t9fj+P/6rfwvdVW3mranrCK9XRYmnv4Ym8ht4MqFNP478QwiBBjuJyPi0WRGkF qHqInlMYjPvYT7e7hpcsIC71Wxp8I1ALl7cbi6pNWhS97ogHM3CqUmaNrlxxH+luwACC mZ5eN2dbwk29lzvyUVsEgPhkIJTzS1lP/rZ4DHxtp0tTYO78vbQk5Sw5i3gq2atCOj0X ZNCX7xDbna7thwT5De0rHyVM4QyHmFaXskpXFLmT+mBlQ5BguIQhQLUHHB1yLGGxzqVq APlw== 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=dsUjCR1ZfGujlmfXwSSpiopYU9S3dpdrgvcmcIa4lzs=; b=KZp9M1FBFbMeqzAm4AcHhxfBTr8Sdb+UKIcd4vXqhuGtmtUqa5WDsprRnhQ8JlSl9P 6ZbDb8AjfmQKOg/bzFz3mABd545dF6WLZYnDSyXO9VfxxoKEd4LKP6kS4ncAuGHJcSAq 7bx/ckvcJcLTijD/jYoop0v1gfWUaW726qiMMfvT4Tbe1QcLF0v7Mofi3gg38sbfV3Od H58oKZmomVoxYXywceRYztwxmPRXJIjIJSe2GZuDMTEayuq3u7kRkLolApL1xA31EmRp pRK5Dj1CcpjG5agcXXyibAJL453qdEYa0H21buVRrrBODq2qj1sUPM5ngsagPjTpnl9Y HR6g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=e76aESV8; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 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=dsUjCR1ZfGujlmfXwSSpiopYU9S3dpdrgvcmcIa4lzs=; b=IGagB6I2CtiZ0OsDD0oVs65T3m0J2haT7lGl4bT8FhyobJzuY3SV1cGXIpnIiEqAkj /39C4ntfdsU6UmrlRZEXqiSTqk661FUJfNCaX1E71ecdLIrbs8XvaQzsdZ7uPfRp/CTR YqSPyWJ/oN1JwHddtc1ZRwtvB3K2pHU707k4Q= 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=dsUjCR1ZfGujlmfXwSSpiopYU9S3dpdrgvcmcIa4lzs=; b=DO/h23mA6TW/xYj5MRJqFObxoHNGCNClNeF/wEcUEhW6kDN86cNhpGDn5gnVKvKTI+ I/5b7ViIxKkGq3FjxuyQqyOYcirEXuuWyoGyT1dEz+tomL986LvUuPPZYsPcviNIDupj qJcpvxsctEiFKJf6yJ3Ve/bo9P2hPwmm4cIYT5zYABaLFX2OCWuSQNWS/4mkZpARUF/b GAFgARfD6wrGrfVJ1GAg2/4TMX3kWXc2Ypgp9hvZ2LD23wxjivtBU4uzTi+AM8xHobIw n5DY/zcoM9FB+q3pnIuBo+IDq2B1SYijWTDVh8I7PnQCm1ot81ZOeokRZpDopdGcENse cHew== X-Gm-Message-State: APjAAAUCZQowBe0JJzu9YiUrZPLVxSl/BK3l2duUznlvfg8Br5o6RQ0J goTY0F2aApKek0drHjESD53e6o9T X-Google-Smtp-Source: APXvYqxVgMKzL6PRe8tQ0KFtCizTG7O6XOFP4mqxE3NdHKNpQsIdGLU6tHhb3747n8ZEQmYTcIDOvw== X-Received: by 2002:a63:1c1d:: with SMTP id c29mr84320057pgc.14.1577877925834; Wed, 01 Jan 2020 03:25:25 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:90a:fe5:: with SMTP id 92ls2094790pjz.5.canary-gmail; Wed, 01 Jan 2020 03:25:25 -0800 (PST) X-Received: by 2002:a17:90a:d986:: with SMTP id d6mr13468969pjv.78.1577877925359; Wed, 01 Jan 2020 03:25:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577877925; cv=none; d=google.com; s=arc-20160816; b=ezH7Yq6uYnITuHgN+HR5V/JtnmzFNTw8asWtBw/+KYlpK9gJ4mXPqqNdHel7Ly0yZx ZSo6xmvdqjSLMuGxeFIo31NKfUcXrp37SqCb7Ls3aMeqNaiT3pfqcWZIs0CKlFlTbYaR t33uVtpxG4hmSW6CyaeedA53fgGxs719bejDuF828R6M76r4f5v+LazlWaIe/UWv6vZo i+kUS1JQxLD8KUIlWZjDMXyW5xiOmdX2LlEBzirsaftI5m33pCCUAIMqidxJ6zE/mVDk OuizT+b9av4NYOjnIYqKJWWQMwO16A5I3xXd486jbhkDRyQgEpwYyDMUwguqOIl5JoW8 BU2A== 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=aAzFwJEYuGgvW/P9IbRhSf+XnGQckgZrqUZat3QeX28=; b=Z79SxsbZzmuiIRh6StNLCggKOowumJ8wsMgFq4Xkwh+uhE8MIGfXDsrjjBON1ZBmM9 J7BFiCYNN5+Q+L74AQbhko65ZCRDbLPFAqG0audhSuyrdbL1NDyYEsyUXU4aP0a7dnPb NltnKF3wyCxaR2wkS4Jn/xrP2dCzzHjgW0uHH9ZCDxBJpGkQna4fi8NixFtjYWZt2/UM 4LWpf6tebZ+LyRVVz5Ztbj3kfzpE3LYQK+E3IfSvMFVK9DBf++K6DkqN8nFhthZA6dF8 SDkDJIII/dYYT0iMzmxqQp/7JWYmmlxNVLL2eJHJHBLaouUPO6nj6s+CNAvpvUlbpj6R aaSw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=e76aESV8; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id 88sor52052170plf.37.2020.01.01.03.25.25 for (Google Transport Security); Wed, 01 Jan 2020 03:25:25 -0800 (PST) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:a17:902:d906:: with SMTP id c6mr35495504plz.137.1577877925003; Wed, 01 Jan 2020 03:25:25 -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.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Jan 2020 03:25:24 -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 4/6] dt-bindings: display: panel: Convert friendlyarm, hd702e to DT schema Date: Wed, 1 Jan 2020 16:54:42 +0530 Message-Id: <20200101112444.16250-5-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=e76aESV8; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 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 friendlyarm,hd702e panel bindings to DT schema. Signed-off-by: Jagan Teki --- .../display/panel/friendlyarm,hd702e.txt | 32 ------------- .../display/panel/friendlyarm,hd702e.yaml | 47 +++++++++++++++++++ 2 files changed, 47 insertions(+), 32 deletions(-) delete mode 100644 Documentation/devicetree/bindings/display/panel/friendlyarm,hd702e.txt create mode 100644 Documentation/devicetree/bindings/display/panel/friendlyarm,hd702e.yaml diff --git a/Documentation/devicetree/bindings/display/panel/friendlyarm,hd702e.txt b/Documentation/devicetree/bindings/display/panel/friendlyarm,hd702e.txt deleted file mode 100644 index 6c9156fc3478..000000000000 --- a/Documentation/devicetree/bindings/display/panel/friendlyarm,hd702e.txt +++ /dev/null @@ -1,32 +0,0 @@ -FriendlyELEC HD702E 800x1280 LCD panel - -HD702E lcd is FriendlyELEC developed eDP LCD panel with 800x1280 -resolution. It has built in Goodix, GT9271 captive touchscreen -with backlight adjustable via PWM. - -Required properties: -- compatible: should be "friendlyarm,hd702e" -- power-supply: regulator to provide the supply voltage - -Optional properties: -- backlight: phandle of the backlight device attached to the panel - -Optional nodes: -- Video port for LCD panel input. - -This binding is compatible with the simple-panel binding, which is specified -in simple-panel.txt in this directory. - -Example: - - panel { - compatible ="friendlyarm,hd702e", "simple-panel"; - backlight = <&backlight>; - power-supply = <&vcc3v3_sys>; - - port { - panel_in_edp: endpoint { - remote-endpoint = <&edp_out_panel>; - }; - }; - }; diff --git a/Documentation/devicetree/bindings/display/panel/friendlyarm,hd702e.yaml b/Documentation/devicetree/bindings/display/panel/friendlyarm,hd702e.yaml new file mode 100644 index 000000000000..0509c34d98b2 --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/friendlyarm,hd702e.yaml @@ -0,0 +1,47 @@ +# SPDX-License-Identifier: (GPL-2.0+ OR X11) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/friendlyarm,hd702e.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: FriendlyELEC HD702E 800x1280 LCD panel + +maintainers: + - Jagan Teki + - Thierry Reding + - Sam Ravnborg + +description: | + HD702E lcd is FriendlyELEC developed eDP LCD panel with 800x1280 + resolution. It has built in Goodix, GT9271 captive touchscreen + with backlight adjustable via PWM. + +allOf: + - $ref: panel-common.yaml# + +properties: + compatible: + const: friendlyarm,hd702e + + power-supply: + description: regulator to provide the supply voltage + +required: + - compatible + - power-supply + +additionalProperties: false + +examples: + - | + panel { + compatible ="friendlyarm,hd702e", "simple-panel"; + backlight = <&backlight>; + power-supply = <&vcc3v3_sys>; + + port { + panel_in_edp: endpoint { + remote-endpoint = <&edp_out_panel>; + }; + }; + };