From patchwork Tue Aug 1 16:36:22 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcin Wojtas X-Patchwork-Id: 9875021 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 5CD2760361 for ; Tue, 1 Aug 2017 16:36:39 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4F7962862D for ; Tue, 1 Aug 2017 16:36:39 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4424F286C4; Tue, 1 Aug 2017 16:36:39 +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=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.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 AC7AB2862D for ; Tue, 1 Aug 2017 16:36:38 +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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: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=7MK2G80AF2uvEazhR4DHSLlvIBXgTSETtIzVql280qU=; b=pm7w8/G37hy8T/wCL5IVsHdSFO 04MzdAP0VOEiJ1c95o0ujzvAR5iG+CHG/4W7SrYhOfIdpjowbF+nAHqwOhNXY2z382oLKu43fNTPy zjpuFLRa4vss++o8bWRQeSRRQ7k6IEJgDMn/8i9O6ds4vUtd2JPXZqIPhQge4yETSs9CPdSNHuRpr cL3XDuZ1BdCQDvZTBaMQBgz607C9H6soKDBtdFWvHFphkGdnZY2e3Qf7BkiALQ5IhcDXlhio4h+Ng QpRnlV4uK3nxn8Z0Sd/s6BW40xDOuaGiUdy1hNLErEVHUX1mYqcxSf4A/YDl6iETepQcdqxVceyNA rXX6aV7Q==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dca9n-00086n-DN; Tue, 01 Aug 2017 16:36:31 +0000 Received: from mail-lf0-x231.google.com ([2a00:1450:4010:c07::231]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dca9H-0007Zz-0F for linux-arm-kernel@lists.infradead.org; Tue, 01 Aug 2017 16:36:00 +0000 Received: by mail-lf0-x231.google.com with SMTP id g25so9370932lfh.1 for ; Tue, 01 Aug 2017 09:35:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=05/MJko5jaX6nyIvt2CmHA0um9GPqdrzTMaueeabXko=; b=aj7DZ3Xi8ZEGyXcVceH2z+oR+belLzeqY/80jkTJyDQVkXe6I8RQ03ZEHjz3NdleX6 UQDLRl7Gyb6oABX28jE+NifdAFtZ2XXS/xqTJ/TGWvyurZSUhFQQjTvp+X9C4yN6AOYH 0EAau/NtJxNi9OW8LhjZNWiNhf5U9D7nHRjGrmysuxhlLtxXwC1JNEjr/MvIs8P7bMp5 1usMu38WmibF3FpjsRHonPCJxrabaz6rpz+Tj/0s2glVERHl+2+BQGUo/Ge4hLvm+tXu +5fkKrh5cWbLPH3I4iwt19amYn6D75DCB6LAuc9pmKAt54y94zmL8ygBCNMOaCtPMNj7 ZfcQ== 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; bh=05/MJko5jaX6nyIvt2CmHA0um9GPqdrzTMaueeabXko=; b=ge3GY/cTqSy/dWigzGDxskENY1dySz2L5W1IATRee5Dw3EdzI7EqO4gs/x3iyLA7d/ TUTkXaiJBmeogWaPme/5nC3ubWvbTs9/EAUh/GH5eXA9/8v2S0c0q88mbFrSAzF/h3NI AH2IXRvqegHKSorDMDMSLP7JzFstqpwqAN/AQ1dOSRHs4RD2fEf5uLnhKCqVnHNstelJ REEGZ+UUuiLfxZMnH5Q5HYysja5RbWjtYIMWK+YFcI19O3mtxF7wB1Gin1kcTwWTWYqd 86vrLhc1xEWTusyuEPoD/cru0RAK+bQ5VuN6SLpO1s9W+1VZHUbmEYSKFi5B79gszeku q83A== X-Gm-Message-State: AIVw112oqBaPYuNgz859dw7UHmGMf17BFyas1ng6ij/jSYO3NkH0rZYH QR/iP9CLBC9hJBRU X-Received: by 10.25.93.70 with SMTP id p6mr6964625lfj.139.1501605336940; Tue, 01 Aug 2017 09:35:36 -0700 (PDT) Received: from enkidu.local (31-172-191-173.noc.fibertech.net.pl. [31.172.191.173]) by smtp.gmail.com with ESMTPSA id j125sm3283465lfg.28.2017.08.01.09.35.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 01 Aug 2017 09:35:36 -0700 (PDT) From: Marcin Wojtas To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 1/2] ARM: mvebu: enable ARM_GLOBAL_TIMER compilation Armada 38x platforms Date: Tue, 1 Aug 2017 18:36:22 +0200 Message-Id: <1501605383-24748-2-git-send-email-mw@semihalf.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1501605383-24748-1-git-send-email-mw@semihalf.com> References: <1501605383-24748-1-git-send-email-mw@semihalf.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170801_093559_225943_DFE135F5 X-CRM114-Status: UNSURE ( 8.95 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: thomas.petazzoni@free-electrons.com, andrew@lunn.ch, jason@lakedaemon.net, jaz@semihalf.com, will.deacon@arm.com, linux@armlinux.org.uk, robh+dt@kernel.org, gregory.clement@free-electrons.com, mark.rutland@arm.com, Marcin Wojtas , cognet@ci0.org, sebastian.hesselbarth@gmail.com MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Armada 38x SoCs along with legacy timer (time-armada-370-xp.c), comprise generic Cortex-A9 global timer (arm_global_timer.c). Enable its compilation. The system clocksource subsystem will pick one of above two available ones in case the global timer node is present in the device tree. Signed-off-by: Marcin Wojtas --- arch/arm/mach-mvebu/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-mvebu/Kconfig b/arch/arm/mach-mvebu/Kconfig index 541647f..9b49867 100644 --- a/arch/arm/mach-mvebu/Kconfig +++ b/arch/arm/mach-mvebu/Kconfig @@ -60,6 +60,8 @@ config MACH_ARMADA_38X select ARM_ERRATA_720789 select ARM_ERRATA_753970 select ARM_GIC + select ARM_GLOBAL_TIMER + select CLKSRC_ARM_GLOBAL_TIMER_SCHED_CLOCK select ARMADA_370_XP_IRQ select ARMADA_38X_CLK select HAVE_ARM_SCU