From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.4 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 369BDC10F29 for ; Tue, 17 Mar 2020 06:24:56 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 0365A20736 for ; Tue, 17 Mar 2020 06:24:56 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="tbx6noty" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726564AbgCQGYz (ORCPT ); Tue, 17 Mar 2020 02:24:55 -0400 Received: from fllv0016.ext.ti.com ([198.47.19.142]:37302 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726535AbgCQGYz (ORCPT ); Tue, 17 Mar 2020 02:24:55 -0400 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 02H6NuGA045725; Tue, 17 Mar 2020 01:23:56 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1584426236; bh=AKYgfEFNiyElag9nObrSgF611W6lhUQnOuO49KGUNfY=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=tbx6notyG4XV6iGHgFSU+XmSU6Z3UCOYwDFWqmKqsZhO1k76EmLmSbdLMODlCKpBO lzW2z6h5ccFMbY3ubUWt/yfYb4hEmLXDlLFTV3A0AtY7eX6DlkLSCR8WaDxbY+eSsW Sr3SXESRhC5vRP8FzA/O/dC1XCZPa747DH5fZLXY= Received: from DFLE108.ent.ti.com (dfle108.ent.ti.com [10.64.6.29]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTP id 02H6NtKd112284; Tue, 17 Mar 2020 01:23:55 -0500 Received: from DFLE112.ent.ti.com (10.64.6.33) by DFLE108.ent.ti.com (10.64.6.29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3; Tue, 17 Mar 2020 01:23:55 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DFLE112.ent.ti.com (10.64.6.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3 via Frontend Transport; Tue, 17 Mar 2020 01:23:55 -0500 Received: from [192.168.2.6] (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 02H6Nl7P082387; Tue, 17 Mar 2020 01:23:48 -0500 Subject: Re: [PATCH v1 26/36] dt-bindings: display: convert sony,acx565akm to DT Schema To: Sam Ravnborg , , Thierry Reding , Rob Herring , CC: Alexandre Courbot , Andrzej Hajda , Brian Masney , Chris Zhong , Douglas Anderson , Guido Gunther , Heiko Schocher , Nikolaus Schaller , Hoegeun Kwon , Jagan Teki , Jerry Han , Jonathan Bakker , Laurent Pinchart , Lin Huang , Linus Walleij , , Marco Franchi , Marek Belisko , Mark Brown , Maxime Ripard , Maxime Ripard , Nickey Yang , Paul Cercueil , Peter Rosin , Peter Ujfalusi , Purism Kernel Team , Robert Chiras , Sandeep Panda , Stefan Mavrodiev , Tony Lindgren , Vinay Simha BN , Werner Johansson References: <20200315134416.16527-1-sam@ravnborg.org> <20200315134416.16527-27-sam@ravnborg.org> From: Tomi Valkeinen Message-ID: Date: Tue, 17 Mar 2020 08:23:47 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 In-Reply-To: <20200315134416.16527-27-sam@ravnborg.org> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On 15/03/2020 15:44, Sam Ravnborg wrote: > Signed-off-by: Sam Ravnborg > Cc: Tomi Valkeinen > Cc: Thierry Reding > Cc: Sam Ravnborg > --- > .../bindings/display/panel/sony,acx565akm.txt | 30 ----------- > .../display/panel/sony,acx565akm.yaml | 53 +++++++++++++++++++ > 2 files changed, 53 insertions(+), 30 deletions(-) > delete mode 100644 Documentation/devicetree/bindings/display/panel/sony,acx565akm.txt > create mode 100644 Documentation/devicetree/bindings/display/panel/sony,acx565akm.yaml > > diff --git a/Documentation/devicetree/bindings/display/panel/sony,acx565akm.txt b/Documentation/devicetree/bindings/display/panel/sony,acx565akm.txt > deleted file mode 100644 > index e12333280749..000000000000 > --- a/Documentation/devicetree/bindings/display/panel/sony,acx565akm.txt > +++ /dev/null > @@ -1,30 +0,0 @@ > -Sony ACX565AKM SDI Panel > -======================== > - > -Required properties: > -- compatible: "sony,acx565akm" > - > -Optional properties: > -- label: a symbolic name for the panel > -- reset-gpios: panel reset gpio > - > -Required nodes: > -- Video port for SDI input > - > -Example > -------- > - > -acx565akm@2 { > - compatible = "sony,acx565akm"; > - spi-max-frequency = <6000000>; > - reg = <2>; > - > - label = "lcd"; > - reset-gpios = <&gpio3 26 GPIO_ACTIVE_HIGH>; /* 90 */ > - > - port { > - lcd_in: endpoint { > - remote-endpoint = <&sdi_out>; > - }; > - }; > -}; > diff --git a/Documentation/devicetree/bindings/display/panel/sony,acx565akm.yaml b/Documentation/devicetree/bindings/display/panel/sony,acx565akm.yaml > new file mode 100644 > index 000000000000..a0b1abb9f33d > --- /dev/null > +++ b/Documentation/devicetree/bindings/display/panel/sony,acx565akm.yaml > @@ -0,0 +1,53 @@ > +# SPDX-License-Identifier: GPL-2.0 > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/display/panel/sony,acx565akm.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Sony ACX565AKM SDI Panel > + > +maintainers: > + - Tomi Valkeinen > + > +allOf: > + - $ref: panel-common.yaml# > + - $ref: ../../spi/spi-slave.yaml# > + > +properties: > + compatible: > + const: sony,acx565akm > + > + label: true > + reset-gpios: true > + port: true > + > +required: > + - compatible > + - port > + > + > +examples: > + - | > + #include > + > + spi { > + #address-cells = <1>; > + #size-cells = <0>; > + > + acx565akm@2 { > + compatible = "sony,acx565akm"; > + spi-max-frequency = <6000000>; > + reg = <2>; > + > + label = "lcd"; > + reset-gpios = <&gpio3 26 GPIO_ACTIVE_HIGH>; /* 90 */ > + > + port { > + lcd_in: endpoint { > + remote-endpoint = <&sdi_out>; > + }; > + }; > + }; > + }; > + > +... > Reviewed-by: Tomi Valkeinen Tomi -- Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki