From patchwork Mon Dec 3 21:32:00 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 152775 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp7320194ljp; Mon, 3 Dec 2018 13:35:11 -0800 (PST) X-Google-Smtp-Source: AFSGD/WR267sB2+PcbutHJ2fKoMrDO9bqsW6fpobGresqo76H+Nh9BZL5hDUOox8XVOZ3C6dF9nn X-Received: by 2002:a62:5793:: with SMTP id i19mr17677030pfj.49.1543872911569; Mon, 03 Dec 2018 13:35:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543872911; cv=none; d=google.com; s=arc-20160816; b=woWhENNZP/L64nkbuGdD9c1qgu3pCfNRNcs9mER3iqGAA3PA/xITxlzEtbBale4Jx6 V99Br9Xpvdjp9dILHwlOuEUmvJj3RS3rmFKPNFgeWvCKi80ayDffwbIOSjjcwgvas6nz MLOSFE+F2Jy/4gIfy0s6HPJDOmnbN+iCJUY9mqqOln8okaZhTccftm4QuxAV8P7Or7U/ wW4KR+V8mfJW8HS3s1aXO5vzpfVi9ac9BTGbHCtKhSoLZfxRtZb7t7blFARH6QSBH4cq 7mMs67iPRNz0KnKBYRe/SsuuVdWGcIg43JzZHB/UovdJX0WsYLgn4sOOk1wYAt+VSEVM d9PA== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=7ekJXPkH8vDQKH6Ka6Zw4d6P9Suv20xxzhFNrwmwfqI=; b=quC98oKYNm3gDIgXxkIuzaH2uCh5LgItfIfFobG95z8BjMPmt+2H2y7BhR/0NHg5cE y4pgDcWsTzVWUXTd58uNwK5OdiB6oGRoyoacZlwyuiDwLBD25LR6XpnTC0yoUkvKHeIt 1s+QNDSgOPT58Nz7cP01jWpLRAZvGDBiUmcULYjXV+2TzfAGZyCT63lLmGYlRiyH7TD1 pzbWeciTG1e0Rmu+c/82x1SM/7n73lX/5N6unakUcHSzUsfECBIhxqQNL4GUHGptj8zu xH+ViFGLvntHv4YvqOoqLVixT0xvirPJwMzmgZ1OTeHpFmykk7j35kWrJjTBVeC//TY0 3rwg== 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 k186si13866016pgc.576.2018.12.03.13.35.11; Mon, 03 Dec 2018 13:35:11 -0800 (PST) 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 S1726477AbeLCVfK (ORCPT + 32 others); Mon, 3 Dec 2018 16:35:10 -0500 Received: from mail-oi1-f195.google.com ([209.85.167.195]:39814 "EHLO mail-oi1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725952AbeLCVck (ORCPT ); Mon, 3 Dec 2018 16:32:40 -0500 Received: by mail-oi1-f195.google.com with SMTP id i6so12348243oia.6; Mon, 03 Dec 2018 13:32:39 -0800 (PST) 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:mime-version:content-transfer-encoding; bh=7ekJXPkH8vDQKH6Ka6Zw4d6P9Suv20xxzhFNrwmwfqI=; b=WTVDaVYwFUYCSerKC1BdM2l6Mee0ZBzedLJcdi15fOdaCRJbh6K0+l6T5fnctjebYB 8GFuWjUmOfF2p4NwobIYwElHyYqxIMvF7o//rllSfY2rMkolTeQ0d/rl7095X8s89l4f RqGEkzDrC8/EIQKGNIrMLsJ9iVB1AF1e6MGXpIUrz6ZHiH6+iRA0mATGYI8BfewVvLaP HGWFBm/OjgavRZlgtc1+3IMi3c2WDSMWEanpCdkJcJazYTHkQBRSJqSrSQM/MLBNksyo LWXQ9oHOFTV+Ko0ckxRwoBmutBnsojVje7YotBRwXw7zfxsTU6jxCOzlqAWUXxeBfMym kllg== X-Gm-Message-State: AA+aEWZMAo2x0GyUog6G6/x1P1tLM8Ub4FUXmq/y70S+hfS8VshwIEpu VRNceC3jEDXzI6O7CeOGKLumrIY= X-Received: by 2002:aca:c186:: with SMTP id r128mr11602926oif.52.1543872758963; Mon, 03 Dec 2018 13:32:38 -0800 (PST) Received: from xps15.herring.priv (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.googlemail.com with ESMTPSA id c78sm8545501oig.30.2018.12.03.13.32.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 03 Dec 2018 13:32:38 -0800 (PST) From: Rob Herring To: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Sean Hudson , Frank Rowand , linux-arm-kernel@lists.infradead.org, linuxppc-dev@lists.ozlabs.org, Grant Likely , Kumar Gala , arm@kernel.org, Tsahee Zidenberg , Antoine Tenart , Mark Rutland Subject: [PATCH v2 11/34] dt-bindings: arm: Convert Alpine board/soc bindings to json-schema Date: Mon, 3 Dec 2018 15:32:00 -0600 Message-Id: <20181203213223.16986-12-robh@kernel.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181203213223.16986-1-robh@kernel.org> References: <20181203213223.16986-1-robh@kernel.org> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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.19.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..82e2fafdfece --- /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 +description: test + +properties: + compatible: + items: + - const: al,alpine + model: + items: + - const: "Annapurna Labs Alpine Dev Board" + +...