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: 10628501 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 87DCA933 for ; Fri, 5 Oct 2018 17:10:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6DA9129ACD for ; Fri, 5 Oct 2018 17:10:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6BB5029AD8; Fri, 5 Oct 2018 17:10:51 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id E656229AD3 for ; Fri, 5 Oct 2018 17:10:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=ZNLcvXyyaDqA1oZz1Zj0YkVwP/4WJhcMnJllfjbffYc=; b=A+rlmIIt6PD+7Yfk+Wa0zyqoAz du8/6W5i1QcxwjviN/9wdrQnoH0Pzv55susR0X0pe9y5RdHJltGyiVwNlL2pMxuIFbnke1s02FyPg cfVHf0aAXiR6J3Ikqs7uSZ6dJEmuQCztE84/80mo3w0wt1uvJfnVs8+CnYpr2C0bhx/YaV3KM0S5A SAX+o4cj42J2g5q+/+f3BOLoFeSXnoRIr/Ptzj3fdpVKlKiJoCHK8Yxhy3pHtRUfW4XObmR1cBh4X zVJQWEhsLMV5H9cYbsIDeaWNQA2cjyoTKkb6soJwMvBgadMgrdv/CSrqFo0ejr+yuvY97FFLIcJOU iQ0PbCMw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1g8Tcc-0007my-1p; Fri, 05 Oct 2018 17:10:38 +0000 Received: from mail-ot1-f68.google.com ([209.85.210.68]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g8TRx-0007jX-Ig for linux-arm-kernel@lists.infradead.org; Fri, 05 Oct 2018 17:01:30 +0000 Received: by mail-ot1-f68.google.com with SMTP id o21so13057033otb.13 for ; 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=Yq6FilisaA2JRbjPSMM5w9aG3FTHmFHSUimrwkWYiVLWUCpwS5JVyAVVy8ewK66fyn quDwloin7e/VDxs9NE3K//Qa5LKiouyThmMi8hpnESP2RipPyx1p39js3HSw33/HjE8r 2jgMospiTOt202hNelOnSlouFb3AFVlhAbpKgc7z5VzWzs1bc9PueUEvFVwQqRWCZ7FC WySvQc85747guYRZiBd9sj+p2Dst86ZJv+N6LM3NXnp/dmaf2OG0NjXgaLk2i/1Meotx pOOgJsLnHLSx5geytLMmh7oaJ1ti0nahZMOwf1tTSh8E93E8VpwB1MxLPsy2gQk9MGtN SkuQ== X-Gm-Message-State: ABuFfohnNkOURXsmqmmTqg8hfn/Q3QdJjuOmEI11X2V91Vbpd4fJRF9V 2uZSe0mIowS3cavSVhCrhg== X-Google-Smtp-Source: ACcGV61IA8cpWwDpWkKLrO0qxl/0iEZNICtaEWbvZ7Ure+YS4a+2pnF0oFJ57Fsy1lfFc7upccIk2A== 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181005_095937_702300_4C421991 X-CRM114-Status: GOOD ( 14.82 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Tom Rini , Kumar Gala , Grant Likely , Arnd Bergmann , Neil Armstrong , Linus Walleij , Pantelis Antoniou , Bjorn Andersson , Mark Brown , Geert Uytterhoeven , Olof Johansson , linux-oxnas@groups.io, Frank Rowand , Jonathan Cameron MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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 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