Message ID | 20181123195311.4578-2-martin.blumenstingl@googlemail.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 04ab6f8177c0db4d685812f9f517189ccb3b33cb |
Headers | show
Return-Path: <linux-amlogic-bounces+patchwork-linux-amlogic=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 2686C13BB for <patchwork-linux-amlogic@patchwork.kernel.org>; Fri, 23 Nov 2018 19:53:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1587D2871F for <patchwork-linux-amlogic@patchwork.kernel.org>; Fri, 23 Nov 2018 19:53:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 09B972876E; Fri, 23 Nov 2018 19:53:49 +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 AAC3F2871F for <patchwork-linux-amlogic@patchwork.kernel.org>; Fri, 23 Nov 2018 19:53:48 +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=zmIFhWbIujXRt71TiCA5dLhS3MhPsgli69vBH/5UI9E=; b=Qm/NyFfV1yL84I mOlHrEOrs6SvocK85VD0Y6FqtndSwkGnAu1zCdRa/t1ZxzIsq1mr3J+wsFpETWimMxRABAZSZGpn5 73B/qbUeNycBhsQy7eAVeahd3Y4Erg6EotWJnDcH2RlGs7Oc7oZmU5iqagpGHTVgmIEyL6flQxani NAKpQjD2oGuTgsuZCpkofnyAzNf0vOANNsiKGOqfHJbx9xS61L1F3B8W8VOYUyj1IQ/E4StrXcjqp ui0OCuYYMNkOkZywfy9CysOEQ8eD/qJtiOXUwopKAqQxDM36VMywhyLDZNQBQpIz7c6mSslpwarv9 eMptj4JXXAohD4KNFwGw==; 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 1gQHWN-0007tY-6g; Fri, 23 Nov 2018 19:53:47 +0000 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gQHWC-0007do-VA; Fri, 23 Nov 2018 19:53:38 +0000 Received: by mail-wr1-x443.google.com with SMTP id z5so9038305wrt.11; Fri, 23 Nov 2018 11:53:26 -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=7HbOh/pMDb/8M3M5bu0WWSItxe+N1uRR4AZ9SpzTcn4=; b=ojQASPlswdjZbwZZixTwGAoD3LkDgLf+QTPYx9rpr4ZCNbyRTA80nT+uDOtY1O1uTt OV5CNm6WQl8hcllTmq1DIknFO6ZTNdlZYhIPQpCNE1TlV7+x2aaPIdW4Lsg1REVrzm00 STEHWbW49c1Zl+tyOfm8tq/v2orxJhQnou23xzI5YsvZVlwHQq+Yjxh7CYAStCGQFP0j L4FQCm50G5ctfW9DJWUktdBOhKB2rY5inESlo+wSW/i3da3NPdCCVDD5NPtfixDdItaf 6eicTL1YY1AZYKpsnQf6x3TZnSBskhneCzESgZ0L2Mrtwwfk638RmGgyPbTcYDshr47b 9BoA== 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=7HbOh/pMDb/8M3M5bu0WWSItxe+N1uRR4AZ9SpzTcn4=; b=tjKLgRYCC+iXNPYsLCrDMoBtN4q25Fje1PpYZjctb1FKRcb6kGaHNFg1rYfnlJrKs6 rtZFiSnAsxuppyHVozAHfWIR4zZpLtC82E+M6uLAJGqkY4DcHQRxsXsK9SPUFQhCqoMG 3xfuTP0FmUfphtIsk0gW2TNHmWHOaReroKvgiL3EQ1x9GuSRKxJos0OHsZVlzn/S96LZ nBoWcTNiWB9z+hriyu50qJe8xnZPbA5kIXXCFr5LJPBOBS1xO1SeFnWs6A3KKBEug+to P3w+AVdLBoQgqvtqxLSWFQObnHhFFLU4H+xn1dgwd4ZOX5vLLHRPPgH0OblI6cv2XaCe ekmw== X-Gm-Message-State: AA+aEWYhDbnyn71fscXJ0eiPDhyH7/KR2yy5EGrGjHcPspqINoT+0/NL xnwGaCOIvWAWe6niPgtym2g= X-Google-Smtp-Source: AFSGD/XX14zN1TOyJS+/BykItwNfzkg7wmUizhdX78YVn8HbmS/6/lOS9CmeE5PDa4ic/W99vJlaWA== X-Received: by 2002:a5d:4b01:: with SMTP id v1mr14633629wrq.5.1543002805240; Fri, 23 Nov 2018 11:53:25 -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.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 23 Nov 2018 11:53:24 -0800 (PST) From: Martin Blumenstingl <martin.blumenstingl@googlemail.com> To: carlo@caione.org, khilman@baylibre.com, linux-amlogic@lists.infradead.org Subject: [PATCH 1/6] ARM: meson: select HAVE_ARM_TWD and ARM_GLOBAL_TIMER Date: Fri, 23 Nov 2018 20:53:06 +0100 Message-Id: <20181123195311.4578-2-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_115336_999592_EB136CBB X-CRM114-Status: UNSURE ( 9.18 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-amlogic.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-amlogic>, <mailto:linux-amlogic-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-amlogic/> List-Post: <mailto:linux-amlogic@lists.infradead.org> List-Help: <mailto:linux-amlogic-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-amlogic>, <mailto:linux-amlogic-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-amlogic" <linux-amlogic-bounces@lists.infradead.org> Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=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/mach-meson/Kconfig b/arch/arm/mach-meson/Kconfig index d51cfda953d4..b16831697183 100644 --- a/arch/arm/mach-meson/Kconfig +++ b/arch/arm/mach-meson/Kconfig @@ -4,12 +4,14 @@ menuconfig ARCH_MESON select GPIOLIB select GENERIC_IRQ_CHIP select ARM_GIC + select ARM_GLOBAL_TIMER select CACHE_L2X0 select PINCTRL select PINCTRL_MESON select COMMON_CLK select COMMON_CLK_AMLOGIC select HAVE_ARM_SCU if SMP + select HAVE_ARM_TWD if SMP if ARCH_MESON
The 32-bit Meson SoCs use multiple Cortex-A9 (Meson8 and Meson8m2) or Cortex-A5 (Meson8b) CPU cores. These come with the "ARM global timer" and "Timer-Watchdog" (aka TWD, which provides both a per-cpu local timer and watchdog). Selecting ARM_GLOBAL_TIMER and HAVE_ARM_TWD allows us to add the timers to the SoC.dtsi files. Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> --- arch/arm/mach-meson/Kconfig | 2 ++ 1 file changed, 2 insertions(+)