From patchwork Fri Oct 5 16:58:27 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 979642 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="BwwvMsa+"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=infradead.org header.i=@infradead.org header.b="qQCsWvE+"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 42RbfJ18g0z9s4Z for ; Sat, 6 Oct 2018 03:02:32 +1000 (AEST) 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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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=luGICjojUK7cwihtjt6EdtlMVd4irzZB8VStbHQy3GI=; b=BwwvMsa+gQwS0J PGsNMVZRbGY03Zh34IUOS2H436YB2+k3c+NTd1WNRA89zVPWi3XQcjhYYbzXFrCtffhB+D9Wm3Re3 psWYAZ8QHb2r9q7g8SBq7BoZmbZmewOcEZRhpJ86Z53D2yCDlWP6tHpxbZMMMLgcqiXBWtixPaCmM jKl5l77u61CW0MsFa6MRtyuj1RqxtZXKjzGYNZdHvxujZAVdEGb4kihyocL0kt3hqK0NKXClzHPoC t+WpvfoEnasZF84Zgij0eOAcqrzhF7dgij8xy+sfo75F7Obt31K9OxOVildytPcjTuyKFvB16yEou y3VGLfDCufkPQ/xr1ivQ==; 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 1g8TUb-0001au-S9; Fri, 05 Oct 2018 17:02:21 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g8TRg-0007gi-C2 for linux-arm-kernel@bombadil.infradead.org; Fri, 05 Oct 2018 16:59:20 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Transfer-Encoding:Content-Type: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=CPjyBcDgH3rQvK5Topeu+rZwcMHC70P5llkoEmHzmYE=; b=qQCsWvE+Idw2HsnHr68WCDSZr4 RDm9fTxAG0t2Wlg9YCd2otf52qkC5Ug41SpNCUVhikffhiDCvWC8tqbC02G1hZP8whVMBxoOop2lz eRHJRR2CIFVj3OT9IGXABqAAJNxosG+qmKBb1opjlpdZjsDpnaJgduNhM4tP57POtESBYBZ52VFvy IDy9+d4BxXGMMOxhnE0eZDKrq8P1rRWr+rZLqPgYPWfQrmraTxeZbyIeou4MD3r/l9ORqsJpnlwOs nCV6wQEFf7DKfbab8uwuaPS8tDvQNGBWuycrdS+d6sCORVh7qK13fYz8Dkp4f7RAcxnJ/8t8suFkS 5sxYYlzA==; Received: from mail-oi1-f195.google.com ([209.85.167.195]) by merlin.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g8TRc-0005dp-0w for linux-arm-kernel@lists.infradead.org; Fri, 05 Oct 2018 16:59:17 +0000 Received: by mail-oi1-f195.google.com with SMTP id l197-v6so10945216oib.8 for ; Fri, 05 Oct 2018 09:59:12 -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:mime-version:content-transfer-encoding; bh=CPjyBcDgH3rQvK5Topeu+rZwcMHC70P5llkoEmHzmYE=; b=eOx5nN67sqBYmQvJizx11RhYeSvKtzis5c9CVN0OTv26dBVoaNKypoo7xKhCmBAeYw lDQiUk/9tNJKGutlSm8vyrMXEr7KZIy5QMds9qsY5WYf+icOYfEYtMDBhfZO/E0gAYmU QWT+g5dduqkF8YuVR6ehTH3ycaS3yEwbEaWOSw2KfPHb/CPHjN+7AUuU63N+KdlFoo9W U7okt+3y5q3H/qNgo1mDaJjInF8v+MFWQx3GU1jVLdHjueLHirGL1AzyiExQWyxMfKos /lUt6mfiOLTsjFZM8jcXvv3+vDkf2QdaQD20MSX2OicijYkGF+Xur99G6vrgrob1SS83 njlg== X-Gm-Message-State: ABuFfogQhUw7Wf7r9+/H3mJL35SNzYi6MgzVl9maa5I+cFeR75TF99SA 1R/N4Zw/pKKSqTKNENlnwA== X-Google-Smtp-Source: ACcGV63zJcemAHN9pGK3CQ96Xg0N80/A72O3lshCWxDxbzkvqiuBxIVevpG07Krmfcy6q/4N8CFL5A== X-Received: by 2002:aca:3585:: with SMTP id c127-v6mr1661072oia.63.1538758751756; Fri, 05 Oct 2018 09:59:11 -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.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 05 Oct 2018 09:59:11 -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 15/36] dt-bindings: arm: Convert Actions Semi bindings to jsonschema Date: Fri, 5 Oct 2018 11:58:27 -0500 Message-Id: <20181005165848.3474-16-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> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181005_125916_108227_6D0E9E33 X-CRM114-Status: GOOD ( 17.17 ) X-Spam-Score: 0.7 (/) X-Spam-Report: SpamAssassin version 3.4.2 on merlin.infradead.org summary: Content analysis details: (0.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [209.85.167.195 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (robherring2[at]gmail.com) 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit (robherring2[at]gmail.com) 0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.167.195 listed in wl.mailspike.net] 0.2 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and EnvelopeFrom freemail headers are different X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Tom Rini , Kumar Gala , Grant Likely , Arnd Bergmann , Linus Walleij , Pantelis Antoniou , Bjorn Andersson , Mark Brown , Geert Uytterhoeven , Olof Johansson , Frank Rowand , =?utf-8?q?Andreas_F=C3=A4rber?= , Jonathan Cameron Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org List-Id: linux-imx-kernel.lists.patchwork.ozlabs.org Convert Actions Semi SoC bindings to DT schema format using json-schema. Cc: "Andreas Färber" Cc: Mark Rutland Cc: linux-arm-kernel@lists.infradead.org Cc: devicetree@vger.kernel.org Signed-off-by: Rob Herring --- .../devicetree/bindings/arm/actions.txt | 56 ------------------- .../devicetree/bindings/arm/actions.yaml | 34 +++++++++++ 2 files changed, 34 insertions(+), 56 deletions(-) delete mode 100644 Documentation/devicetree/bindings/arm/actions.txt create mode 100644 Documentation/devicetree/bindings/arm/actions.yaml diff --git a/Documentation/devicetree/bindings/arm/actions.txt b/Documentation/devicetree/bindings/arm/actions.txt deleted file mode 100644 index d54f33c4e0da..000000000000 --- a/Documentation/devicetree/bindings/arm/actions.txt +++ /dev/null @@ -1,56 +0,0 @@ -Actions Semi platforms device tree bindings -------------------------------------------- - - -S500 SoC -======== - -Required root node properties: - - - compatible : must contain "actions,s500" - - -Modules: - -Root node property compatible must contain, depending on module: - - - LeMaker Guitar: "lemaker,guitar" - - -Boards: - -Root node property compatible must contain, depending on board: - - - Allo.com Sparky: "allo,sparky" - - Cubietech CubieBoard6: "cubietech,cubieboard6" - - LeMaker Guitar Base Board rev. B: "lemaker,guitar-bb-rev-b", "lemaker,guitar" - - -S700 SoC -======== - -Required root node properties: - -- compatible : must contain "actions,s700" - - -Boards: - -Root node property compatible must contain, depending on board: - - - Cubietech CubieBoard7: "cubietech,cubieboard7" - - -S900 SoC -======== - -Required root node properties: - -- compatible : must contain "actions,s900" - - -Boards: - -Root node property compatible must contain, depending on board: - - - uCRobotics Bubblegum-96: "ucrobotics,bubblegum-96" diff --git a/Documentation/devicetree/bindings/arm/actions.yaml b/Documentation/devicetree/bindings/arm/actions.yaml new file mode 100644 index 000000000000..af9345a228b4 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/actions.yaml @@ -0,0 +1,34 @@ +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/arm/actions.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Actions Semi platforms device tree bindings + +maintainers: + - Andreas Färber + +description: | + The Actions Semi S500 is a quad-core ARM Cortex-A9 SoC. The Actions Semi + S900 is a quad-core ARM Cortex-A53 SoC. + +properties: + compatible: + oneOf: + - items: + - enum: + - lemaker,guitar-bb-rev-b + - enum: + - lemaker,guitar + - allo,sparky + - cubietech,cubieboard6 + - const: actions,s500 + minItems: 2 + maxItems: 3 + additionalItems: false + - items: + - const: cubietech,cubieboard7 + - const: actions,s700 + - items: + - const: ucrobotics,bubblegum-96 + - const: actions,s900