From patchwork Mon Dec 3 21:32:16 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 152757 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp7318299ljp; Mon, 3 Dec 2018 13:33:04 -0800 (PST) X-Google-Smtp-Source: AFSGD/VUzL5vfrQYinvJiB0BCaHs1h8YcEnb1jXqKqPaRAoUlOnTpFcpbQzQxojKZs+rpNgwvYxV X-Received: by 2002:a17:902:280b:: with SMTP id e11mr17636207plb.269.1543872784340; Mon, 03 Dec 2018 13:33:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543872784; cv=none; d=google.com; s=arc-20160816; b=BtSV0UtmvnJ/mFgQ0t2oGHmtAe8YIUdpTrAfk1ZUGJfhOOGzPzw3YNo+YHAtizu7Tr Nb6AuZLrbD/QSJXMTdYnMnD+a+5uE7FkPa1cUcjvBJ4Zqt5Q4lMWWHzYUA38ZQzv+jbW 84YV1vSXeQBi/k+0OUmFAYJsvSzBvazpzYGEeuVvZpfsr3fcgjWl8TcYm4XggSQMFs/4 mLU8gzjGk49b8rt3CJJxrCH38bLYNwe6o/v3pkN9tEEJbBZT8OMXL9XVrIHm79zj4OJE MDSehy1AcsqlAZEgOTqDVKm4TDFhcO0RFy9KBFmA14DekH1V+LXRkcT213zvJvW0TBKP YOCQ== 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=A1DZ7qanLgT6TNvZv+UGgnb7e+rg6Vx6EWDRxaGp6rc=; b=sfYqFxJ4M6jx2Da9vQycwMiuKJtvLV64FafbepCBbskVQHJiRJNk8wSH/XnqhyOPbd Nh3SHNr0iO2CZxbkObcZxY8OMhskIESC2dWfg8dwmcwDzJn+O8gK3fVAargs/oxjjapM kWTexZFPnkyll/lf6zt4Bya8EmV6yULadmt6npjI7c3XJ2n9qAaTAc1nt5LfCfQmkEiK d/NZnhyqNKX3LUd9yGQT1np/LXp4DhRA92yMRvL987PFqM5xYdh0WvjqAsJCHZ3va8Uk zWqXb3zToZgrUNuSBzX0iTgiPaRz+rrs1BQ91S/jMi8F+xy8bfnqCJAFPi4eWm0+RJxX TQXw== 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 d10si4107699pla.222.2018.12.03.13.33.03; Mon, 03 Dec 2018 13:33:04 -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 S1726313AbeLCVdD (ORCPT + 32 others); Mon, 3 Dec 2018 16:33:03 -0500 Received: from mail-oi1-f196.google.com ([209.85.167.196]:45022 "EHLO mail-oi1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726245AbeLCVdA (ORCPT ); Mon, 3 Dec 2018 16:33:00 -0500 Received: by mail-oi1-f196.google.com with SMTP id m6so12331657oig.11; Mon, 03 Dec 2018 13:32:59 -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=A1DZ7qanLgT6TNvZv+UGgnb7e+rg6Vx6EWDRxaGp6rc=; b=XJyokh6UyO3Z7H3zIL5JJPETVQv72y8E6dMhtVmASwHoGy57HeMn9P3PnCHkPoH789 Gq3K3zM2IEnF2mtBNUfwXjiPFzmPuMeEi8DepkslbpP7xycPms2f7t+r7a+xp5cDhapZ c030bjL5w39QCuHH25kFrcUS5a+RspXWQG3Y9jrMDyLWhG0jTPy5qwuveazV2w11Ceqr 43+Cec15WjFZdpgcEueZk8tC4b7yojYASFzU+IRZ8m41Tg7nkA8IvjlpRI3H4DiJrD1q vpAdWF0xBNq19utBjTPhzj+uA74HWTZKUv5Mj3AGjkUTtW2dUmakldy4ol7HitPx3Szc meHw== X-Gm-Message-State: AA+aEWbwbXEW9QYDzPAZNyBZtUx80rX8iS9D4n6ZMVb6YVlrbajTnASs uKHiwqfS0UOwKUcW15xtITrxlDw= X-Received: by 2002:aca:d00a:: with SMTP id h10mr10413699oig.316.1543872778504; Mon, 03 Dec 2018 13:32:58 -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.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 03 Dec 2018 13:32:57 -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, Mark Rutland , Barry Song Subject: [PATCH v2 27/34] dt-bindings: arm: Convert CSR SiRF board/soc bindings to json-schema Date: Mon, 3 Dec 2018 15:32:16 -0600 Message-Id: <20181203213223.16986-28-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 CSR SiRF SoC bindings to DT schema format using json-schema. Cc: Mark Rutland Cc: Barry Song Cc: devicetree@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Signed-off-by: Rob Herring --- .../devicetree/bindings/arm/sirf.txt | 11 -------- .../devicetree/bindings/arm/sirf.yaml | 27 +++++++++++++++++++ 2 files changed, 27 insertions(+), 11 deletions(-) delete mode 100644 Documentation/devicetree/bindings/arm/sirf.txt create mode 100644 Documentation/devicetree/bindings/arm/sirf.yaml -- 2.19.1 diff --git a/Documentation/devicetree/bindings/arm/sirf.txt b/Documentation/devicetree/bindings/arm/sirf.txt deleted file mode 100644 index 7b28ee6fee91..000000000000 --- a/Documentation/devicetree/bindings/arm/sirf.txt +++ /dev/null @@ -1,11 +0,0 @@ -CSR SiRFprimaII and SiRFmarco device tree bindings. -======================================== - -Required root node properties: - - compatible: - - "sirf,atlas6-cb" : atlas6 "cb" evaluation board - - "sirf,atlas6" : atlas6 device based board - - "sirf,atlas7-cb" : atlas7 "cb" evaluation board - - "sirf,atlas7" : atlas7 device based board - - "sirf,prima2-cb" : prima2 "cb" evaluation board - - "sirf,prima2" : prima2 device based board diff --git a/Documentation/devicetree/bindings/arm/sirf.yaml b/Documentation/devicetree/bindings/arm/sirf.yaml new file mode 100644 index 000000000000..0b597032c923 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/sirf.yaml @@ -0,0 +1,27 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/sirf.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: CSR SiRFprimaII and SiRFmarco device tree bindings. + +maintainers: + - Binghua Duan + - Barry Song + +properties: + $nodename: + const: '/' + compatible: + oneOf: + - items: + - const: sirf,atlas6-cb + - const: sirf,atlas6 + - items: + - const: sirf,atlas7-cb + - const: sirf,atlas7 + - items: + - const: sirf,prima2-cb + - const: sirf,prima2 +...