Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp5568222imm; Wed, 12 Sep 2018 07:54:57 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYfmi/QtlkkvSmLgySOQB/2+fwvG5GmFkQDsoNRZWb509Emij24SxMxbdy2iAy/BX5lY0EL X-Received: by 2002:a63:7511:: with SMTP id q17-v6mr2811996pgc.144.1536764097253; Wed, 12 Sep 2018 07:54:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536764097; cv=none; d=google.com; s=arc-20160816; b=AgJNdhp1fg5SmpruXoIkVKIZsDOIqyN6ZlTU2xyYJPnaVVKaeNdzmbQWmpEukcGNzx v7/4PNf4A42Vn7ibgq6/nJLSUbyBDW8DE0rCcWVzaazwBz7QtPiAQOS3ArzNbsZPMHE+ HDKQThp//SiQbHzXjt8rPnmdp9kdd6K0m0mCCTr6wwKH1OAGRl7uWHmN2F/CDWrNDcC2 2+GfzUoZH+xOW2rdQDzb9M1+YdhuQECuiays7unXMgzYMN0QiPFSU4UG1VAgkM2NUVJn a/+zCs4A58EP/XXymmH+y9EBG/qSIvqoUCzoqOKOH5zKk4rJYXa9a3Ga5g2SwP6fWgzq FJWw== 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=0Y0fjaCwBVMHG1eztR/05aXugPxRdNfm7tAU2oSID4fjjVo6t9sxiKipvuJoT3pHB9 Ag9CSWXTD0AHIpdVSMa4HX054NRWbpX9mX43HgR7sfEYmzAm8q5loK4PPl71/JDewz8F A1R0jaejfYQJm4Ln/LUQ5RedRCuqoeVoZa1c/mxY9wREyCJa1GeixY2S/o0nT7HVEVM7 AbUmmdZxwOWT7bpC5wc2AAOudlDopHBJsrkmgNdhR3TL5hZqbxQ93WGNBzknP5CDICPn PTutQeSYfYq+L05PVZBVJ/ChcaZIXVuLV9ofKJILaTWsHVnIa6GLCg3NzEC85eZVu9pP Eu7g== 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 b11-v6si1111399plx.106.2018.09.12.07.54.40; Wed, 12 Sep 2018 07:54:57 -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 S1728484AbeILT65 (ORCPT + 99 others); Wed, 12 Sep 2018 15:58:57 -0400 Received: from smtp2200-217.mail.aliyun.com ([121.197.200.217]:57421 "EHLO smtp2200-217.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728405AbeILT65 (ORCPT ); Wed, 12 Sep 2018 15:58:57 -0400 X-Alimail-AntiSpam: AC=CONTINUE;BC=0.3635928|-1;CH=blue;FP=13622391009037904581|1|1|11|0|-1|-1|-1;HT=e02c03298;MF=ren_guo@c-sky.com;NM=1;PH=DS;RN=15;RT=15;SR=0;TI=SMTPD_---.CpxPATv_1536764011; Received: from localhost(mailfrom:ren_guo@c-sky.com fp:SMTPD_---.CpxPATv_1536764011) by smtp.aliyun-inc.com(10.147.44.118); Wed, 12 Sep 2018 22:53:31 +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, devicetree@vger.kernel.org, andrea.parri@amarulasolutions.com, peterz@infradead.org 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 V4 25/27] clocksource: add C-SKY timers' build infrastructure Date: Wed, 12 Sep 2018 22:52:07 +0800 Message-Id: <39d2536275535bf072cd9d93133b785c40dd978f.1536758961.git.ren_guo@c-sky.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <93e8b592e429c156ad4d4ca5d85ef48fd0ab8b70.1536758961.git.ren_guo@c-sky.com> References: <93e8b592e429c156ad4d4ca5d85ef48fd0ab8b70.1536758961.git.ren_guo@c-sky.com> 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