From patchwork Mon Dec 3 21:32:23 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 152761 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp7318563ljp; Mon, 3 Dec 2018 13:33:24 -0800 (PST) X-Google-Smtp-Source: AFSGD/W+ZetUlumpv+bFl5OU/c+wbHHueKb1kgqO40q1aTSDnCx0RxVqRmN4V/eZiIxKh2lrj71e X-Received: by 2002:a63:d301:: with SMTP id b1mr14745066pgg.61.1543872803934; Mon, 03 Dec 2018 13:33:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543872803; cv=none; d=google.com; s=arc-20160816; b=tkWn6ljU1HDbGX61vcwlrcBc/+vW+FjhHNHPjkhH/l+OsnR/fsaqhT85JyGkzR7iM3 KxzqHuQPGAGN51i0nYIUfW468NMrUlStL2pUsS1UDFN5IspyoXFG2QJcju9vMlP8mFkC YpsD19LumOlD4cuG3f74vi4R/J5clZLQF8Bz2pOToq8r7pnolJDxYVvHDbqUFtFmyruq 8xupd7vRXtW+L+V5mdo1q61uoShHxY9gD5wddQUuZlVNfKwxtVV1/hkO8VgRK8xzQytV yLxh3tb0qc5ChFlx1YVyzzq3Rz1e0hIvUhKTX2txr+Os9Om3bWzjzVpScHH0+yCsSlyV yBtQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=bmY97rqmVLH/aYhI9MMshRrLQb1X3srsPldhSeApmNY=; b=dlomHIiOyFCXhRfZIf6kaqBRWLxoBiRsD9rzyngMI0aOrbmUu+FjOBRRbiANa6n0XH 3PnWRhqdWoYkC0UBo9typFKam+l1bu9lwu7DbP5Y6+hkUtIq/nyurYMD6J3YmQQ1r7TK plWcLhwISkF9FCzaYUm/pE8TrZ9UqQ1tQ2tEt2qpfbou/SxvApgw7f8ulXp5Bj5ipa/3 P+vuoKFIUiGc25Qc5YpgTF1e7doT2h05MHOGongUsW0BzHacwhosxqIK5vLWEFDa65nq OZJlVlhJIxONk9nT5161icMvRlDQCTj2NB3OpUov4AkHtvv4dSkowBy5+sWsXshz9UXB DjNA== 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 j13si13325602pgi.227.2018.12.03.13.33.23; Mon, 03 Dec 2018 13:33:23 -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; 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 S1726403AbeLCVdW (ORCPT + 32 others); Mon, 3 Dec 2018 16:33:22 -0500 Received: from mail-oi1-f195.google.com ([209.85.167.195]:41264 "EHLO mail-oi1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726347AbeLCVdH (ORCPT ); Mon, 3 Dec 2018 16:33:07 -0500 Received: by mail-oi1-f195.google.com with SMTP id j21so12345168oii.8; Mon, 03 Dec 2018 13:33:07 -0800 (PST) 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:mime-version:content-transfer-encoding; bh=bmY97rqmVLH/aYhI9MMshRrLQb1X3srsPldhSeApmNY=; b=nI7zm80+0PNNpk/xs0KU7760L4bYt3zC+OtLsMvHjKVpoTTuJaBMcWTHBDPjuaMYyX E2yxJMWWPpiNJcdM4O2ehLDzy0V3M3eCaXS8MrPqMcsl7k8nR+xH7q6Plyazzo7/9oTY HaefN8kLXkelprrGOA3MKv8iowj3VV12fPNJCQpuWuCsVHMBZKIFCpTocrjP/zd4ywCp yu27acO1jDE9Rnl3pT2bS2DdNgSlQsJ99hIdWAm1kpQlzMhxHlaMQG5xzbT74sPZJpuL 8z4KqbD5diAxcfm8pPnvBER7LKdmOJ1UOGLbiJ8WE8cTA7szx6Ua7mQEH6q57LgQ/FKJ UA7g== X-Gm-Message-State: AA+aEWZWKw9jV/THi2KOhdRi2DxOdd4K1KLDTyWCkBFaZ/HtG8Y63CCO pkADhYWScCWUqsMZBGd0QIcSdcU= X-Received: by 2002:a05:6808:287:: with SMTP id z7mr8198529oic.233.1543872786508; Mon, 03 Dec 2018 13:33:06 -0800 (PST) Received: from xps15.herring.priv (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.googlemail.com with ESMTPSA id c78sm8545501oig.30.2018.12.03.13.33.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 03 Dec 2018 13:33:05 -0800 (PST) From: Rob Herring To: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Sean Hudson , Frank Rowand , linux-arm-kernel@lists.infradead.org, linuxppc-dev@lists.ozlabs.org, Grant Likely , Kumar Gala , arm@kernel.org, Jun Nie , Mark Rutland , Shawn Guo Subject: [PATCH v2 34/34] dt-bindings: arm: Convert ZTE board/soc bindings to json-schema Date: Mon, 3 Dec 2018 15:32:23 -0600 Message-Id: <20181203213223.16986-35-robh@kernel.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181203213223.16986-1-robh@kernel.org> References: <20181203213223.16986-1-robh@kernel.org> MIME-Version: 1.0 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: Mark Rutland Cc: linux-arm-kernel@lists.infradead.org Cc: devicetree@vger.kernel.org Acked-by: Shawn Guo 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 -- 2.19.1 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..2d3fefdccdff --- /dev/null +++ b/Documentation/devicetree/bindings/arm/zte.yaml @@ -0,0 +1,26 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/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 + +...