Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp3287470ybl; Fri, 20 Dec 2019 06:56:31 -0800 (PST) X-Google-Smtp-Source: APXvYqwVyuSaNpaCLof3DaKnk6SXiyKgN0+tM5wGrPJ4tDrrYjWxZpkAACHKTrBohVIRvmZMkn+w X-Received: by 2002:a9d:4f0a:: with SMTP id d10mr3618610otl.85.1576853791391; Fri, 20 Dec 2019 06:56:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576853791; cv=none; d=google.com; s=arc-20160816; b=vOgnv+saehV7mKNRNQG0xJkNqqhtSnGlGcJBTlYhVyTGlGHRQgC3c+HK0zZSqrZYYm sos+kJXJGBs9ok+BrGLrvR9SsEJzwyfymo7iRVkrKPJ1mZXsXf6oopuWQdBOuUad7V2n /fktjnuWBQmeSw+BbsovWeC4rXaKOx/mdn34jV6lSQZrIBbWWARzJC+nMtsBBHA5/Sne SmxNrExZKEkTYokPV4UPETYYbjHNQFyluKiYFLQt78AUpc8ZPCrrk/eFpVelYmpsryZ1 Vps9MImEw3wP2OD/Bjm9A/lQ111EW79jdGwCUfVQly7RPrkUaIdQ+2Lr3Hrkli4TdRws eaSQ== 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 :message-id:date:subject:to:from:dkim-signature; bh=sVrTZIezbYnRiKZqMTLj6zzvZboDkSX5bAiYWhg0T7o=; b=fUW4eYWnvkQc1sCG9BbrLAEAvXd+S8fnRnSP+uQtLEsvuNNRdo3lBo95g1r0AoLqa9 dBEFjF4JfWqld5/hdcyWnDb5zfzgYCht3cSmk1jB2M585Co0SKnnx3S58nJNCJdn9qob byQfdmIRQ5xCuPIfX1i3jBqQFHr1O65pRIZXYd0WYtoUWuaAB8ahA7OAp7pYkYUdwta6 7d3hgHv7tehU6cb4Vxt8/YV5gHMNighzzgtNk5qXjhruGLkK2CLfZ4oUAfBlghWr5NT4 /dAVOUZcXLjI148KQ7Pv9KeUBWqki6ueVTPuHLU9ibxXzfY14fG1IeQZWfhIH8rWG4lL edQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b=NcBqpqxr; 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 h4si4900651otk.172.2019.12.20.06.56.18; Fri, 20 Dec 2019 06:56:31 -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=NcBqpqxr; 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 S1727438AbfLTOzV (ORCPT + 99 others); Fri, 20 Dec 2019 09:55:21 -0500 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:20524 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727359AbfLTOzV (ORCPT ); Fri, 20 Dec 2019 09:55:21 -0500 Received: from pps.filterd (m0046660.ppops.net [127.0.0.1]) by mx08-00178001.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id xBKEqpTP016204; Fri, 20 Dec 2019 15:55:08 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=st.com; h=from : to : subject : date : message-id : mime-version : content-type : content-transfer-encoding; s=STMicroelectronics; bh=sVrTZIezbYnRiKZqMTLj6zzvZboDkSX5bAiYWhg0T7o=; b=NcBqpqxrKkxfyeDW+SY0cyO5g6DMetHFtAwa1fm5KWIVBAlUjHDhUvgBz9heMPbwatBJ xy0xpppdSlhdbtOPPW4MH9Xbqs9tE5wlg8K5gpQWbfl3La5fIsM5Zwq/a+v3MiNRThwm 92PxGh0mHmLtedC62PRLA32GEzvN3acsPlvFzckT7vXGZUqIapKEh0z+x4SCX7is2IZX jI2gDRTEA/gRjFRbld+Pkvy4LeYG7TbPuwgxez2PWanoceYfdIDheqTYWS68pFvqFhDc Zotrtr+UC/hH76bCS6oEox8txTdYo91Fds55nJyIUgqkmCxJQwrp+IDCLh1wOVbcJM+Z /g== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx08-00178001.pphosted.com with ESMTP id 2wvnreyuer-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 20 Dec 2019 15:55:08 +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 3C8F310003D; Fri, 20 Dec 2019 15:55:04 +0100 (CET) Received: from Webmail-eu.st.com (sfhdag6node1.st.com [10.75.127.16]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 275E72FF5DF; Fri, 20 Dec 2019 15:55:04 +0100 (CET) Received: from localhost (10.75.127.45) by SFHDAG6NODE1.st.com (10.75.127.16) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Fri, 20 Dec 2019 15:55:03 +0100 From: Yannick Fertre To: Alexandre Torgue , Benjamin Gaignard , Philippe Cornu , Thierry Reding , Sam Ravnborg , David Airlie , Daniel Vetter , Rob Herring , Mark Rutland , , , Subject: [PATCH] dt-bindings: display: Convert orisetech,otm8009a panel to DT schema Date: Fri, 20 Dec 2019 15:54:48 +0100 Message-ID: <1576853688-2143-1-git-send-email-yannick.fertre@st.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Originating-IP: [10.75.127.45] X-ClientProxiedBy: SFHDAG4NODE2.st.com (10.75.127.11) To SFHDAG6NODE1.st.com (10.75.127.16) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.95,18.0.572 definitions=2019-12-20_03:2019-12-17,2019-12-20 signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Yannick Fertré Convert the orisetech,otm8009a panel binding to DT schema. Signed-off-by: Yannick Fertre --- .../bindings/display/panel/orisetech,otm8009a.txt | 23 -------- .../bindings/display/panel/orisetech,otm8009a.yaml | 62 ++++++++++++++++++++++ 2 files changed, 62 insertions(+), 23 deletions(-) delete mode 100644 Documentation/devicetree/bindings/display/panel/orisetech,otm8009a.txt create mode 100644 Documentation/devicetree/bindings/display/panel/orisetech,otm8009a.yaml diff --git a/Documentation/devicetree/bindings/display/panel/orisetech,otm8009a.txt b/Documentation/devicetree/bindings/display/panel/orisetech,otm8009a.txt deleted file mode 100644 index 203b03e..0000000 --- a/Documentation/devicetree/bindings/display/panel/orisetech,otm8009a.txt +++ /dev/null @@ -1,23 +0,0 @@ -Orise Tech OTM8009A 3.97" 480x800 TFT LCD panel (MIPI-DSI video mode) - -The Orise Tech OTM8009A is a 3.97" 480x800 TFT LCD panel connected using -a MIPI-DSI video interface. Its backlight is managed through the DSI link. - -Required properties: - - compatible: "orisetech,otm8009a" - - 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. - -Example: -&dsi { - ... - panel@0 { - compatible = "orisetech,otm8009a"; - reg = <0>; - reset-gpios = <&gpioh 7 GPIO_ACTIVE_LOW>; - power-supply = <&v1v8>; - }; -}; diff --git a/Documentation/devicetree/bindings/display/panel/orisetech,otm8009a.yaml b/Documentation/devicetree/bindings/display/panel/orisetech,otm8009a.yaml new file mode 100644 index 0000000..02bd69e --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/orisetech,otm8009a.yaml @@ -0,0 +1,62 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/orisetech,otm8009a.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Orise Tech OTM8009A 3.97" 480x800 panel + +maintainers: + - Yannick Fertre + +description: + The Orise Tech OTM8009A is a 3.97" 480x800 TFT LCD panel connected using + a MIPI-DSI video interface. Its backlight is managed through the DSI link. + +properties: + compatible: + const: orisetech,otm8009a + + power-supply: + maxItems: 1 + + reset-gpios: + maxItems: 1 + + backlight: + maxItems: 1 + + port: + maxItems: 1 + + reg: + maxItems: 1 + +required: + - compatible + - reg + - port + +additionalProperties: false + +examples: + - | + #include + display1: display { + #address-cells = <1>; + #size-cells = <0>; + panel { + compatible = "orisetech,otm8009a"; + reg = <0>; + reset-gpios = <&gpioh 7 GPIO_ACTIVE_LOW>; + power-supply = <&v1v8>; + + port { + panel_in_dsi: endpoint { + remote-endpoint = <&controller_out_dsi>; + }; + }; + }; + }; + +... -- 2.7.4