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 X-Patchwork-Id: 148248 Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp689352lji; Fri, 5 Oct 2018 09:59:30 -0700 (PDT) X-Google-Smtp-Source: ACcGV628hOC0Zdb5SFHqpai0aKPI0sORDAmm5OxtmK6BGhmhkxLiJ/Q71jAvz9g8FeYJFKTkSSaJ X-Received: by 2002:a62:1b45:: with SMTP id b66-v6mr12827098pfb.94.1538758769858; Fri, 05 Oct 2018 09:59:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538758769; cv=none; d=google.com; s=arc-20160816; b=xel8KvgNY9HWaw9EPtVMUOs8jF7iBE+oozqTwO7cP+G94iBfuUDzyjXjRO4WB5Km1l ThdoNRtFGAYy4T3vq4G0LktwkVdbzYyS/kQRT++NGiZPO2uP/D52k08Z6AXJ7DoQsJ80 pcQIXq3MmIeVjr0wuYTkBeKrqVcJlQHAt5KpGqUVPZGs895s3lVoBXTyTuty7gMsW8wK WFrNC7XeDd2THoqGho/UhrJ2kWjH79VdRONTAvJ6aSieyHV39Zb9Qa0ai0y0KV2MM6Kv UJPZfX+dpxI9ndUoBMwiMcJTUke7VWASnI1Y+lF9NsT0ICqNUorX4nS0OhQ+anHc6+Vg rbzA== 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 r29-v6si501185pff.262.2018.10.05.09.59.29; Fri, 05 Oct 2018 09:59:29 -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 S1729488AbeJEX7A (ORCPT + 32 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 -- 2.17.1 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 +...