Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1522484ybv; Thu, 6 Feb 2020 05:38:49 -0800 (PST) X-Google-Smtp-Source: APXvYqw0upSRyEFWMLCcvdpe7ZW+HPZT7DKEbyvWVemhd5WrWXsQcWRXYc27mLEHRKtpdysv8E5y X-Received: by 2002:aca:ab52:: with SMTP id u79mr6565318oie.145.1580996329388; Thu, 06 Feb 2020 05:38:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580996329; cv=none; d=google.com; s=arc-20160816; b=BE/BfpE+0AfP8wjianvoUUbw7XNr3DN1bz+06b4dCppaHQf+SZATBs69XZkne6C04Z FcaSMfAtGtTXvKfGSvYWxbxMnDuVdgbgLCaio/daOhQV3QZwgG9FDBW9M1X2iGx29Pah 8//cV++/l+vaBEvrD5onTi/Put9BZH/6t7k090nYVYHK+pb17Q3Q/Bj3Z9gA0uhoy8j8 dNCPvq24yzkelA1uEQM/Lvt58ONxsA2gtCon9uArfubKFRi2LnuLJGz3173T4SVq9HeD 2XHGpOxJq4yp4XboOF9HqxNldYA3OiFaxuYCBgu9pfPeIi/i25ClgXwtYdz3xr5L0IFV Sq1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=BC2Cnt1GrsiwMGu01GohYQG+iMq/3tQ6n0UDWLiGk8A=; b=I2afXOkXij+shHeZ0/0gAc7128vkOKyI7PF4TsCisX7d8wifGH0+lRs6HHf6t+s8mf cEZAmzuYR7u5Y3+VERJ2KYOHT26MmkBBtPxLsHgkOmibcJASG00XhvaSbCwmEKymlpw3 d49D3bb5jcgrQvePnq5ZqRN7PltmkrXAW06yEzpK6GhS3/FjetQxzzopa4CmSKLdAI/W mLnewwcMH6WU1UAIyMNaaGbhPG52s03/lbiCY9FwgXXGBLbgppGJGtI0nZhYBhlrThwq 3hQrMWezkiLGeQcXfGpOaJEAa9wXSXF9aM+N9QOZooJLj/eJqOC+T6/tnJVUFErRDGcp CJzw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b=LFYsFGVy; 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=pass (p=NONE sp=NONE dis=NONE) header.from=st.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z199si1898606oia.192.2020.02.06.05.38.37; Thu, 06 Feb 2020 05:38:49 -0800 (PST) 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; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b=LFYsFGVy; 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=pass (p=NONE sp=NONE dis=NONE) header.from=st.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728070AbgBFNeS (ORCPT + 99 others); Thu, 6 Feb 2020 08:34:18 -0500 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:33088 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728022AbgBFNeQ (ORCPT ); Thu, 6 Feb 2020 08:34:16 -0500 Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 016DXPWk005683; Thu, 6 Feb 2020 14:33:53 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=st.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=STMicroelectronics; bh=BC2Cnt1GrsiwMGu01GohYQG+iMq/3tQ6n0UDWLiGk8A=; b=LFYsFGVyA8kbk+rHDtG5qqKPuzXJIQH6n7hoaTub6eo3mHZP3Yqm3A3SuZ/dIwT70OLJ ++WdYweFM565znM/W2nLtF2tZna+DhFEPLgDfClNt5c4qG9OAquqR9ipZhMJEtAMaizu BhKWgA18ADmDKDMdnrYmwdSTIw2s0GRzbDvZxBy5mCyLqEHwJK0j32K5s2IobPMwtSVv LcxVm12XtnH6SIvk3qoMdOC6OegSPavtyqv68e333YvyGWX5SyS9bY7Bs2aw17cZq74D E/xYXVOHVchyMHxOQ4zPbGVPNhIYfImQm50ODaXHUWqad74mHWJJtam/Ckv3cHM/HR+z yw== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 2xyhkyqv5r-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 06 Feb 2020 14:33:53 +0100 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 50696100038; Thu, 6 Feb 2020 14:33:51 +0100 (CET) Received: from Webmail-eu.st.com (sfhdag3node3.st.com [10.75.127.9]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 4279F2BC7DB; Thu, 6 Feb 2020 14:33:51 +0100 (CET) Received: from localhost (10.75.127.51) by SFHDAG3NODE3.st.com (10.75.127.9) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Thu, 6 Feb 2020 14:33:50 +0100 From: Benjamin Gaignard To: , , , , , , CC: , , , Benjamin Gaignard Subject: [PATCH v4 2/3] dt-bindings: panel: Convert raydium,rm68200 to json-schema Date: Thu, 6 Feb 2020 14:33:43 +0100 Message-ID: <20200206133344.724-3-benjamin.gaignard@st.com> X-Mailer: git-send-email 2.15.0 In-Reply-To: <20200206133344.724-1-benjamin.gaignard@st.com> References: <20200206133344.724-1-benjamin.gaignard@st.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.75.127.51] X-ClientProxiedBy: SFHDAG4NODE3.st.com (10.75.127.12) To SFHDAG3NODE3.st.com (10.75.127.9) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138,18.0.572 definitions=2020-02-06_01:2020-02-06,2020-02-06 signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Convert raydium,rm68200 to json-schema. Signed-off-by: Benjamin Gaignard --- .../bindings/display/panel/raydium,rm68200.txt | 25 ---------- .../bindings/display/panel/raydium,rm68200.yaml | 56 ++++++++++++++++++++++ 2 files changed, 56 insertions(+), 25 deletions(-) delete mode 100644 Documentation/devicetree/bindings/display/panel/raydium,rm68200.txt create mode 100644 Documentation/devicetree/bindings/display/panel/raydium,rm68200.yaml diff --git a/Documentation/devicetree/bindings/display/panel/raydium,rm68200.txt b/Documentation/devicetree/bindings/display/panel/raydium,rm68200.txt deleted file mode 100644 index cbb79ef3bfc9..000000000000 --- a/Documentation/devicetree/bindings/display/panel/raydium,rm68200.txt +++ /dev/null @@ -1,25 +0,0 @@ -Raydium Semiconductor Corporation RM68200 5.5" 720p MIPI-DSI TFT LCD panel - -The Raydium Semiconductor Corporation RM68200 is a 5.5" 720x1280 TFT LCD -panel connected using a MIPI-DSI video interface. - -Required properties: - - compatible: "raydium,rm68200" - - reg: the virtual channel number of a DSI peripheral - -Optional properties: - - reset-gpios: a GPIO spec for the reset pin (active low). - - power-supply: phandle of the regulator that provides the supply voltage. - - backlight: phandle of the backlight device attached to the panel. - -Example: -&dsi { - ... - panel@0 { - compatible = "raydium,rm68200"; - reg = <0>; - reset-gpios = <&gpiof 15 GPIO_ACTIVE_LOW>; - power-supply = <&v1v8>; - backlight = <&pwm_backlight>; - }; -}; diff --git a/Documentation/devicetree/bindings/display/panel/raydium,rm68200.yaml b/Documentation/devicetree/bindings/display/panel/raydium,rm68200.yaml new file mode 100644 index 000000000000..09149f140d5f --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/raydium,rm68200.yaml @@ -0,0 +1,56 @@ +# SPDX-License-Identifier: (GPL-2.0-only or BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/raydium,rm68200.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Raydium Semiconductor Corporation RM68200 5.5" 720p MIPI-DSI TFT LCD panel + +maintainers: + - Philippe CORNU + +description: | + The Raydium Semiconductor Corporation RM68200 is a 5.5" 720x1280 TFT LCD + panel connected using a MIPI-DSI video interface. + +allOf: + - $ref: panel-common.yaml# + +properties: + + compatible: + const: raydium,rm68200 + + reg: + maxItems: 1 + description: DSI virtual channel + + backlight: true + enable-gpios: true + port: true + power-supply: true + + reset-gpios: + maxItems: 1 + +additionalProperties: false + +required: + - compatible + - power-supply + - reg + +examples: + - | + dsi@0 { + #address-cells = <1>; + #size-cells = <0>; + panel@0 { + compatible = "raydium,rm68200"; + reg = <0>; + reset-gpios = <&gpiof 15 0>; + power-supply = <&v1v8>; + backlight = <&pwm_backlight>; + }; + }; +... -- 2.15.0