Message ID | 20181123195311.4578-7-martin.blumenstingl@googlemail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 71BC013AD for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 23 Nov 2018 19:54:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5DF002BF0F for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 23 Nov 2018 19:54:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4F01C2BF0A; Fri, 23 Nov 2018 19:54:41 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id E86652BF0A for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 23 Nov 2018 19:54:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=9P9d/B/aKEgwPMqcBiCz/f+xvIbG6xfduOw+U50gSto=; b=SV71ChfZhS+1v3 OVNvPDAaLvvILiYGfI+ScBh8Dtmx4tFy53P5QLHtEHfEAaPm6LFJqTdru7kBD9GFxfsTh5NAdamBT FuaAbVGJXu9A9D8wSlYoO9LzZklW+LF+/9NITUtnLEyKgrPAK5T55FIHLKP7q6yuy/EvjTAEvbOzu x+j1LFq303XTVyYXc+en6x6ONNmDRbO5n3/qIsGsLvP8beAGAMyxdbFT0bl94DODOU399zS9xvKXR Ir3a5RoSRfUEz61C6JlxeSuaVC8haY8HyUWFbf5sw2Rkt6/LRW7DAkkTQKS3cUzYTXJEwnHVSVB4x 5w0ChkiHiPE6oP5KEZXQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gQHXD-0000Hm-CY; Fri, 23 Nov 2018 19:54:39 +0000 Received: from mail-wm1-x344.google.com ([2a00:1450:4864:20::344]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gQHWI-0007eY-VK; Fri, 23 Nov 2018 19:53:48 +0000 Received: by mail-wm1-x344.google.com with SMTP id 79so12264957wmo.0; Fri, 23 Nov 2018 11:53:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=BtJ8/ior5XarJZafC0TR6eFgTbDH+g1bBywq7Yhl7So=; b=qR0f03U6jWYKzWGUGH3Ph79PNSbD7rSU5e0OCOchMQ5LltlzWJstK21WaqTS7Ltrlv 1/EDaagXtFhRFrfktQAiSC31Xkt18nMrHH6my6jA1v9yrgalDiZiYxwjXFhM49c2wzoX wptUhAiEnbZcuKmPP1DAyFWB+ViwqeR6zuADIwx/14Qjmp669WB4iWGDvLWwuAueE844 5dSjWQMmggv2ijkjT8GDpFmj9fCrb6c8n0AiAKDpDzkim6WZLw0cszsOI8ihDoo2/yhH tLsC3QT6R1khbJAt0qHct66OyXjPAgfPC+6DWRqSUianamqRZvSIBTP+xKIfAAAZ7Jny 4a0g== 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=BtJ8/ior5XarJZafC0TR6eFgTbDH+g1bBywq7Yhl7So=; b=sJdqha9Z7YBavYhPY0Du2EKr+phUoiXN22FBdUebALDiAMzkkaK+kQMlYOOmPzL7/Y UjaqNSL5V9g30HpieKSUY9X0SKYJZqADuM7isA2Xf2ufNoMoUD1IdcAgokRdTI01scCf f/+v7uGD48iXF1hgagXTmoxrdn3iMU+sHdjdWaIlar81qKJjC2n77sAmqerI/MT34dWp Ukgl5QA5xNZrBngIh9qOGOLV1TmZxq97WB25DX3dGkSn2sR38y2YVZxE3u3vINZ4/SfG OSMlza1MCCzqwXeALD7uCPlDe4YWohnVg57bjLF1Xvvn1z3d1/FnBNwF3sPpNCiAD6ZY rXyg== X-Gm-Message-State: AA+aEWaCrroEdFq7qgEe3NYxiSkppQwWFTmJ75CNFFrMocIE/kNdaRS3 a33ke1yYxvmaGNPA6TD+nBI= X-Google-Smtp-Source: AJdET5ee544o4sAtCgcDvUAQK9C61pvQfASctCobRHUpaOycLuWuhWdwDBPxowV1KIrVxu66+Ryr0w== X-Received: by 2002:a1c:1dce:: with SMTP id d197mr15751793wmd.66.1543002811237; Fri, 23 Nov 2018 11:53:31 -0800 (PST) Received: from blackbox.darklights.net (p200300DCD732F500597D16A631573221.dip0.t-ipconnect.de. [2003:dc:d732:f500:597d:16a6:3157:3221]) by smtp.googlemail.com with ESMTPSA id g198sm11495337wmd.23.2018.11.23.11.53.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 23 Nov 2018 11:53:30 -0800 (PST) From: Martin Blumenstingl <martin.blumenstingl@googlemail.com> To: carlo@caione.org, khilman@baylibre.com, linux-amlogic@lists.infradead.org Subject: [PATCH 6/6] ARM: dts: meson8b: add the Cortex-A5 global timer Date: Fri, 23 Nov 2018 20:53:11 +0100 Message-Id: <20181123195311.4578-7-martin.blumenstingl@googlemail.com> X-Mailer: git-send-email 2.19.2 In-Reply-To: <20181123195311.4578-1-martin.blumenstingl@googlemail.com> References: <20181123195311.4578-1-martin.blumenstingl@googlemail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181123_115343_295959_21A2E16D X-CRM114-Status: GOOD ( 11.85 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: Martin Blumenstingl <martin.blumenstingl@googlemail.com>, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
32-bit Meson: add the ARM TWD and Global Timers
|
expand
|
diff --git a/arch/arm/boot/dts/meson8b.dtsi b/arch/arm/boot/dts/meson8b.dtsi index a3a5649e32fa..a38d187d3d6e 100644 --- a/arch/arm/boot/dts/meson8b.dtsi +++ b/arch/arm/boot/dts/meson8b.dtsi @@ -350,6 +350,19 @@ reg = <0x0 0x100>; }; + timer@200 { + compatible = "arm,cortex-a5-global-timer"; + reg = <0x200 0x20>; + interrupts = <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_EDGE_RISING)>; + clocks = <&clkc CLKID_PERIPH>; + + /* + * the arm_global_timer driver currently does not handle clock + * rate changes. Keep it disabled for now. + */ + status = "disabled"; + }; + timer@600 { compatible = "arm,cortex-a5-twd-timer"; reg = <0x600 0x20>;
The Meson8b SoC is using four Cortex-A5 cores. These come with an ARM global timer. This adds the Cortex-A5 global timer but keeps it disabled for now. The timer is clocked by the "PERIPH" clock whose rate can change during runtime (when changing the frequency of the CPU clock). Unfortunately the arm_global_timer driver does not handle changes to the clock rate yet. Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> --- arch/arm/boot/dts/meson8b.dtsi | 13 +++++++++++++ 1 file changed, 13 insertions(+)