From patchwork Mon Apr 8 06:28:12 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 161924 Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp3328466jan; Sun, 7 Apr 2019 23:29:02 -0700 (PDT) X-Google-Smtp-Source: APXvYqwTgfcZIMAIMvNvSHRo/Q4ZXn6Td2v+TWbh8rdsLJC3IY0GCY79XMtvgKEYTrjBqXRATjqA X-Received: by 2002:a62:61c2:: with SMTP id v185mr28201286pfb.117.1554704942295; Sun, 07 Apr 2019 23:29:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554704942; cv=none; d=google.com; s=arc-20160816; b=h3gqRmDj1gAXCaXafWneJ+e0k9wr8Qt77E1hHvqeW5aR9mPMHkpkfyS5QdlbIZTrgt jyH19XC1hS713WjDq6AWI1BStXPCwiREzp8bJ912uM8FeOcLQ5aMPmwVA0RZmBtGATsW +AecOfwQalaYPEC0oYO9FQ67vX4IAWVFSd/L62JCPiBsz3fm/dpWOkvi/XnptR6q5Kui QH2NGAboDIdZkLjOdrAsd0qDHp7/P4ShDITfUsaMtmquXt2gV5Zi5BSC2EuR33FJF8if Ei+4bCROPNVpCXpFj8EHJQamZ0EIzeYD0h0DM9ywr5viCENCLz5PNXL6i1H3lykVqXYz c5xQ== 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=gt5njNU4TzcBg2aki+ensrUky5DwlpzaTnF6n88RKGk=; b=j6GxhMITwc0J9zW7xgq9zCg0L7LPZyjDHHaoMWNiwtgFs0WYKXvnm9NNZjubw+QIeb 82z10tmqY8Kvzzh1lZebOlL2+OeAfe0oMkEeVQoFc85J+Q/B1Z0dvZVq8x1fqFUUaACL kVpC3U8hbpdFqQuSjJQigvnnQ1WF3L+cGQ6QVlbBQHgzv9LqszQZceu1W4zSiq3LD439 TWJqnHySTE6XAocqJrlu/FKv0NeSHHingtlSPXTdsDeRhadf2AXAUdfr2Ff47R+Qk7UQ xSyIP24srBLzfqyZcXI7gNp6yazuZUCPjeKSf3IckvLb1T8gHD8SvI4fYboek6Lhgyza y04w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=UmZ1gsKu; 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 h189si11117575pfc.283.2019.04.07.23.29.02; Sun, 07 Apr 2019 23:29:02 -0700 (PDT) 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=UmZ1gsKu; 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 S1726081AbfDHG3B (ORCPT + 7 others); Mon, 8 Apr 2019 02:29:01 -0400 Received: from mail-lj1-f196.google.com ([209.85.208.196]:44401 "EHLO mail-lj1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726201AbfDHG3B (ORCPT ); Mon, 8 Apr 2019 02:29:01 -0400 Received: by mail-lj1-f196.google.com with SMTP id h16so10062350ljg.11 for ; Sun, 07 Apr 2019 23:29:00 -0700 (PDT) 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=gt5njNU4TzcBg2aki+ensrUky5DwlpzaTnF6n88RKGk=; b=UmZ1gsKuys4LeoNvY7dBevEXx3g+C8so0XgeuiOZDkP2e+4DpLgbsxBwo15WoKk28l 8nZaKXqIr2GJKOtIRHrzwr8utBOLL5awjxJA4MCXCiAL7sjcr+X9UprnDBDCh/HJ+F4B SN+oCaiBGmqVxXfyZ8pcsS7RiUGATkRVMjlhb+tGLbpTeqwfki1qcca6KAUzxfkBD8u4 SzW4SHcEHBPodmCDThP31pC3xVjRLyNOFwID0LRTW88Jy94TZHekcIizLtOB+/vyxg8z 8E2lauCeGN3kO6ezmaJDLq/jrn7JdU1mgQx1QXBTzr820/h40fSlAk14ZwKDZEzeAjwL 74mQ== 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=gt5njNU4TzcBg2aki+ensrUky5DwlpzaTnF6n88RKGk=; b=CzcCTZdXY5EpzrNYa64jxHrl4LR6mGjVG+FtuYycCT9V6lT2tnujtDCmqg7+IDXcXK 0Wmy/WUosw9EGDPF9rH/fvx2p6n92hh5fJQrBAulb1yJ1TWRix5RDD+lNeeaFOooHURi EYJefVkHlFLEEpYEVTAfTZjn68Wg/ec1cZeGm93ojfLZFBmuKqjWDIq7hiDkHBV9Thyq PI3MgLiDlWv/YJbJqZyyScW+jIqwaYVXKfg0GE3B0twFrsANkCrZV/T7sHvoiymi3bVA HPY/grrMMUKG2mNLzU0T7lEoV9s6JOQVofyLgzbx035HnS+D6naf8NNhbnqYPbyvZ2Kv cpMA== X-Gm-Message-State: APjAAAWEoCfbZU8nG89M2N2lh+UOR5Oav51XSfEQu+C879pvCWP8H0La O7s6p2M0ozSy0NTIAP9LTYQW9g== X-Received: by 2002:a2e:8787:: with SMTP id n7mr14551808lji.31.1554704939626; Sun, 07 Apr 2019 23:28:59 -0700 (PDT) Received: from localhost.bredbandsbolaget (c-ae7b71d5.014-348-6c756e10.bbcust.telenor.se. [213.113.123.174]) by smtp.gmail.com with ESMTPSA id v11sm5884443lfb.68.2019.04.07.23.28.58 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 07 Apr 2019 23:28:58 -0700 (PDT) From: Linus Walleij To: linux-arm-kernel@lists.infradead.org, Imre Kaloz , Krzysztof Halasa Cc: Linus Walleij , Daniel Lezcano , Thomas Gleixner , devicetree@vger.kernel.org, Rob Herring Subject: [PATCH 12/31 v3] clocksource/drivers/ixp4xx: Add DT bindings Date: Mon, 8 Apr 2019 08:28:12 +0200 Message-Id: <20190408062831.16422-13-linus.walleij@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190408062831.16422-1-linus.walleij@linaro.org> References: <20190408062831.16422-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 device tree bindings for the Intel IXP4xx timers. Cc: Daniel Lezcano Cc: Thomas Gleixner Cc: devicetree@vger.kernel.org Reviewed-by: Rob Herring Signed-off-by: Linus Walleij --- ChangeLog v2->v3: - Collect Rob's Review tag. ChangeLog v1->v2: - Switch to JSON YAML schema, why not. - Not collecting any review tags as this changed a bit. --- .../bindings/timer/intel,ixp4xx-timer.yaml | 42 +++++++++++++++++++ MAINTAINERS | 1 + 2 files changed, 43 insertions(+) create mode 100644 Documentation/devicetree/bindings/timer/intel,ixp4xx-timer.yaml -- 2.20.1 diff --git a/Documentation/devicetree/bindings/timer/intel,ixp4xx-timer.yaml b/Documentation/devicetree/bindings/timer/intel,ixp4xx-timer.yaml new file mode 100644 index 000000000000..a36a0746c056 --- /dev/null +++ b/Documentation/devicetree/bindings/timer/intel,ixp4xx-timer.yaml @@ -0,0 +1,42 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +# Copyright 2018 Linaro Ltd. +%YAML 1.2 +--- +$id: "http://devicetree.org/schemas/timer/intel-ixp4xx-timer.yaml#" +$schema: "http://devicetree.org/meta-schemas/core.yaml#" + +title: Intel IXP4xx XScale Networking Processors Timers + +maintainers: + - Linus Walleij + +description: This timer is found in the Intel IXP4xx processors. + +properties: + compatible: + items: + - const: intel,ixp4xx-timer + + reg: + description: Should contain registers location and length + + interrupts: + minItems: 1 + maxItems: 2 + items: + - description: Timer 1 interrupt + - description: Timer 2 interrupt + +required: + - compatible + - reg + - interrupts + +examples: + - | + #include + timer@c8005000 { + compatible = "intel,ixp4xx-timer"; + reg = <0xc8005000 0x100>; + interrupts = <5 IRQ_TYPE_LEVEL_HIGH>; + }; diff --git a/MAINTAINERS b/MAINTAINERS index ad05704fbd68..78f50505a313 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1691,6 +1691,7 @@ M: Krzysztof Halasa L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers) S: Maintained F: Documentation/devicetree/bindings/interrupt-controller/intel,ixp4xx-interrupt.yaml +F: Documentation/devicetree/bindings/timer/intel,ixp4xx-timer.yaml F: arch/arm/mach-ixp4xx/ F: drivers/clocksource/timer-ixp4xx.c F: drivers/gpio/gpio-ixp4xx.c