Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp685707imm; Fri, 5 Oct 2018 10:02:43 -0700 (PDT) X-Google-Smtp-Source: ACcGV62mEyzgfRIsrWPwYnMHOXMtlHnNHmW5q6OcRRRbeqF9SVRMOG9dujPIbTI77RjDfrARIdar X-Received: by 2002:a65:6295:: with SMTP id f21-v6mr11116183pgv.167.1538758963018; Fri, 05 Oct 2018 10:02:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538758962; cv=none; d=google.com; s=arc-20160816; b=m6fqOEwW8+BpDUxTUz1dBr+6o96sHUZP0pNiM5uQpUaIN4tjmEHOyki+YrDOwOgui6 xtI9kPrxQQubNFGsuv8Kcy1TKYWXie50Lm5G03fB9P2VBtIRp3T8oM9XukjsxOO4Hqat JIq6E+snERQkIlVCzJ91OAOHufGCoAL6+FfUB57MPhcmW6B4rg6kTRtoiqAvculZdsMP C6/6NyX8y/T6he6o33hRf6s1Y3rQTw42OjGEpxj1N3M02+6eewowVcceQ6R5X01o8wQd +CM5AsIsrz29dAZ/7+98vdzBovGDRErxSQfRj5yne1RpudemAdyHtE4dqxGdTXmYeU11 F4Sw== 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=y7aoVKyFfwtD/XX+mmuwaVWhSjIowWCZ6eMMY+0377c=; b=OObOsSERWnOtE+r8NtSxlBXzImy1nY7Wz5MRdYK/2Gfcow6zJXIRNBxjQXfrSIRhQQ 3UT41FBD9GbU5SoZmMxLkQbIhMLSDde5PGlVBXoj2NgS3atJvtJ8xRn0mLRShns/nnYN NeJeVS5BwUyNkapuVi7K5mr0RlEFV0xKFS/ndqLPD7GlePJ2nYqajWPbbOsZ0kwwfx9p 3iVmKBZHcy4zuHc3Bs/oeX6dpqdlLgb0zzjJ4qcSBVCg4t/hBitW2oXiIeMmWvcfYwMa KsgWwmPRan8mM37sIcgVCdOzv1RdsIesVBwtMx8Fen0qMcRoCOX/LQgfCtRCRrdnQemx JqnA== 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 u1-v6si9352015plb.291.2018.10.05.10.02.27; Fri, 05 Oct 2018 10:02:42 -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 S1729480AbeJEX7A (ORCPT + 99 others); Fri, 5 Oct 2018 19:59:00 -0400 Received: from mail-ot1-f68.google.com ([209.85.210.68]:40339 "EHLO mail-ot1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729453AbeJEX67 (ORCPT ); Fri, 5 Oct 2018 19:58:59 -0400 Received: by mail-ot1-f68.google.com with SMTP id w67so13338959ota.7; 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=lXkVmhfrqA3PgNHSu+mW4aiHJYtURzAI0T5KqajLQJt7+ZhuVTwP3DmtE8kKAH9q+m QJwJPg2qfyY1FnhcFmICtKRlabkdUKoyymbiveJ81+oo4Imo+NHVpAZNFIedew05+xNE bMVQLRb1iHZdJBij1HphZCVQ+QbFQCR/e4KcEQ7T53w5sjf0fbz4jYvJP3MHcLPPZtpF ddB64CvV2LrpPkHrNy2WMRgchfw85XKKCNuwCQbOWx6DtS9Nu4/8S6Zkmcbua2Za1rjb Ivl2CeuFR/RHR2kGf+cjYA+XZcYZ+eLx9kAR76mOBmP2k3aJY3vF/wNFh8Vt82rCpb/i hVJg== X-Gm-Message-State: ABuFfoh8DB/vc+CjIYh0G6D0k8sNAXbN/xt0NMZCdyghfmQXOjH5MBiz x6g32lZRe23TcqX8MDVYLX93TLlVJw== 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 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 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> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 +... -- 2.17.1