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: 1035652 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="ECxyQy0x"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 43t47z3rcgz9s3x for ; Mon, 4 Feb 2019 08:42:55 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727804AbfBCVmz (ORCPT ); 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-Google-Smtp-Source: AHgI3IZdawhcvOEItZ3jyw7pBrf3ST/2h22zI3u0BjdshkL51jTI/+wuO6r1+T1rz1HCNJ4PO/03qg== 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 Reviewed-by: Rob Herring --- 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 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