Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp682561imm; Fri, 5 Oct 2018 10:00:15 -0700 (PDT) X-Google-Smtp-Source: ACcGV63m3r0vvhXFw9lSyJP/gkT3Nuu7dv1HQIQ5SqeghbUeUaWWcf6IQ18jjxx5gezwBoxL5v/y X-Received: by 2002:aa7:83cb:: with SMTP id j11-v6mr12837827pfn.91.1538758815390; Fri, 05 Oct 2018 10:00:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538758815; cv=none; d=google.com; s=arc-20160816; b=aWiF2ljBO+Mt8KvrIQQJWIXyNOc0EDTK3wbNg6e2Fcgy2FGQv+Y106KB1duYK1tElu FT39aSIicHzpfSJYrspxPeSHSMrxPxYa3B9a3400hd3J0K73HChOd495XEhiI4z7+24c m2yYTjg4D4hNc8OVhUl6KhyuK2zKWhAwxKlYQoey2r1A5X3r+mTkzMV1i1Qlx6xhT8/c gCSqp4ET/lprqBwhgDgWorhs2ZqHQ+wbKH3LEg1pUzv1IiJsDCI/6s+BmxzVSyVfEolN O4fqzzC4TLc+91oCaQPy9GbORTsYXkvB8qmpTFAK+2B1Qa/on7fUJe9pL1z/lZrn7aWD 1VUg== 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=x4wwXdEDKonGexnyVd35qeAgk07Sz5QTv+CVm/iQtLQ=; b=wEdcUHabE9vszaVxEkWVO8lTPOq0k/pcCU0kHDJlG3pDo+zRPFLWvysyfTWwn0s1hT H010+bPZ8iwIOGlV5yAWRU/CiTAZsTgtQOpuIly5OmcwwCvpc4vPc/HxxWb5iDUOaCZ9 oWT0cCEe4EpgB9H4FVqx9gX9v7/EYwe/U/7VTDswMjwBN1beOHKwLjD2bUf0JM7zmeWN eietg08bdVqAm9ZFZH6s1VEX9CkYocY3R/w6gElQ3xu76AChyolFe1yfs/7C/gJsnJPo aAHn0BC40pxfTA+Z4SII7d/d/NGEbdkESKCcZekxKsz3msU5X6Ecqrz7eg8OqIVrL/le lXUQ== ARC-Authentication-Results: i=1; mx.google.com; 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=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 h2-v6si10756203plk.350.2018.10.05.10.00.00; Fri, 05 Oct 2018 10:00:15 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729668AbeJEX7T (ORCPT + 99 others); Fri, 5 Oct 2018 19:59:19 -0400 Received: from mail-ot1-f68.google.com ([209.85.210.68]:38620 "EHLO mail-ot1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728502AbeJEX7P (ORCPT ); Fri, 5 Oct 2018 19:59:15 -0400 Received: by mail-ot1-f68.google.com with SMTP id l1so30852otj.5; Fri, 05 Oct 2018 09:59:41 -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=x4wwXdEDKonGexnyVd35qeAgk07Sz5QTv+CVm/iQtLQ=; b=RTp5XNM2F//A2Hbm937cb81CKpwWBSr82KcWk2qLw8UFlnpuKMKl8evGiqd3STtFaM vq+z83Gi39wbu1b+NFD0eNr8r4HGGRX8CtRoNOT0SJQNF20aKCnVkgJCB++ISyi2Pdtj j97wCTZI+Zo3SWtlLExb8iKellE82LZdpCX+j0z1GWmzpMvxKNJtxEqyIJI4mAoaKgWj GvpoL5Pys/iXlbK0z/et3Z13pj3a6Ef5hvelmEf0Ons1J75BHke6vYdto9OTN5tnLXGV e0CbAQ3gAHVrIQtdK6KlEgwBQoXUjrtCABSmNEFsI/aqZfV8EanMf5RqUUvtCjTwxFtN rwRQ== X-Gm-Message-State: ABuFfoiPHYzg9eZf4EO20Jxf8rcCMP8t7ejYhOT5+BtkM2Kht7FcL0eW V/rf89A9Ucf6CNQsXrjL6yPQ8766YQ== X-Received: by 2002:a9d:3bc7:: with SMTP id k65-v6mr6751836otc.23.1538758780591; Fri, 05 Oct 2018 09:59:40 -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.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 05 Oct 2018 09:59:40 -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 , Jun Nie , Baoyou Xie , Shawn Guo Subject: [PATCH 36/36] dt-bindings: arm: Convert ZTE board/soc bindings to json-schema Date: Fri, 5 Oct 2018 11:58:48 -0500 Message-Id: <20181005165848.3474-37-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: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Convert ZTE SoC bindings to DT schema format using json-schema. Cc: Jun Nie Cc: Baoyou Xie Cc: Shawn Guo Cc: Mark Rutland Cc: linux-arm-kernel@lists.infradead.org Cc: devicetree@vger.kernel.org Signed-off-by: Rob Herring --- Documentation/devicetree/bindings/arm/zte.txt | 14 ---------- .../devicetree/bindings/arm/zte.yaml | 26 +++++++++++++++++++ 2 files changed, 26 insertions(+), 14 deletions(-) delete mode 100644 Documentation/devicetree/bindings/arm/zte.txt create mode 100644 Documentation/devicetree/bindings/arm/zte.yaml diff --git a/Documentation/devicetree/bindings/arm/zte.txt b/Documentation/devicetree/bindings/arm/zte.txt deleted file mode 100644 index 340612794a37..000000000000 --- a/Documentation/devicetree/bindings/arm/zte.txt +++ /dev/null @@ -1,14 +0,0 @@ -ZTE platforms device tree bindings - ---------------------------------------- -- ZX296702 board: - Required root node properties: - - compatible = "zte,zx296702-ad1", "zte,zx296702" - ---------------------------------------- -- ZX296718 SoC: - Required root node properties: - - compatible = "zte,zx296718" - -ZX296718 EVB board: - - "zte,zx296718-evb" diff --git a/Documentation/devicetree/bindings/arm/zte.yaml b/Documentation/devicetree/bindings/arm/zte.yaml new file mode 100644 index 000000000000..147bd78f27ed --- /dev/null +++ b/Documentation/devicetree/bindings/arm/zte.yaml @@ -0,0 +1,26 @@ +# SPDX-License-Identifier: None +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/bindings/arm/zte.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: ZTE platforms device tree bindings + +maintainers: + - Jun Nie + +properties: + $nodename: + const: '/' + compatible: + oneOf: + - items: + - enum: + - zte,zx296702-ad1 + - const: zte,zx296702 + - items: + - enum: + - zte,zx296718-evb + - const: zte,zx296718 + +... -- 2.17.1