Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp196763ybt; Tue, 7 Jul 2020 20:20:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJypL21yCT56RimGu2++x88wwU4Ga+XvjhdMbutmvUIUPAfn9agjbAPO2I8Mz/Z2mNg1x+jq X-Received: by 2002:a17:906:7283:: with SMTP id b3mr51938583ejl.163.1594178447430; Tue, 07 Jul 2020 20:20:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594178447; cv=none; d=google.com; s=arc-20160816; b=wmln7+VSq0JZQ55GHLv86td4obfrgaa8cBY6BAb4eDVHpMsEc/6lMjcrJ/ZXKqKcPD znm1D5jEaveZj0VEwQ9MO7awOwhxqJMcPohTm2g/6rxHyvJe9udGqP/ohE0DFtaoevvn W8MB6sLXmKp92m4O5ybNxg1xRE+yChK6tZ5kIIgj01Rlz13pIX8hnegD6QyjIWZCTcMZ +VjQOFwVFZZVdaFIDT2n6y+30A18iOt6zH9eygXtrosFvUS7a/lFeN75aJVgmk3JjlJ/ y/87NIXGXIV6xMCmkahPw0OSzFqAd78pUZqjqPa56oFIFB1ZwnscUHHff6ZT/0SurDzF /mZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=qAOXnH/1GRhHRGgoxnDKJmxwPHqOpe3VeDEWpayYaIs=; b=yXIiErRniUVFxAwr2K3ailf/oCv0y9ZX7+eVPu/PpeZOnSou+btKodlpRj0Nqhot9j ykPxpez8xE1P3VM0LSeVdQnr1UyzK0tJr6ZRjX/1HtwfCBGrwT2GEyVc++ZE0BYerjSa QmwnSwZAgih0KkMVFG7Ls0xX93RRA6iEz0AHPmpIFgHvFepyK5itnKa2ZHAfJF4nf41W l95yahah1Ms6bMEb2vTVash41KB/aaTI6YYJHdFaOhvOk75oElAqZpkme8PhL/iJs/+i eh90B58Kx58baSXtoyD1fNF86v+aKo+MzfQjY5UrTofVXgmOiG+QICquzxXijTVbcfM+ FpaA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c15si17080234edw.265.2020.07.07.20.20.25; Tue, 07 Jul 2020 20:20:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729119AbgGHDTV (ORCPT + 99 others); Tue, 7 Jul 2020 23:19:21 -0400 Received: from inva021.nxp.com ([92.121.34.21]:59542 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728335AbgGHDTU (ORCPT ); Tue, 7 Jul 2020 23:19:20 -0400 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 06606200B8A; Wed, 8 Jul 2020 05:19:19 +0200 (CEST) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id BE505200028; Wed, 8 Jul 2020 05:19:15 +0200 (CEST) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 785E2402A6; Wed, 8 Jul 2020 11:19:11 +0800 (SGT) From: Anson Huang To: catalin.marinas@arm.com, will@kernel.org, daniel.lezcano@linaro.org, tglx@linutronix.de, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Linux-imx@nxp.com Subject: [PATCH V2 1/2] clocksource: Add support for i.MX TPM driver with ARM64 Date: Wed, 8 Jul 2020 11:16:07 +0800 Message-Id: <1594178168-13007-1-git-send-email-Anson.Huang@nxp.com> X-Mailer: git-send-email 2.7.4 X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Allows building and compile-testing the i.MX TPM driver for ARM64. Signed-off-by: Anson Huang --- Changes since V1: - select TIMER_OF for CLKSRC_IMX_TPM. --- drivers/clocksource/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig index be49123..401eac7 100644 --- a/drivers/clocksource/Kconfig +++ b/drivers/clocksource/Kconfig @@ -620,8 +620,9 @@ config CLKSRC_IMX_GPT config CLKSRC_IMX_TPM bool "Clocksource using i.MX TPM" if COMPILE_TEST - depends on ARM && CLKDEV_LOOKUP + depends on (ARM || ARM64) && CLKDEV_LOOKUP select CLKSRC_MMIO + select TIMER_OF help Enable this option to use IMX Timer/PWM Module (TPM) timer as clocksource. -- 2.7.4