From patchwork Tue Jun 18 21:22:27 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 167194 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp4724128ilk; Tue, 18 Jun 2019 14:22:36 -0700 (PDT) X-Google-Smtp-Source: APXvYqyky9+U7a6nBVASjS4CfxcjCikq4mZ638r0nw053n61kM585rBRYp7+BzGGF8Esuysc+1tA X-Received: by 2002:aa7:90ce:: with SMTP id k14mr5530170pfk.239.1560892956390; Tue, 18 Jun 2019 14:22:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560892956; cv=none; d=google.com; s=arc-20160816; b=YMGMEcKcm0KcJeX+kWO387U9Ogzycxx313k3OAGf5Z7IOKMD+VSN54UHLox96GudmR ZqTDVBBTm4VpRKb6rHGWpy0Tx7GZ/T3245l9xZ66Pf55oNBj62AnLy9wjuSucodbUeyT 4ie1TQ/TIkiS6X3VySJWmbpgso/ck+4oCbr3RZfW9hTlr6hQW/l67osm9aeT4yDPZcQ5 kVZNFLc2QyBchyECcpORB9h7JUcgEeDRQJJQ//0dUAGFpbLO/o/n3Tpp0nVeLrVv2tGP IgmETt2rr50GQyy9GtDYjjDSJMCyFs5+k4DrytVT+p+WcavV1xZL9a2bPfjtLCB3Tqj9 R5iQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=dvwy0NMWxkK7T26JupGv0ID5o5uJQIlL2sATl6Jklow=; b=BkqYIDKI9RV76YGftmwk1QNe8OPM1iU4KnO48VCXiERWXH8tGgQXZRJ1nj8k3lGwrB /jCxXuv6dUHJcoqDg60TddYCIaAOHkiKf0hcBZT6A67oG80skFPK8SYWyJR8oweo4E0H gcwZuKz1ILVwN9O7h7/djQ0Muv1MpAKgyTSvI1W2MkJFJI4w0Yh+G/tVSspeOlWLeZtu dlCPpfER44raBQeTHSNtbbTVDCnkhyKQvquoXwvCiEvq9FuSmKUlxPjx0Be5yDoEF54R dLI1PaFyHCcAtw1bqBPMN4R9wwDd7LcieY7y3vufPQWs7AcY5HQ5kEAJ6L52LhPFy9ur uZnQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 p1si3182872pjo.33.2019.06.18.14.22.36; Tue, 18 Jun 2019 14:22:36 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-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 devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 S1730326AbfFRVWf (ORCPT + 8 others); Tue, 18 Jun 2019 17:22:35 -0400 Received: from mail-io1-f68.google.com ([209.85.166.68]:39357 "EHLO mail-io1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730102AbfFRVWf (ORCPT ); Tue, 18 Jun 2019 17:22:35 -0400 Received: by mail-io1-f68.google.com with SMTP id r185so27277596iod.6 for ; Tue, 18 Jun 2019 14:22:35 -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:mime-version :content-transfer-encoding; bh=dvwy0NMWxkK7T26JupGv0ID5o5uJQIlL2sATl6Jklow=; b=njrBUbkPZyy6M0iC+y6NhBJ9FJL+Djkh5qBZkpQEA0mC9i+0JzBlrSgCV7os08xpn5 9yT2M2SkhzzAspYqacqjuphjRPf1msxXGyEp882ltuXhxFhedSclKVkts1zn166AB+8G GpGjPfbyasm+2qTHWBkGZZCmGytgGtenEPvFPHNpIRCnhE8kqbNO7HspcilU7+PMmMYL 35zpV1BLLxf+nFO9gDpwpziMp04T1iSRD4xmV9hBus5R4t5vXeVaADVPzTk+58J0Vtxy AphDDzErz1GaP/+u60aDXFIprPzDQklchmRkKFJLSAw9sVo0pFnqSkuz5l2wH7u2aiPv tPlQ== X-Gm-Message-State: APjAAAV7J+dSWJiHnyXMcAY2KDyMQ+6xqJmsfK2y1tCzw13X2jxkfyUu N2pDS/83mfXG/chd9VaIueSFFw4= X-Received: by 2002:a6b:7f0b:: with SMTP id l11mr80712311ioq.282.1560892954485; Tue, 18 Jun 2019 14:22:34 -0700 (PDT) Received: from localhost.localdomain ([64.188.179.192]) by smtp.googlemail.com with ESMTPSA id p9sm13233480ioj.49.2019.06.18.14.22.33 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Tue, 18 Jun 2019 14:22:33 -0700 (PDT) From: Rob Herring To: devicetree@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, Roland Stigge Subject: [PATCH] dt-bindings: arm: Convert NXP LPC32xx board/soc bindings to json-schema Date: Tue, 18 Jun 2019 15:22:27 -0600 Message-Id: <20190618212229.32302-3-robh@kernel.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Convert NXP LPC32xx SoC bindings to DT schema format using json-schema. Cc: Roland Stigge Signed-off-by: Rob Herring --- .../devicetree/bindings/arm/nxp/lpc32xx.txt | 8 ------ .../devicetree/bindings/arm/nxp/lpc32xx.yaml | 25 +++++++++++++++++++ 2 files changed, 25 insertions(+), 8 deletions(-) delete mode 100644 Documentation/devicetree/bindings/arm/nxp/lpc32xx.txt create mode 100644 Documentation/devicetree/bindings/arm/nxp/lpc32xx.yaml -- 2.20.1 diff --git a/Documentation/devicetree/bindings/arm/nxp/lpc32xx.txt b/Documentation/devicetree/bindings/arm/nxp/lpc32xx.txt deleted file mode 100644 index 56ec8ddc4a3b..000000000000 --- a/Documentation/devicetree/bindings/arm/nxp/lpc32xx.txt +++ /dev/null @@ -1,8 +0,0 @@ -NXP LPC32xx Platforms Device Tree Bindings ------------------------------------------- - -Boards with the NXP LPC32xx SoC shall have the following properties: - -Required root node property: - -compatible: must be "nxp,lpc3220", "nxp,lpc3230", "nxp,lpc3240" or "nxp,lpc3250" diff --git a/Documentation/devicetree/bindings/arm/nxp/lpc32xx.yaml b/Documentation/devicetree/bindings/arm/nxp/lpc32xx.yaml new file mode 100644 index 000000000000..07f39d3eee7e --- /dev/null +++ b/Documentation/devicetree/bindings/arm/nxp/lpc32xx.yaml @@ -0,0 +1,25 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/nxp/lpc32xx.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NXP LPC32xx Platforms Device Tree Bindings + +maintainers: + - Roland Stigge + +properties: + compatible: + oneOf: + - enum: + - nxp,lpc3220 + - nxp,lpc3230 + - nxp,lpc3240 + - items: + - enum: + - ea,ea3250 + - phytec,phy3250 + - const: nxp,lpc3250 + +...