From patchwork Fri Dec 18 14:17:24 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 58676 Delivered-To: patch@linaro.org Received: by 10.112.89.199 with SMTP id bq7csp1055883lbb; Fri, 18 Dec 2015 06:19:02 -0800 (PST) X-Received: by 10.98.72.199 with SMTP id q68mr5569033pfi.140.1450448342296; Fri, 18 Dec 2015 06:19:02 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id mk9si24243772pab.101.2015.12.18.06.19.01; Fri, 18 Dec 2015 06:19:02 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dkim=neutral (body hash did not verify) header.i=@linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932908AbbLROSw (ORCPT + 29 others); Fri, 18 Dec 2015 09:18:52 -0500 Received: from mail-wm0-f44.google.com ([74.125.82.44]:37502 "EHLO mail-wm0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932807AbbLROSp (ORCPT ); Fri, 18 Dec 2015 09:18:45 -0500 Received: by mail-wm0-f44.google.com with SMTP id p187so66475397wmp.0 for ; Fri, 18 Dec 2015 06:18:44 -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; bh=dPVZc5mMe7aUp6x75+Kd52F1xTrI/oasRWA1Ds93QVQ=; b=QkuLNeP325EHHHw4XsHvK/sDp3kguWh700qxhqY5CT2IPWnNVXpYrZS0X8IzVX7W/6 XH1pVhzM098iufziWI0lcm+SspUaCMo1gFBTMk0An4L6snyCzKz17xWaGqIwc5rU2iSz NNvnmLoeM6a5EPqyQlWBJpbTAoCy8DTKPN4Sc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=dPVZc5mMe7aUp6x75+Kd52F1xTrI/oasRWA1Ds93QVQ=; b=jfeatycSsy5tZ/g2TX2a0ncOTDF10z2iVtUuy5xIetCmU2MCP0M969ZkWGv8Kdlk5a ebhj5S1lTDt2nlpZhSELyxk0GORP1ejk3M8AVTL26qEz2zDxN+V0tpzY5uadOJsip+J/ MNFJ479UuS1Hy4+Vi4ciQyK22WzYSNJGgSjESP6CLMauLni0Sa/7pWlSJ2MCSbSdv58o 4bVoAN1w0+HOWGMv6oXdM5bWWLVcoXP57k5DgN8moiQcFH730K1R0yCa/vBgwBRkmoUN Pcx2xi+gggDbmckNy2oCZvMKE4B2jMiwQwUH6nkcqLbXBDC1dP7uWbEQDS3DP5VXzLNJ qvVg== X-Gm-Message-State: ALoCoQlGSxca5OOZDnPu+uMyJCZlEu4ctw2EbOhDsrtYoBpMoNud35vFJoPXZhKrYPv2QApmIj2i+WeEgOOJnkkRC1nZnrkhnA== X-Received: by 10.194.123.8 with SMTP id lw8mr4337856wjb.72.1450448324156; Fri, 18 Dec 2015 06:18:44 -0800 (PST) Received: from localhost.localdomain ([78.210.255.2]) by smtp.gmail.com with ESMTPSA id ql10sm15010027wjc.23.2015.12.18.06.18.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 18 Dec 2015 06:18:43 -0800 (PST) From: Daniel Lezcano To: tglx@linutronix.de Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, mingo@kernel.org, Russell King Subject: [PATCH 11/69] clocksource/drivers/pxa_timer: Move the Kconfig rule Date: Fri, 18 Dec 2015 15:17:24 +0100 Message-Id: <1450448302-27429-11-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1450448302-27429-1-git-send-email-daniel.lezcano@linaro.org> References: <5672CB9E.7090707@linaro.org> <1450448302-27429-1-git-send-email-daniel.lezcano@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Instead of having the clocksource's Kconfig depending on the arch, let the arch to select the timer it needs. The CLKSRC_OF dependency is removed because already selected by the ARCH_PXA, and it is added for SA1100. Signed-off-by: Daniel Lezcano --- arch/arm/Kconfig | 3 +++ drivers/clocksource/Kconfig | 3 +-- 2 files changed, 4 insertions(+), 2 deletions(-) -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 0365cbb..a5d416e 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -609,6 +609,7 @@ config ARCH_PXA select AUTO_ZRELADDR select COMMON_CLK select CLKDEV_LOOKUP + select CLKSRC_PXA select CLKSRC_MMIO select CLKSRC_OF select GENERIC_CLOCKEVENTS @@ -648,6 +649,8 @@ config ARCH_SA1100 select ARCH_SPARSEMEM_ENABLE select CLKDEV_LOOKUP select CLKSRC_MMIO + select CLKSRC_PXA + select CLKSRC_OF if OF select CPU_FREQ select CPU_SA1100 select GENERIC_CLOCKEVENTS diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig index 4117386..d4221e0 100644 --- a/drivers/clocksource/Kconfig +++ b/drivers/clocksource/Kconfig @@ -307,8 +307,7 @@ config CLKSRC_TANGO_XTAL select CLKSRC_OF config CLKSRC_PXA - def_bool y if ARCH_PXA || ARCH_SA1100 - select CLKSRC_OF if OF + bool help This enables OST0 support available on PXA and SA-11x0 platforms.