From patchwork Fri Oct 5 16:58:37 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: 148249 Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp689375lji; Fri, 5 Oct 2018 09:59:31 -0700 (PDT) X-Google-Smtp-Source: ACcGV63pJ24N80dvQEY39spfnUKGdMRGrVzKugFaE2z6IhebxZE8GXr2YHGXh0ngN0JcHp1krWzZ X-Received: by 2002:a63:2f81:: with SMTP id v123-v6mr10575396pgv.223.1538758771576; Fri, 05 Oct 2018 09:59:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538758771; cv=none; d=google.com; s=arc-20160816; b=QM/8UmH0WXIOwBUI4K8cprn8n+5w8VaeOkZffF2zwgOmsst8eCTFrUomkPkhQi+3tT Iwx8k2s2soHsOA5CB5Xe8xBnTpwfFgY7MIDFOcOI7FvAIkNxJUsa8WSOTdJRWt/7BRwB VkRgzxN/pSj8wAMck3pkU/drSXhSgrUuDPygTjVFQmZNJrKYJRibwHcAC6yCBPOMODV9 xXx7yp3yWfz8/HQPYUUfSPAxykY8FnkNhfMc8wOs1lkcqQm2QgPLqVKRstBvkaUVUlLB 64WODsWiuxy8jT8kWNg83JC5aZr3IPumqXByez80Zol+qhQ89reeSGvJt/YO8m9z2Yyq bA7g== 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=LOcP7SKttVPj8DIgwnpgktISVP3hKyMV9PP4Ts7Q0SY=; b=JVN5N+u0Qr8p2tVZXOB6AJ5ZfwTIm2Maq5mqx22JqWJV7CtIatpm7mLdlDgP/nRBHM czdX5hiBCm2SwqcFLcxNCNDjIc/czgxINPxOlSxGW+r+ah808CavZMxEpRavOlKxdoox uEIYJn7ZXRy8GM9g03YAj5YaOjvbUhx4KkBOOA0fV8NK3fnALy6qIy91/LwrXxN1SR14 PYnzuA+/nqV/jnsKaVZJUCugz20nblwXsxauPzK6OqANM4Q9/RTNgWvGvDPtZDAes7mx GHLnvcatqP6QTS28cqET6wuQj0F2jx9X2q0gBKi6NinaMDyEFb2spZFJ1KtN6pTktQ+F 1ztw== 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 v9-v6si10861318pfj.167.2018.10.05.09.59.31; Fri, 05 Oct 2018 09:59:31 -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 S1729508AbeJEX7C (ORCPT + 32 others); Fri, 5 Oct 2018 19:59:02 -0400 Received: from mail-ot1-f67.google.com ([209.85.210.67]:36975 "EHLO mail-ot1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729278AbeJEX7A (ORCPT ); Fri, 5 Oct 2018 19:59:00 -0400 Received: by mail-ot1-f67.google.com with SMTP id o13-v6so13350876otl.4; Fri, 05 Oct 2018 09:59:26 -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=LOcP7SKttVPj8DIgwnpgktISVP3hKyMV9PP4Ts7Q0SY=; b=H89WgkuaO1ALxX8QjhfVHsa9vFy3A/YTlVQlloqvH8WnTmdoc+tfmPEfaUtcvNBFq0 Sgs+/Ix0UwGn0N3lU+ss1Ue6va3dm/VIPH2Z3byYzMKLbxjKvPvNOC6D5RSeiZvsdZAS GWXNjdx0fQy7y3ZaooQEIEd00M2UJRcMlN6eU8hsirShw1dy2julTBGEUpwadIo1UaK5 jG0DIieIMgMiKrJuVTGsbbmlnri31gFdWlhMTTvKSr13SSgkE7lBPupmqx1/v0C4ThkM +LdvCYXwNI/rUzhd3mPSFD7NeGFqrX5ODWYeKFMGdmudjmcvj5iNoy7Oi6J4uo6gucOL 2EmQ== X-Gm-Message-State: ABuFfoj42jmAK6u+pC8lsAMT9Lu7jloniSroxvtfi0E0KJb30US/+sq6 EKc7yzZxZ3qvaHebwu0IC9ZVKKxNEA== X-Received: by 2002:a9d:3cd0:: with SMTP id t16mr7184592otf.158.1538758765884; Fri, 05 Oct 2018 09:59:25 -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.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 05 Oct 2018 09:59:25 -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 , Neil Armstrong , linux-oxnas@groups.io Subject: [PATCH 25/36] dt-bindings: arm: Convert Oxford Semi board/soc bindings to json-schema Date: Fri, 5 Oct 2018 11:58:37 -0500 Message-Id: <20181005165848.3474-26-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 Oxford Semi SoC bindings to DT schema format using json-schema. Cc: Mark Rutland Cc: Neil Armstrong Cc: devicetree@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Cc: linux-oxnas@groups.io Signed-off-by: Rob Herring --- .../devicetree/bindings/arm/oxnas.txt | 14 ----------- .../devicetree/bindings/arm/oxnas.yaml | 25 +++++++++++++++++++ 2 files changed, 25 insertions(+), 14 deletions(-) delete mode 100644 Documentation/devicetree/bindings/arm/oxnas.txt create mode 100644 Documentation/devicetree/bindings/arm/oxnas.yaml -- 2.17.1 diff --git a/Documentation/devicetree/bindings/arm/oxnas.txt b/Documentation/devicetree/bindings/arm/oxnas.txt deleted file mode 100644 index ac64e60f99f1..000000000000 --- a/Documentation/devicetree/bindings/arm/oxnas.txt +++ /dev/null @@ -1,14 +0,0 @@ -Oxford Semiconductor OXNAS SoCs Family device tree bindings -------------------------------------------- - -Boards with the OX810SE SoC shall have the following properties: - Required root node property: - compatible: "oxsemi,ox810se" - -Boards with the OX820 SoC shall have the following properties: - Required root node property: - compatible: "oxsemi,ox820" - -Board compatible values: - - "wd,mbwe" (OX810SE) - - "cloudengines,pogoplugv3" (OX820) diff --git a/Documentation/devicetree/bindings/arm/oxnas.yaml b/Documentation/devicetree/bindings/arm/oxnas.yaml new file mode 100644 index 000000000000..c847a5707417 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/oxnas.yaml @@ -0,0 +1,25 @@ +# SPDX-License-Identifier: None +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/bindings/arm/oxnas.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Oxford Semiconductor OXNAS SoCs Family device tree bindings + +maintainers: + - Neil Armstrong + +properties: + $nodename: + const: '/' + compatible: + oneOf: + - items: + - enum: + - wd,mbwe + - const: oxsemi,ox810se + + - items: + - enum: + - cloudengines,pogoplugv3 + - const: oxsemi,ox820