From patchwork Fri Oct 5 16:58:36 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: 10628587 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 1F44B112B for ; Fri, 5 Oct 2018 17:54:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0C45A288DA for ; Fri, 5 Oct 2018 17:54:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0015B29B62; Fri, 5 Oct 2018 17:54:34 +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 9E275288DA for ; Fri, 5 Oct 2018 17:54:34 +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=y9tZNb4CQ1Nj4TwMp+5sSFxSJH2CtxW6uoprY4+jcnc=; b=CKqwtkOnmZl4wz9qE/r+ceHXNM P5a4p7y1HPyOw6iEqJS5gTIBVRK1Ppd5NIBhmnVNUXJnTzKZiANCWwklvIKj8CAXVpi0DXFMHLCkH oMndd3mhSOcLQpU+4gAHnZlOkdotQIwxH2b/jqBhvPZih0W9urYaj8FOLTVpXaH56jXGJGtAiYrT3 z1vNfwHDz2ljR0bhVPX9g66oVQhLmKy7N+c5cfP3EwEORPX1detWFoNsVotmxzYU3dcCGTFaxy/Vt QoW0DqpOLXh67MmLHlHUTZQDCyKrs5znMj6Pfar4NbMkCvIIyaUNQW5422hnDaFXQ19Xix14mnM9d ceU2nu1A==; 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 1g8UHt-0007hl-3U; Fri, 05 Oct 2018 17:53:17 +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 1g8UBx-0003x6-9J for linux-arm-kernel@bombadil.infradead.org; Fri, 05 Oct 2018 17:47:09 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding: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=y7aoVKyFfwtD/XX+mmuwaVWhSjIowWCZ6eMMY+0377c=; b=EF/XFBl/ZIByOyDr6iki1qE0L y/KgjBgw08MylBp5Fg68z/yUpomP3MGyhwccdHgXFxD+IE+Wv5CwPFw8Ihn7HU9cJ+pxSXoh2ZrlU C4Ohd9sNAY9WGW/r8XjAHmrh3vecqh72K9NEDP+QHSj2ClsZrbAengbmjWfmz6YzZyuiuxQ+lmn/P Mmkdlv2YmKjJ7h8W3N8RSTOgYkycoQpGtJMqVcakwUrFkVMkHTctEtXFEG+JbBoeEo4Lfm8IEuWFR p6pKy4J44BrqMSujrauCEJwNYU3pbFomuGzU7cgIUjWiux2Ko3noJpsMQVp01uUEpXY1C3m8wr00p U1qY6CDnA==; Received: from mail-ot1-f65.google.com ([209.85.210.65]) by merlin.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g8TRv-0005fM-PP for linux-arm-kernel@lists.infradead.org; Fri, 05 Oct 2018 16:59:36 +0000 Received: by mail-ot1-f65.google.com with SMTP id l1so30154otj.5 for ; Fri, 05 Oct 2018 09:59:25 -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=y7aoVKyFfwtD/XX+mmuwaVWhSjIowWCZ6eMMY+0377c=; b=eCZIqSdCG1bjwzPdBd/4dgEfSew+awm0p4mgFaDmUCDfUqJ3VHvcrf4HvtpGyfiGRk L2fhxJjXGeDbWmojOIma2Cx4J/9Tr6M4HqxLGtOCraXQFJwtT0sfnxa4XnpHXgVcQwyq io8iw9QFZB36AnmI1cpWGs3uKuoWjnFNporiaK8oFDhHpPE8QjyV9zEesov8aT4yMvIl McBm692NC3TdQfrP0XwZ2ME8ADmTPGGVRMXayZ7PE5IWzhh3VVaffMIaCiGFFMYoOWzH HyiO4v3ET/RXxplBerwlQa+r+4m5d5gPfqGsxt45REQRWowEQHfS7QTK4f2i+qnGuHCS R9dw== X-Gm-Message-State: ABuFfogU4a27eQAIgubzLQ99o4sgx9Nnh2y9FgSHCDZqCTavgplXRXUF M97R2oReWgVoILcwOtGL9w== X-Google-Smtp-Source: ACcGV63AXxjp9n2DA/7x8LwESe3X3ifNCO5wYGtNbwqG0vh+OYNB0OLz/egD72iUV3+eY0J8UGJKuQ== X-Received: by 2002:a9d:2af:: with SMTP id 44-v6mr6580039otl.244.1538758764568; Fri, 05 Oct 2018 09:59:24 -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.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 05 Oct 2018 09:59:23 -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 24/36] dt-bindings: arm: Convert TI nspire board/soc bindings to json-schema Date: Fri, 5 Oct 2018 11:58:36 -0500 Message-Id: <20181005165848.3474-25-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_125935_894518_64686CDB X-CRM114-Status: GOOD ( 16.77 ) 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 , Linus Walleij , Pantelis Antoniou , Bjorn Andersson , Mark Brown , Geert Uytterhoeven , Olof Johansson , 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 TI NSpire SoC bindings to DT schema format using json-schema. Cc: Mark Rutland Cc: devicetree@vger.kernel.org Signed-off-by: Rob Herring --- .../devicetree/bindings/arm/nspire.txt | 14 ----------- .../devicetree/bindings/arm/ti/nspire.yaml | 24 +++++++++++++++++++ 2 files changed, 24 insertions(+), 14 deletions(-) delete mode 100644 Documentation/devicetree/bindings/arm/nspire.txt create mode 100644 Documentation/devicetree/bindings/arm/ti/nspire.yaml diff --git a/Documentation/devicetree/bindings/arm/nspire.txt b/Documentation/devicetree/bindings/arm/nspire.txt deleted file mode 100644 index 4d08518bd176..000000000000 --- a/Documentation/devicetree/bindings/arm/nspire.txt +++ /dev/null @@ -1,14 +0,0 @@ -TI-NSPIRE calculators - -Required properties: -- compatible: Compatible property value should contain "ti,nspire". - CX models should have "ti,nspire-cx" - Touchpad models should have "ti,nspire-tp" - Clickpad models should have "ti,nspire-clp" - -Example: - -/ { - model = "TI-NSPIRE CX"; - compatible = "ti,nspire-cx"; - ... diff --git a/Documentation/devicetree/bindings/arm/ti/nspire.yaml b/Documentation/devicetree/bindings/arm/ti/nspire.yaml new file mode 100644 index 000000000000..882f79f95942 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/ti/nspire.yaml @@ -0,0 +1,24 @@ +# SPDX-License-Identifier: None +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/bindings/arm/nspire.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: TI-NSPIRE calculators + +maintainers: + - Daniel Tang + +properties: + $nodename: + const: '/' + compatible: + items: + - enum: + # CX models + - ti,nspire-cx + # Touchpad models + - ti,nspire-tp + # Clickpad models + - ti,nspire-clp +...