From patchwork Sun Feb 3 21:42:03 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 157372 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp3199311jaa; Sun, 3 Feb 2019 13:42:55 -0800 (PST) X-Google-Smtp-Source: AHgI3IYSIDPTBQ4vxO53j9Cc2JKsLTw/Txnc05dKMpqa/giD3KiEogXzxq0YD612MsgAmBo+Agd/ X-Received: by 2002:a63:2ac9:: with SMTP id q192mr10601323pgq.58.1549230175643; Sun, 03 Feb 2019 13:42:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549230175; cv=none; d=google.com; s=arc-20160816; b=T+PmjDta09/aDYf6dDMR6vuc+BlNaQURi3/HsfcHbzN5siXWwqc3IBkvQdmd5ODC0c xqJfRFBTyUxLOAglkKVkb7t520Nf4pPg7bMyEvgXf53mTAsJXqe0tM34ppmnRyTix9C7 USNM/vFmSqVJ0xO1GVlt/t5UCbFJOYOqwrn0EfHig3mGGTBDCCr3G8GotmRANwWHGiKA oixhZs8cZZUA+RY6zWPjpxDxS+NJdo4Hh87+EMVeHssjDC0Ryg9mgVAk8QnPUjr0k/Bb EbImB2yfTh639kLQHCZ7UM9yjXm49KgT+YxVNzX9itbDFmm3Br7yfvjHbyDPJ1aZoXyB AeHQ== 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 :dkim-signature; bh=ZXVoeReBcA5qhCvRDJOIchocuRkU673IoSvxfhcDnRc=; b=LkLp0rjShWaRs4u1Jz8CeW3N4c0hMXtKeRHbxxeFb+YCaGbVEwxRLKr5TQw4t/5cMp sa6yUfnpEk7ilayMPuFXklRhDFvGQAqBF7z2etFvBluQjvBJZ6j439VVlE2j5ZlxOhe3 Rh6E9ghUYXmj2dU+5p2UuNA4VMZc/367dnmmwb9WEv8AW0BI35DFzR1BeAtjymljAc1o Q8JG9uZj0snA96AUy/vXg4laqibR+YKaAMBPflC5v7yLhMtwgimbjF3UNVjf3lXEnt7L 5eeR+mTqL5Tnhq9h2fmMWejkRhA9PnnBt2CGlRQeCMvG7gKqYC7AfsxImoxmLe3KbY3h qubA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ECxyQy0x; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c4si13458391pfi.110.2019.02.03.13.42.55; Sun, 03 Feb 2019 13:42:55 -0800 (PST) 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; dkim=pass header.i=@linaro.org header.s=google header.b=ECxyQy0x; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727804AbfBCVmz (ORCPT + 7 others); Sun, 3 Feb 2019 16:42:55 -0500 Received: from mail-lf1-f67.google.com ([209.85.167.67]:39774 "EHLO mail-lf1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727502AbfBCVmy (ORCPT ); Sun, 3 Feb 2019 16:42:54 -0500 Received: by mail-lf1-f67.google.com with SMTP id z26so3156734lfj.6 for ; Sun, 03 Feb 2019 13:42:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ZXVoeReBcA5qhCvRDJOIchocuRkU673IoSvxfhcDnRc=; b=ECxyQy0xpoDT+C64AisnWqfw9kRIIkSzRvPct5hFWkrma/NU1AIvwFhXQ9n/a0fmpH VsEaB24wBIsmTrzWNbsLzdKh/DTN9plGIX+inS0yUvNg7I1V/LuzevgA25/dU1ElLBW6 pQk+bgfRjlxL0Ak4PvUc5biFksJJbuVfudSfI= 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=ZXVoeReBcA5qhCvRDJOIchocuRkU673IoSvxfhcDnRc=; b=W9l2zH/1837+nR5jrkDKwOX4UHbMzqCD0HlxBB7jZBZKU4go4CyzS6NB9dxOmlf0SB Gd2nf2Vf++FtO/B89KRsnlIDTcCc0LdkF3pQ3uF+QGbiQZZKbl1170wSrsKqGFiSGZTn w0G6OT4DZ+9VgiAGj6eqRMDCTDmqjGHfhjePuBD1JeziNiIzRenfby/CHHKnVbkoUIwQ kP6kC6kD7nIYG0s9BzzWk4bR6yUT7hK9q4QdO15qLozel6fOjddrjq5jQQcc13mB+MLM PFY799buAuI+jQyOEEW27Wme8Wizcq9gNigjgcic9FSSoTQSM5C/UJDX/X+Mtkl+xVom IWpA== X-Gm-Message-State: AHQUAuaMrU3/EW7rM5DMQx4/EkDB0IkKSgfpUGaJ0yupZL0WX05h+Bwn bkjMkPfTJ6vCeNuhXg0484ICKA== X-Received: by 2002:ac2:5087:: with SMTP id f7mr10905533lfm.100.1549230172698; Sun, 03 Feb 2019 13:42:52 -0800 (PST) Received: from linux.local (c-ae7b71d5.014-348-6c756e10.bbcust.telenor.se. [213.113.123.174]) by smtp.gmail.com with ESMTPSA id 85-v6sm2456868lja.16.2019.02.03.13.42.51 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 03 Feb 2019 13:42:51 -0800 (PST) From: Linus Walleij To: linux-arm-kernel@lists.infradead.org, Imre Kaloz , Krzysztof Halasa Cc: Tim Harvey , Arnd Bergmann , Olof Johansson , Linus Walleij , devicetree@vger.kernel.org Subject: [PATCH 15/17 v1] ARM: ixp4xx: Add DT bindings Date: Sun, 3 Feb 2019 22:42:03 +0100 Message-Id: <20190203214205.13594-16-linus.walleij@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190203214205.13594-1-linus.walleij@linaro.org> References: <20190203214205.13594-1-linus.walleij@linaro.org> MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org This adds initial device tree bindings for the IXP4xx machines. This time I tried something wild and crazy and try to make proper JSON-style YAML bindings for the top level. Cc: devicetree@vger.kernel.org Signed-off-by: Linus Walleij --- I have no clear idea on how to auto-test this schema for validity, since it is a bit of a new thing I hope to figure it out as we go. --- .../devicetree/bindings/arm/intel-ixp4xx.yaml | 22 +++++++++++++++++++ MAINTAINERS | 1 + 2 files changed, 23 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/intel-ixp4xx.yaml -- 2.20.1 Reviewed-by: Rob Herring diff --git a/Documentation/devicetree/bindings/arm/intel-ixp4xx.yaml b/Documentation/devicetree/bindings/arm/intel-ixp4xx.yaml new file mode 100644 index 000000000000..da5f6ffe6f2d --- /dev/null +++ b/Documentation/devicetree/bindings/arm/intel-ixp4xx.yaml @@ -0,0 +1,22 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/intel-ixp4xx.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Intel IXP4xx Device Tree Bindings + +maintainers: + - Linus Walleij + +properties: + compatible: + oneOf: + - items: + - enum: + - linksys,nslu2 + - const: intel,ixp42x + - items: + - enum: + - gateworks,gw2358-4 + - const: intel,ixp43x diff --git a/MAINTAINERS b/MAINTAINERS index 57d098b85523..c4ca249a2075 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1650,6 +1650,7 @@ M: Imre Kaloz M: Krzysztof Halasa L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers) S: Maintained +F: Documentation/devicetree/bindings/arm/intel-ixp4xx.yaml F: Documentation/devicetree/bindings/gpio/intel,ixp4xx-gpio.txt F: Documentation/devicetree/bindings/interrupt-controller/intel,ixp4xx-interrupt.txt F: Documentation/devicetree/bindings/timer/intel,ixp4xx-timer.txt