Received: by 10.223.164.202 with SMTP id h10csp634909wrb; Thu, 9 Nov 2017 00:31:49 -0800 (PST) X-Google-Smtp-Source: ABhQp+RzurIgMG+ItCvYXCsn03Pty3ZUzbWNhAS/kAYmlIWfnC6ANDMSr2UyGvSELh3F6Hs0+ouB X-Received: by 10.84.178.4 with SMTP id y4mr3058712plb.266.1510216309443; Thu, 09 Nov 2017 00:31:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510216309; cv=none; d=google.com; s=arc-20160816; b=jMxKuWddmypwoNwLHaSM7rR5Jo5T9U3BVBVdSiFKVZqTHo9T/QjQuL6xqFK3FWpnCa Gvaevu0u2fpS7VAWou4h4PYwjP2NNrjI2CqKqD/5x/TVv9hDvBq2AlAYdUIwPa33fk3W eQSNOq2fSNzmKWYT4/pUaq9zmwk407JTk5th7mb8nSx49o2kdqIQXw/xRRV70p0IGreq FGFSozCPNcvHN1dTL0XRYt943pWzd6ekT1aDX2TVBQXnBr8wC4PZrIGULYP+KmFJ6UGW B4fsTeq1CCKubNCJ1OUEEDnPjmrms4yOkB/zkLUK6ZNMFvJNkwnIcwMhS4hbCULcwcOs VIsA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=7Ip7BG6v9qe5wxxzZtdYiVEy+tu3XaeenOxIpjxFBng=; b=pal80y7q8gnJbylvQowtGXf3lqMwneIvQJM3jWA1CBCXQ9L+8nAelNULVHlsLYXHS3 K8S/QT36TvKQpysvYCpKEXLTNctBGMnNJdZN9OwavQ/DzQPsBZ6w8xodvbWc4LfaHKtu HYzHO/ipbn4t8n4MJKyP0ivVIHfHpxbRIBECIpu+scUtDP09uYmtV3zeGaLjYkdlVp/U IYFZPph2drIBG8YptJPXNlXl8PqHHkb24TGcTDN7mwxp1399yabd1eBgAnpzdmklv2Xj hCd4tzQrQxhoD1dcysCm0sXQ2QKm4qBaNiqMsmPArDl9z3cFO1DIdnxIpr4691cbvCIU yvyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ukp1eLKC; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t4si5742534pgf.33.2017.11.09.00.31.38; Thu, 09 Nov 2017 00:31:49 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ukp1eLKC; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753558AbdKIIau (ORCPT + 82 others); Thu, 9 Nov 2017 03:30:50 -0500 Received: from mail-pg0-f68.google.com ([74.125.83.68]:57207 "EHLO mail-pg0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753363AbdKIIaM (ORCPT ); Thu, 9 Nov 2017 03:30:12 -0500 Received: by mail-pg0-f68.google.com with SMTP id m18so4102708pgd.13; Thu, 09 Nov 2017 00:30:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=7Ip7BG6v9qe5wxxzZtdYiVEy+tu3XaeenOxIpjxFBng=; b=ukp1eLKCazsrkOKkhUkdvMipEirtHALteJTiSwbNHE6iZm3wKyOdj5WpZ8X4SDs7Jp HgMq41+kazB6nSwj/pQv69G/3P6b7SE+dXZ9sBe0xSNx50bEu7WNW/DXhG5nrK9Y0TOC sjqoaDn6jWwoUIbWRAyK8NKRnJE4Y0maNt4+pBZSod5pT321AKR2+dwywYWXGeiMMxGd /Se6wBZdsJOpmFeF9tpBsZGXH2/QN2T3Kb+loTYCTMXint6O9sNm2Y5dke/Ljwn5+CEO cGOfRMuKi1T0KMLxxePXRqusttbiYrWvlb6vB//gTdgWDTlZbty1mpUsLHSr183xq91L Z1Ng== 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=7Ip7BG6v9qe5wxxzZtdYiVEy+tu3XaeenOxIpjxFBng=; b=iMvId+3q3fht1jHRhw/EvDsfszOKTE0TpX/6hIHu0AyD3+Kvtei6RMZwFYIM1L7Qhg OJL5mPxWFy7yZvPhkNmpKwXlWuaPteMt/nTeE0jLP3HMMwFfXLTFJlPBqMAxmzAvWBMP CIILkNNXpBnORpner4y9jS0UGQvcMw6gwLw7+cjRC0OyO7xffR2Di4XZ50i44yMH9P9z pkTNsdQVhe2Hs7e9oLGdzpqkOU3VD5I82IKRYZAikU2czKJnHPg7+ZzyOqt4wnTopqkE 18QzPnEv5Uqk+QD0rImZ0Mo4AQ6SZ2eC3QqoPujJ8HrZ/g1NzA3GKmozuvJaINPHINDD aQrQ== X-Gm-Message-State: AJaThX5+vaV7+HcXzzi4x3MKpk09UCDSyMWdkeQDdUbAV4EXIIxeEdcR h/CGyVi8LnSOKu8j1cGWXAFKsTCS X-Received: by 10.159.218.73 with SMTP id x9mr3107135plv.259.1510216211632; Thu, 09 Nov 2017 00:30:11 -0800 (PST) Received: from app09.andestech.com ([118.163.51.199]) by smtp.gmail.com with ESMTPSA id e22sm9788488pgn.28.2017.11.09.00.30.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 09 Nov 2017 00:30:11 -0800 (PST) From: Rick Chen To: daniel.lezcano@linaro.org, tglx@linutronix.de, robh@kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, rick@andestech.com Cc: Rick Chen , Greentime Hu Subject: [PATCH v4 2/3] clocksource/drivers/Kconfig: Support andestech atcpit100 timer Date: Thu, 9 Nov 2017 16:05:27 +0800 Message-Id: <1510214728-22441-3-git-send-email-rickchen36@gmail.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1510214728-22441-1-git-send-email-rickchen36@gmail.com> References: <1510214728-22441-1-git-send-email-rickchen36@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add CLKSRC_ATCPIT100 for Andestech atcpit100 timer selection. It often be used in Andestech AE3XX platform. Signed-off-by: Rick Chen Signed-off-by: Greentime Hu --- drivers/clocksource/Kconfig | 6 ++++++ drivers/clocksource/Makefile | 1 + 2 files changed, 7 insertions(+) diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig index cc60620..e950066 100644 --- a/drivers/clocksource/Kconfig +++ b/drivers/clocksource/Kconfig @@ -615,4 +615,10 @@ config CLKSRC_ST_LPC Enable this option to use the Low Power controller timer as clocksource. +config CLKSRC_ATCPIT100 + bool "Clocksource for AE3XX platform" if COMPILE_TEST + depends on GENERIC_CLOCKEVENTS && HAS_IOMEM + help + This option enables support for the Andestech AE3XX platform timers. + endmenu diff --git a/drivers/clocksource/Makefile b/drivers/clocksource/Makefile index dbc1ad1..24d15bd 100644 --- a/drivers/clocksource/Makefile +++ b/drivers/clocksource/Makefile @@ -74,3 +74,4 @@ obj-$(CONFIG_H8300_TMR16) += h8300_timer16.o obj-$(CONFIG_H8300_TPU) += h8300_tpu.o obj-$(CONFIG_CLKSRC_ST_LPC) += clksrc_st_lpc.o obj-$(CONFIG_X86_NUMACHIP) += numachip.o +obj-$(CONFIG_CLKSRC_ATCPIT100) += timer-atcpit100.o -- 2.7.4 From 1583534648629217464@xxx Wed Nov 08 21:25:23 +0000 2017 X-GM-THRID: 1583533997242691386 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread