Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp3727575imm; Wed, 5 Sep 2018 05:10:48 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbblWHEuunH+dgsisHwWJ2o4heIZvuI/KF6S9rkZVzCRTszk3rmepSEEchiB7sMWR/3Ptxo X-Received: by 2002:a17:902:82c9:: with SMTP id u9-v6mr38325444plz.138.1536149448639; Wed, 05 Sep 2018 05:10:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536149448; cv=none; d=google.com; s=arc-20160816; b=pEu+8TuJUns1eDRZOCT6p3p+5qEaKxKtoI++TmK1IbJ3GVohLsw+YWuPWxkA2g2tE5 PyiXzcnVp/MXKAoOyrqRq54jZtKyJpYfIcsCH7M+NZinnl0pPGyMl8I+htaORj3xyA8a BCjLaRfFF0XB3SBMykXnuiV8WXk5sV8lYlsjpaPfgKK1atEFufRDjPmlvWq6g5VLDLFC sw6Hmu6VIg1B/aLz0K7ape4vRhtCCuWcdSpciYQwhcQrWFtMa/OWK+TVb7qcla6NgZmV wHfHd8jDn0WwvEefdbEpA7h0NpACh3m+TExlJctymWDu95jutecN/yIosYC6LSCMDZPO kdkA== 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:references :in-reply-to:message-id:date:subject:cc:to:from; bh=Dfu+LOf4RlYEtKqVyIlCIkhfDCYdyPX/Q7UujeDz3F8=; b=RFn8dSwMQHnB4SgMW+Aw2zH6isy4Dc0zaWKCngkBB0WWDL6MPLGrwgOCgtgNy7rYvH CwXP5eobED/D9ly8HmpcbukZtJqfdHvvm+yhimJwl8gOaT7g3vC9e9SWoxz2ch0WUm5j tSMvHMZfdkLxTJ2CuH72a6638S3YVzs0kIDPvmHbFQoPNLbe/D5gWkqkip75LO6tSaM7 P4+Tj9HCD9wAtEtrEaGtuFg98RByr3XfOo+aNzBeoH6iUn6nr3bLaA5x3QWtoIUb8H8v 5Ifray8nx9xsah9+dqtq1KFVFtbNQksmIxQV0y8oKfhlerorBI9G+ycU+g/zvICnXoS9 PfDg== ARC-Authentication-Results: i=1; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f76-v6si1910361pfh.33.2018.09.05.05.10.33; Wed, 05 Sep 2018 05:10:48 -0700 (PDT) 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728155AbeIEQjH (ORCPT + 99 others); Wed, 5 Sep 2018 12:39:07 -0400 Received: from smtp2200-217.mail.aliyun.com ([121.197.200.217]:52303 "EHLO smtp2200-217.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728122AbeIEQjG (ORCPT ); Wed, 5 Sep 2018 12:39:06 -0400 X-Alimail-AntiSpam: AC=CONTINUE;BC=0.3572888|-1;CH=green;FP=0|0|0|0|0|-1|-1|-1;HT=e02c03308;MF=ren_guo@c-sky.com;NM=1;PH=DS;RN=12;RT=12;SR=0;TI=SMTPD_---.Cmt59mu_1536149312; Received: from localhost(mailfrom:ren_guo@c-sky.com fp:SMTPD_---.Cmt59mu_1536149312) by smtp.aliyun-inc.com(10.147.42.198); Wed, 05 Sep 2018 20:08:32 +0800 From: Guo Ren To: linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org, tglx@linutronix.de, daniel.lezcano@linaro.org, jason@lakedaemon.net, arnd@arndb.de Cc: c-sky_gcc_upstream@c-sky.com, gnu-csky@mentor.com, thomas.petazzoni@bootlin.com, wbx@uclibc-ng.org, ren_guo@c-sky.com, green.hu@gmail.com Subject: [PATCH V3 25/26] clocksource: add C-SKY timers' build infrastructure Date: Wed, 5 Sep 2018 20:08:04 +0800 Message-Id: <06ef7aacf1ada727ef83cda3b2b8e1ca742c96d5.1536138304.git.ren_guo@c-sky.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: References: In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Signed-off-by: Guo Ren --- drivers/clocksource/Kconfig | 15 +++++++++++++++ drivers/clocksource/Makefile | 2 ++ 2 files changed, 17 insertions(+) diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig index dec0dd8..6ff0a25 100644 --- a/drivers/clocksource/Kconfig +++ b/drivers/clocksource/Kconfig @@ -609,4 +609,19 @@ config ATCPIT100_TIMER help This option enables support for the Andestech ATCPIT100 timers. +config CSKY_MPTIMER + bool "C-SKY mptimer driver" + depends on CSKY + select TIMER_OF + help + This option enables support for C-SKY mptimer. + +config GX6605S_TIMER + bool "Gx6605s SOC system timer driver" + depends on CSKY + select CLKSRC_MMIO + select TIMER_OF + help + This option enables support for gx6605s timer. + endmenu diff --git a/drivers/clocksource/Makefile b/drivers/clocksource/Makefile index 00caf37..764a45a 100644 --- a/drivers/clocksource/Makefile +++ b/drivers/clocksource/Makefile @@ -78,3 +78,5 @@ obj-$(CONFIG_H8300_TPU) += h8300_tpu.o obj-$(CONFIG_CLKSRC_ST_LPC) += clksrc_st_lpc.o obj-$(CONFIG_X86_NUMACHIP) += numachip.o obj-$(CONFIG_ATCPIT100_TIMER) += timer-atcpit100.o +obj-$(CONFIG_CSKY_MPTIMER) += csky_mptimer.o +obj-$(CONFIG_GX6605S_TIMER) += timer-gx6605s.o -- 2.7.4