From patchwork Fri May 17 15:35:10 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Rob Herring \(Arm\)" X-Patchwork-Id: 164421 Delivered-To: patch@linaro.org Received: by 2002:a92:9e1a:0:0:0:0:0 with SMTP id q26csp2313524ili; Fri, 17 May 2019 08:35:13 -0700 (PDT) X-Google-Smtp-Source: APXvYqyXsD0+wnahb40TaJNr11dEgx4vwHcfrODFkVWZRsyz+KDDrDfm+nBNyJ/ptwKCx7lcVIdB X-Received: by 2002:a62:1cd5:: with SMTP id c204mr22576713pfc.205.1558107313750; Fri, 17 May 2019 08:35:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558107313; cv=none; d=google.com; s=arc-20160816; b=UzxPYrUSA3m2+gxtnhURFQNazAvcyIzVljIyka62ly8sJd1l5U4M9DX85kEs2uRRnL +fbDk+YzPh+/X1KM1oqnq46ShDdKjTosWA8p1DPRXeLp3KaNRXJcMxHV5lqOqIh9sFOW A7+RtpR1qR3egek0HypxyewiVqEKSSfHyvBlcxHWxAyTdsSiObF2fdu48yAUFYbnX7in wH6y8c63HeFGsVStq8GGu+W4qrgoVOWLD7Px5n0bvhc+6Y9OURk9Fs1gn+iQ7917SI8l zVK2aG7UMWnLF79vw6ksHPnH8RNhhHXlDdm+FaOPdeoBP0mlg44Edq3roPOG0I2S/w+v XF8w== 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=5PE46hE33zglQ6gPxNshGw7b/oA/SQzmRJJFuwowqkA=; b=jmkU8r+nOtWQWwl3E4L1SzGS3rdViMQMchfdus9NBJAe1nmqAyKhCxhRLgzH/Zkyel YH2xyOWQy+npciV3HlfzFaMzq075EM2L8LgDOI2Ps3PDeFaw8r75X5+QfMTijE/1dUNv C/qreg15RzvRyFGrZJkf0nLlX79spjhtfksDMGzI6wEqchDC+YMDndR9JfUF5rVcpNA9 nXkH3Iohb2PkWSkYjkhXwPeCvMeo4MTxALaB0KY7Pf1InI7i8LCmm1iyH6/xKCu1r3n7 lCIx+YqUWONOXP7uAlINGqG5hAHJ2qrZ2DbcRRZcGrQ5Mk3Q8Lce5DbDDIjrKp4F/LZC 7dNw== 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 d11si8876139pfn.171.2019.05.17.08.35.13; Fri, 17 May 2019 08:35:13 -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 S1729279AbfEQPfN (ORCPT + 7 others); Fri, 17 May 2019 11:35:13 -0400 Received: from mail-oi1-f195.google.com ([209.85.167.195]:43593 "EHLO mail-oi1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728778AbfEQPfM (ORCPT ); Fri, 17 May 2019 11:35:12 -0400 Received: by mail-oi1-f195.google.com with SMTP id t187so5443813oie.10; Fri, 17 May 2019 08:35: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:mime-version :content-transfer-encoding; bh=5PE46hE33zglQ6gPxNshGw7b/oA/SQzmRJJFuwowqkA=; b=EL7yUyB4iZTuhOJtYesF77hQaW6f48FH1ufvNTSOMkYRsBA+6ojpTy3ZrN1frzWAWq sgS8yQvwZm0OucwaIHQvdflvCUnnd3bOHDjCM72btJnQJANf0pRpCEQi1Y5fe83qgTBt VIKlzp2B7PmoC0G3T2zGOVpMXPnWPY1KbgxL0nfXx7dp64MCWPp6KWoyS8Y3GHLKD7BV dp7XYvzfsZhLhGKqObzC6G+c4RnS4kF3d3dD57CmbNAzrblqu6py1sm0WOeA7d2i1iJL V3W5JPQ+IgXtfPAaV+9YAt4NY8qzmJZOGEFOdM12XdwZJ5ptCqLnNXCvu0G41Pf8R8+H 7CFA== X-Gm-Message-State: APjAAAVUuLVyIB7sUIfUfyVGrr/rDszqRzUre0tuj4SqCbOTQEpZI6AR CgUICpHQqUL/bviQRMoDjQ== X-Received: by 2002:aca:3093:: with SMTP id w141mr85093oiw.173.1558107311782; Fri, 17 May 2019 08:35: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 f5sm3596859oih.39.2019.05.17.08.35.10 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Fri, 17 May 2019 08:35:11 -0700 (PDT) From: Rob Herring To: Antoine Tenart Cc: linux-kernel@vger.kernel.org, Tsahee Zidenberg , Antoine Tenart , Mark Rutland , devicetree@vger.kernel.org Subject: [PATCH v3] dt-bindings: arm: Convert Alpine board/soc bindings to json-schema Date: Fri, 17 May 2019 10:35:10 -0500 Message-Id: <20190517153510.13647-1-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 Alpine SoC bindings to DT schema format using json-schema. Cc: Tsahee Zidenberg Cc: Antoine Tenart Cc: Mark Rutland Cc: devicetree@vger.kernel.org Signed-off-by: Rob Herring --- .../devicetree/bindings/arm/al,alpine.txt | 16 -------------- .../devicetree/bindings/arm/al,alpine.yaml | 21 +++++++++++++++++++ 2 files changed, 21 insertions(+), 16 deletions(-) delete mode 100644 Documentation/devicetree/bindings/arm/al,alpine.txt create mode 100644 Documentation/devicetree/bindings/arm/al,alpine.yaml -- 2.20.1 diff --git a/Documentation/devicetree/bindings/arm/al,alpine.txt b/Documentation/devicetree/bindings/arm/al,alpine.txt deleted file mode 100644 index d00debe2e86f..000000000000 --- a/Documentation/devicetree/bindings/arm/al,alpine.txt +++ /dev/null @@ -1,16 +0,0 @@ -Annapurna Labs Alpine Platform Device Tree Bindings ---------------------------------------------------------------- - -Boards in the Alpine family shall have the following properties: - -* Required root node properties: -compatible: must contain "al,alpine" - -* Example: - -/ { - model = "Annapurna Labs Alpine Dev Board"; - compatible = "al,alpine"; - - ... -} diff --git a/Documentation/devicetree/bindings/arm/al,alpine.yaml b/Documentation/devicetree/bindings/arm/al,alpine.yaml new file mode 100644 index 000000000000..a70dff277e05 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/al,alpine.yaml @@ -0,0 +1,21 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/al,alpine.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Annapurna Labs Alpine Platform Device Tree Bindings + +maintainers: + - Tsahee Zidenberg + - Antoine Tenart + +properties: + compatible: + items: + - const: al,alpine + model: + items: + - const: "Annapurna Labs Alpine Dev Board" + +...