From patchwork Thu Feb 21 15:44:43 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 158916 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp635253jaa; Thu, 21 Feb 2019 07:45:50 -0800 (PST) X-Google-Smtp-Source: AHgI3IYO8AovfN/iCwbGnKhMgNaTyIE9m/QPbcJbYjRnSEwNYkOeSnUNL8ByGFU0Bjva1Ci3v5Fb X-Received: by 2002:a17:902:1486:: with SMTP id k6mr44455446pla.49.1550763950185; Thu, 21 Feb 2019 07:45:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550763950; cv=none; d=google.com; s=arc-20160816; b=a2FvnrGtc4LgtysHtJSYLFrFmCs2/TNDsRV2BN1xY17h9AOXZwbHE84JNNMiha1bkQ X82YOtoMudzjuBBsuEj5uywK73BdnAxjjdEBoo8c9QhjugGFMSLRAQ0EbjZbKqAY9y5P gBkBzJQL0QF494ryMJTsSzm+0XhC5xRJisk2OarQYPzdl5dQ5FoKqN2AuCAta59YO7nk ytCtn5P/zf1StWSoCGIg/hIHcoeDAHj9RTxNakF0C6vYrkOZeTWNmLTvt5BtWzq+xxEZ zA+RNVp+0ZIcZNNHla2D7Y3282Nsg25LhShs5FOhJRxtXBUtkx++zZq6/63SFtqfpY0z IpbQ== 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=GnaI9YHPXZ63mtHWRidjn+9xBecr9vZlVNuaRUYughg=; b=wVr1kwOf6k5RWLznRY3N4e8xlaZwKAv6T4R5bwAp18CRkJxNdkeF15mtvoAT7MomF0 PQagNvWxplC/rCXENKIN4QfsRx5tlsFL61uvI4GFWoI3WDwMOW1iK5Wlh5kqv7q2af6W yP53exD43WA/UmXRzGR+6xiaNWj64BwLKYVU6WnIqehPlJLJhjiyB5kmqDG2nLMKL8Gb +njvuV+/zDzlSHAm36Q5kn6elUQdU+szRxVfrj3Ip02+xIdYBCpw9+k+OIdnkTcVq0wU KQ6n715uJQdENRztKxp/tz9U3ipFSNLmCHJMvK/hK8fOVeratHK16PdtJrJmJ56iL7EA LBfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TdGQDh7C; 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 l1si22656470pld.386.2019.02.21.07.45.50; Thu, 21 Feb 2019 07:45:50 -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=TdGQDh7C; 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 S1726390AbfBUPpt (ORCPT + 7 others); Thu, 21 Feb 2019 10:45:49 -0500 Received: from mail-lj1-f193.google.com ([209.85.208.193]:43470 "EHLO mail-lj1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725870AbfBUPpt (ORCPT ); Thu, 21 Feb 2019 10:45:49 -0500 Received: by mail-lj1-f193.google.com with SMTP id z20so23364121ljj.10 for ; Thu, 21 Feb 2019 07:45:48 -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=GnaI9YHPXZ63mtHWRidjn+9xBecr9vZlVNuaRUYughg=; b=TdGQDh7C1vZdMooN9Tpo0mwTTuochx0oxAyQf7GtDI/6Y2987Yh3H6WyNZR458IP21 QlDcAmsqaiX2BGm+rYMg+HnnJthQ+MTnTnI/EHADC4d8wxUYBWPfH9TaJhPcYSnKhUrO n+xJI8kTzwn7m3J/tbCKU7b4fVB/yzFu09gGPYRyjc9KPJsRQhBhn3PqZrJ2fDu8p07s Wrs47VkrjyvI/AXhCumDKsMkV7GThWBIlKW5fwnjidvPG9ca0F4bKeeMrS+zqyzpQ/DF NLwvM0lj+10eNigUemvtQKrHUR7cAl9r82U7BZvK+oVD7+8l1Fl2hFFYURohyH5TqT7/ SX+g== 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=GnaI9YHPXZ63mtHWRidjn+9xBecr9vZlVNuaRUYughg=; b=K1r8tnlBbzjIxItl+jx3QpxL3vRhqheqbaIgVJPgwEUJOBnMJ1A5ngO+f1XDRPM98b yzujqdhxvVMczhooQQ1xxEuZSeWSh+eQdX+peDA3Re1ELGC+wpyXcDQxgvK25uIp27mE A7xhoU+hlVdCO1Gifu3Uh5U9JvolmJu/IQsft0MweuDkKSBNWYMXjJbEgvbKn4Locl8p Xx3bxA0yDbJ2AalL2p3TkQfcjalS80+60FoD2p4/WqEKyW3k2jfAKdnmJCaTV9eAiLdc CJzUeULZbNl2oBZ86K2uDfc05DChmftHb9WPIIdbQJfy6Ubetlc/L280WEIHJlc0tt2Q RbZQ== X-Gm-Message-State: AHQUAubJs49A0bxJ57dswAEeUp3jZtYVcwKytnO6gNBN3xR7L0thGZDd 4LsBMHZz5B3cbOjxv6TJ+DNapg== X-Received: by 2002:a2e:4285:: with SMTP id h5mr21972562ljf.32.1550763947317; Thu, 21 Feb 2019 07:45:47 -0800 (PST) Received: from linux-2.local (c-ae7b71d5.014-348-6c756e10.bbcust.telenor.se. [213.113.123.174]) by smtp.gmail.com with ESMTPSA id m73sm1316965lfa.65.2019.02.21.07.45.45 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 21 Feb 2019 07:45:46 -0800 (PST) From: Linus Walleij To: linux-arm-kernel@lists.infradead.org, Imre Kaloz , Krzysztof Halasa Cc: Linus Walleij , devicetree@vger.kernel.org, Rob Herring Subject: [PATCH 15/30 v2] ARM: ixp4xx: Add DT bindings Date: Thu, 21 Feb 2019 16:44:43 +0100 Message-Id: <20190221154458.23763-16-linus.walleij@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190221154458.23763-1-linus.walleij@linaro.org> References: <20190221154458.23763-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 Reviewed-by: Rob Herring Signed-off-by: Linus Walleij --- ChangeLog v1->v2: - Fix up the GW2358 compatible string. --- .../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 diff --git a/Documentation/devicetree/bindings/arm/intel-ixp4xx.yaml b/Documentation/devicetree/bindings/arm/intel-ixp4xx.yaml new file mode 100644 index 000000000000..f4f7451e5e8a --- /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 + - const: intel,ixp43x diff --git a/MAINTAINERS b/MAINTAINERS index b44ee076d57c..20d02e1e60a8 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.yaml F: Documentation/devicetree/bindings/timer/intel,ixp4xx-timer.yaml