Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp4761466imm; Tue, 9 Oct 2018 05:01:55 -0700 (PDT) X-Google-Smtp-Source: ACcGV62cIgLT1v+89H/215RGYVdq8IssoZQMz8GEN5kB4YJ7/yuGueI9CSf2moLpN/M3JObA9G5P X-Received: by 2002:a17:902:6b06:: with SMTP id o6-v6mr27603225plk.6.1539086515320; Tue, 09 Oct 2018 05:01:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539086515; cv=none; d=google.com; s=arc-20160816; b=x40oIim1n1xIFV/J/t8lmeYQOngZrXzqLnJiepptx9/GzxGU/PdmXW3aSToTIotgL3 UUq/KnpdCUjQUQvn8WSuRlYBX0wrpZFcUmOAWWgMSgsYmphqV79tJdLH4R9fXWs3VUnN iZt7COvxSFp67LpahUYgxCkfOBifw6CV2q6ACTeBDY1Nv8+GWeQoVtcS3/QiMpL9bvoS B+ghoy2FwxiMoc8vKtPkropuFNoFRINVbvkaFFjOQNoLrORQlF9I8Q8pJbgVzqKFFwMr J0/PZTJepyZPf5AHt93cHL4IXVohuKKh7/7nNszI9HTI9b+5DE2PdtkC3eVLSPX75bfY F6jA== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=IwNa+1TnhCVLX42CgDNqqHC4xRsXgRi1vCPFardr5p8=; b=nfNuzWp/cGOnIS1/a+B9gE/Dje8YmaIWO/eO6byFALyp21j9NK0FgLHw++KN4K1fkG 7V+yGRUlDWXINPtAfnfTzcANMFsU1siLDSBRU/JbCTVTw4ZeMtDB/CtNdDRnR8Tvjroi TBdBrHwMzjJyod3hcasIm+Zv3sABZYLnGOuceWZoxD8DGoneypbI69bfQaseLkXcBcQN HRIa+kCYjhgFQWx75y/TWQPz8nFqmBeL7VXcgbl72yquYedN2iiQQVZj6yIZZIggUerw YJjyQqd4QTaTnSFlbTkKoAL4XASNU5/iQ9uOy7gm2CBb72rEOSHJhvKGCLQcAeO9vBqk txkw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=VhWG3IyO; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d187-v6si11253926pfa.20.2018.10.09.05.01.39; Tue, 09 Oct 2018 05:01:55 -0700 (PDT) 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=@ti.com header.s=ti-com-17Q1 header.b=VhWG3IyO; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726855AbeJITQ0 (ORCPT + 99 others); Tue, 9 Oct 2018 15:16:26 -0400 Received: from fllv0016.ext.ti.com ([198.47.19.142]:36530 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726160AbeJITQ0 (ORCPT ); Tue, 9 Oct 2018 15:16:26 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id w99BxC5d031707; Tue, 9 Oct 2018 06:59:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1539086352; bh=IwNa+1TnhCVLX42CgDNqqHC4xRsXgRi1vCPFardr5p8=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=VhWG3IyOJXLXEmcmORjWWOYrPM6bDfc6kVX9GZ+FN06oaTpai55wdQO53m0Af3GAa Dhzbod+Ieo7z0YAS0SeydsBZ64LLEvrIceVKhjc6MHl5fNEkbxe4DZxfwqwXrrW0FJ QV3mAuAHFnBnVMmDuLPlDq5qN3UVvUxA1cPvGNsw= Received: from DFLE109.ent.ti.com (dfle109.ent.ti.com [10.64.6.30]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id w99BxCul016873; Tue, 9 Oct 2018 06:59:12 -0500 Received: from DFLE105.ent.ti.com (10.64.6.26) by DFLE109.ent.ti.com (10.64.6.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Tue, 9 Oct 2018 06:59:12 -0500 Received: from dlep32.itg.ti.com (157.170.170.100) by DFLE105.ent.ti.com (10.64.6.26) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Tue, 9 Oct 2018 06:59:12 -0500 Received: from [172.24.190.172] (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id w99Bx63W022342; Tue, 9 Oct 2018 06:59:07 -0500 Subject: Re: [PATCH 21/36] dt-bindings: arm: Convert TI davinci board/soc bindings to json-schema To: Rob Herring , , , , CC: Grant Likely , Kumar Gala , Frank Rowand , Mark Rutland , Linus Walleij , Olof Johansson , Arnd Bergmann , Mark Brown , Tom Rini , Pantelis Antoniou , Geert Uytterhoeven , Jonathan Cameron , Bjorn Andersson , Kevin Hilman References: <20181005165848.3474-1-robh@kernel.org> <20181005165848.3474-22-robh@kernel.org> From: Sekhar Nori Message-ID: Date: Tue, 9 Oct 2018 17:29:06 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20181005165848.3474-22-robh@kernel.org> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Friday 05 October 2018 10:28 PM, Rob Herring wrote: > Convert TI Davinci SoC bindings to DT schema format using json-schema. > > Cc: Sekhar Nori > Cc: Kevin Hilman > Cc: Mark Rutland > Cc: devicetree@vger.kernel.org > Signed-off-by: Rob Herring > --- > .../devicetree/bindings/arm/davinci.txt | 25 ------------------ > .../bindings/arm/ti/ti,davinci.yaml | 26 +++++++++++++++++++ > 2 files changed, 26 insertions(+), 25 deletions(-) > delete mode 100644 Documentation/devicetree/bindings/arm/davinci.txt > create mode 100644 Documentation/devicetree/bindings/arm/ti/ti,davinci.yaml > > diff --git a/Documentation/devicetree/bindings/arm/davinci.txt b/Documentation/devicetree/bindings/arm/davinci.txt > deleted file mode 100644 > index 715622c36260..000000000000 > --- a/Documentation/devicetree/bindings/arm/davinci.txt > +++ /dev/null > @@ -1,25 +0,0 @@ > -Texas Instruments DaVinci Platforms Device Tree Bindings > --------------------------------------------------------- > - > -DA850/OMAP-L138/AM18x Evaluation Module (EVM) board > -Required root node properties: > - - compatible = "ti,da850-evm", "ti,da850"; > - > -DA850/OMAP-L138/AM18x L138/C6748 Development Kit (LCDK) board > -Required root node properties: > - - compatible = "ti,da850-lcdk", "ti,da850"; > - > -EnBW AM1808 based CMC board > -Required root node properties: > - - compatible = "enbw,cmc", "ti,da850; > - > -LEGO MINDSTORMS EV3 (AM1808 based) > -Required root node properties: > - - compatible = "lego,ev3", "ti,da850"; > - > -Generic DaVinci Boards > ----------------------- > - > -DA850/OMAP-L138/AM18x generic board > -Required root node properties: > - - compatible = "ti,da850"; > diff --git a/Documentation/devicetree/bindings/arm/ti/ti,davinci.yaml b/Documentation/devicetree/bindings/arm/ti/ti,davinci.yaml > new file mode 100644 > index 000000000000..2675cae91a60 > --- /dev/null > +++ b/Documentation/devicetree/bindings/arm/ti/ti,davinci.yaml > @@ -0,0 +1,26 @@ > +# SPDX-License-Identifier: None > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/bindings/arm/davinci.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Texas Instruments DaVinci Platforms Device Tree Bindings > + > +maintainers: > + - Sekhar Nori > +description: | > + DA850/OMAP-L138/AM18x based boards > + > + > +properties: > + $nodename: > + const: '/' > + compatible: > + items: > + - enum: > + - ti,da850-evm > + - ti,da850-lcdk > + - enbw,cmc > + - lego,ev3 The boards had some reasonable human readable description earlier, which has been lost now. Is there a way to bring that back? Apart from that, looks good to me. Thanks, Sekhar > + - const: ti,da850 > +... > -- > 2.17.1 >