From patchwork Fri Oct 5 16:58:33 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Rob Herring \(Arm\)" X-Patchwork-Id: 148261 Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp691046lji; Fri, 5 Oct 2018 10:01:01 -0700 (PDT) X-Google-Smtp-Source: ACcGV61x0SFddAcBLIE7I+qyNXG8fynIAHX2FMo9Iz6jJCIaGgn20SpfoSINInYk+lJuVCZKLhfU X-Received: by 2002:a63:e30c:: with SMTP id f12-v6mr11127743pgh.263.1538758861128; Fri, 05 Oct 2018 10:01:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538758861; cv=none; d=google.com; s=arc-20160816; b=V1CP54i7cm2lXj2tCJmrKOxL4ZiM+qZ1sovkv1rNDHF566S+Qi6jzFcLrqA+s/rHJ9 AbtqDojzSkHtXLnPhhgo8KLIDXYsgb+QACWsD6xo73M3UveUTlUcIZrXPJwfh1DDQK6n FlLgOpdbMTQC7/x4lPmlU3RA/WRszMrNziWNh4vNT4kixGDWwuMiBuU5/3SELdcwDQPx q3Spm/FCOdzXLxTbAOnDTBEOD0x6PQEHEtuTM8SHJdFdGJkc2MA2wi87CvXw82rktrhW 8k25K4n4hmYf/lE4MCi3ZnKrq+052QWbOWxF026oZ/aL8cHfnRWgCmRHyA8A4l4ZVQ0L BZyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=vAcI980IVTgNbupxMoc9uNYhSqenj2+Wb2EWxNk+YTs=; b=wpzwLK77bc6cfKtfZP52GQUdf1p6q8iya0LMjPMusEQASh+v1VV1eLt12mrgMyBVsf gcAesZGwcBHMhScpZ8n0CXJPFXuQ3IcstrFezD0AaIIhaJzWdySWosk8s8QY4AEMHTjB eeQR2fRQKg/5BkJS6Qh5Q5F86IcrcsAu7A/XA3+3zTwyRkl2zwXLV6ADN0eZqx5iJHHt mKUT5/b531QrtnOhX7y95MisL+taMOzDHwYIdT99jKUPhsk3Eb3wYikTQ+8oFdEF1ZTH +H29CgELacrGW9CPoUqAbeNdpE8zyL+DwgkJg4GEIogLSGj8Lfa1BBXxYUBFjc+51YbX bpfA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b12-v6si8860280pgj.87.2018.10.05.10.01.00; Fri, 05 Oct 2018 10:01:01 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727941AbeJFAAe (ORCPT + 6 others); Fri, 5 Oct 2018 20:00:34 -0400 Received: from mail-oi1-f194.google.com ([209.85.167.194]:39899 "EHLO mail-oi1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729340AbeJEX6z (ORCPT ); Fri, 5 Oct 2018 19:58:55 -0400 Received: by mail-oi1-f194.google.com with SMTP id y81-v6so10952769oia.6; Fri, 05 Oct 2018 09:59:21 -0700 (PDT) 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; bh=vAcI980IVTgNbupxMoc9uNYhSqenj2+Wb2EWxNk+YTs=; b=KP0h8m9yO2W98OkBk2qBDlDW8hVug+wsArlPtowkuQKObRC3V3D+d1UCiNJUz9UceX zKNgaZOYHwF05apN2LGy38mRLJBqLA4uVvF7vcjIDD4gi5x7QsdwiQAhK+rezU2Pb/8x TESYRefjW1Gh/1Ag6kxqRjCnbHZ70KQELcKbikU0qGVZmagxDt0i1x/TavVi8WaTatlD LhoD4nlIY1cMOgLxtJsgST/ncJRdIBvwmjfP+SpAJC3TcywW83WF8swW9iY1BygR7oeE xE8vem8uQPLzVF5WxS9PkVRgUsonDBtJ9IgHEBDBiIPBd9/iOwYBL6UXTkeq2m4176to 1cVw== X-Gm-Message-State: ABuFfojR4/jVIuZVatx9z1NQG05ovUSRYNSPnES6eoERH8vwcL2UiQF3 U6XY4O+iI7Zg6EYdRQdTbdYF3d5Qbg== X-Received: by 2002:aca:38d5:: with SMTP id f204-v6mr5981634oia.195.1538758760439; Fri, 05 Oct 2018 09:59:20 -0700 (PDT) Received: from xps15.herring.priv (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.googlemail.com with ESMTPSA id u63-v6sm2904328ota.75.2018.10.05.09.59.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 05 Oct 2018 09:59:19 -0700 (PDT) From: Rob Herring To: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linuxppc-dev@lists.ozlabs.org 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 , Sekhar Nori , Kevin Hilman Subject: [PATCH 21/36] dt-bindings: arm: Convert TI davinci board/soc bindings to json-schema Date: Fri, 5 Oct 2018 11:58:33 -0500 Message-Id: <20181005165848.3474-22-robh@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181005165848.3474-1-robh@kernel.org> References: <20181005165848.3474-1-robh@kernel.org> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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 -- 2.17.1 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 + - const: ti,da850 +...