Received: by 10.223.164.202 with SMTP id h10csp505516wrb; Tue, 7 Nov 2017 09:42:48 -0800 (PST) X-Google-Smtp-Source: ABhQp+SBr9uDmAQws17vY4pSl9qhrKi0NYeWaqy9x7ijoOIxQHQ64NUy93BMjhj2l7O14HlyOOfx X-Received: by 10.101.73.205 with SMTP id t13mr19456721pgs.289.1510076567901; Tue, 07 Nov 2017 09:42:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510076567; cv=none; d=google.com; s=arc-20160816; b=LbBd1i/yuP1veVx2n/HnUUnTaQDa5HA92P9YvCrNVyap22/1vWnTtP2pzLkgD9IlsY ljzVatMVvAPqzESHBNO7j07JwJVdwUavlnSXb2zqXeGkj6XiVLvDvEzutctqITmKfqtt vE8tbOly/ak/WLqVSS2GN/CjV9PVoOY8azYRhNVcG9Y7EIlTx6qhtTsCUZgKhB6VWo7+ gsIJ42l+WLLGFDZB2m8+dVRg+cHdrCSNx+X0QaywvDKaOWVxEMVCYfxegHRocr1mvin/ 5LHP874sAqKdIQDclIJ0t+kBsCkADEOSYOqFIlV5r7Rz7B55XQxxRCvTuL35eujpVAtn 43Ag== 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=rVclXBajUwAy8ZCsUlJoMxXSWizb49TbS2jZLpQb6ONFVBDrcXH70C2vJkHWGk7Ya7 HuUnVTUYVAdf991nM/rkzdTlxUiy3Rmbrsnr/WW5pWvAQBzg0tRCzJ+2dlDh/SFkr0KL oCk5RQr0aPhGGmTrNW38ndyU0J7+LSMLyY+PEas8ky5ExhTcd5+zzLjZeJEGa5zgEZUQ F3NJnHq/4FYMJ+cnxv4dtfv61MG2PAjMsQuTngdIsLncNB0JEeI2UKy5rLznA2wwhruj 0ayPJRG2Fdkhr/JyhmGNaEonKDFrOdzGmtG7sNWoWNJ8POQrZRwLhyihJB1tDprZDLir NGig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=FqY4LXJB; 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 a2si1514028plp.344.2017.11.07.09.42.34; Tue, 07 Nov 2017 09:42:47 -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=FqY4LXJB; 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 S1755715AbdKGHof (ORCPT + 91 others); Tue, 7 Nov 2017 02:44:35 -0500 Received: from mail-pg0-f68.google.com ([74.125.83.68]:52071 "EHLO mail-pg0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755592AbdKGHod (ORCPT ); Tue, 7 Nov 2017 02:44:33 -0500 Received: by mail-pg0-f68.google.com with SMTP id p9so10362743pgc.8; Mon, 06 Nov 2017 23:44:33 -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=FqY4LXJBAWB4geN6GYTjl15nA/JO5CmNXelPtNOGlFzBfYMfI1BiiMmAO2qiRzCjbp KzvJFWnIHDeQ8nZ8atRjyrVo8t8rrfr+sFZ2d/Tz/+muBwcgOb6LAHPY3aW3z3UXvr+j bB+eUdLAqZl0+mdW1u/wWSFZgEMx+rFjZHCULQyk8gfkLslqYS7i3GIFai3DfRfNwc+C axSzJzLRpiIwheiWnoEF/mNrvjENOZHWB9j/vnm1PL+sVlqCc47e1xU/vNGpyT22B8QU ujk6Wg+kh0RSxrEzbotdeyCQTnEaUBIASuy0j4GnUWdRxmIj+Nibf6Z2iXsJHukYHHYl qMpw== 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=ayX1Qi4RJPp6hMp4Mu4wJAsEU01EyMd4PM85y/3Vn9uYAEJ8VfTbe4krUq1q5qoujv 1LKhHeLmu1BfrewMrzsB/eGetiPoKDOctaygXKWWgBwdnUWM/V5ePKTwNCbAPJ7ElGFQ CLtMDvTm3WZZr6RflgWWso48JdGMJ7Mzn4nrnbk1tyypicl3CmzdBi9yB1Q1kF76SBvB imOfI6Tp5c+EecBJRVpZ4gjcmc2DLVC13nIP6PGwZtm+HLKNZA7PwcoRQYRTmEQpnHrI nc76Ycqty/ZxIYXuMz3BN0v4LK4f9fQsHAIHTMogBkvMM8XDEyUmDwAagEjIfV33u+85 uwwQ== X-Gm-Message-State: AMCzsaWLvFwIAYpLOhkz7aeXbfdlJdT9ECBmjrAsLzHnhc2s8EvQT8ad m6+n7FksDDXWD4/B6gag/F8= X-Received: by 10.98.16.211 with SMTP id 80mr19468706pfq.72.1510040672762; Mon, 06 Nov 2017 23:44:32 -0800 (PST) Received: from app09.andestech.com ([118.163.51.199]) by smtp.gmail.com with ESMTPSA id y10sm1473256pfl.186.2017.11.06.23.44.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 06 Nov 2017 23:44:32 -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 v3 2/3] clocksource/drivers/Kconfig: Support andestech atcpit100 timer Date: Tue, 7 Nov 2017 15:19:52 +0800 Message-Id: <1510039193-32522-3-git-send-email-rickchen36@gmail.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1510039193-32522-1-git-send-email-rickchen36@gmail.com> References: <1510039193-32522-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 1583448975924563867@xxx Tue Nov 07 22:43:39 +0000 2017 X-GM-THRID: 1582059742303881675 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread