Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1646914ybh; Mon, 20 Jul 2020 03:48:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw1wPjreJ9O3XLFqcyA+huc44VFW/NDpD/ourt7OK1FzEmk28qfQ7kvd2gom03+Me6wfLi9 X-Received: by 2002:a05:6402:3099:: with SMTP id de25mr21312280edb.228.1595242122242; Mon, 20 Jul 2020 03:48:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595242122; cv=none; d=google.com; s=arc-20160816; b=XWdCMncRpXBy04kFJ94Yd8diqMOLR39pot0nGz5BKnAZtyJnYGAWSF89fa/J3vWMzR EL9laQni5g8dVcFrcYE1vT6EE5srRchLe2H6b/dxj9TORHoodN1kWX31pxe0UzFdm/OI 41Y59kCQHnLtxa6mXM9tUeuE/aHI5cRQZz8Xcq14vKMvJY3M+ntVTCxRRs1A6XhfiKOm pO0i+IS7VQ9Du4VGr7yvymPL75XzkSxZO5KtVsSUYNGu6xg3T2wvvJs8IRpaKiSxnxHa dA9nv+xG2MhyiN3JXB9xz4/HojTME+PSEtZIJScOdYYXkwZY/JtSWZm6muo4TKhxN8pq PNuQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=uHRAgQoOuo2NrrewNnTyTofto5ZGKZsKC7PlWtRZlsk=; b=UvJQ5HRawRRxVUJ0+4k+pPTDbqEhWnRwYDDV/DJJh2fMDRz8aDSOKgJyp3IFSs5Vxe vxxcwI7wPSwzYRynvTYCUpzaiuoLMFZL9sm/gdywG1dgw9/dYsJJI4WMD3tLY/zeGH5n SerWD9vALuZZxtWUKkqGD+hjUzB4wGUekxG3sNfI9ugwrKY3yOYMlJVMJjMGH7eunztj MwAdW5e8CWnttkQ1fG2nG0ZIgPcmICnLyHNwOiTYhB9iM9+v9RSRKTvpcE4iAROQELH3 rB7ZIbIKbFBAvPMviNw8FgoyQWWRmtpANO48616TDyCnKifeQP17yIgbk7WR7z3JGVDc GT/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=p1HO6687; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k19si10721242ejk.27.2020.07.20.03.48.19; Mon, 20 Jul 2020 03:48:42 -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; dkim=pass header.i=@linaro.org header.s=google header.b=p1HO6687; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728399AbgGTKrw (ORCPT + 99 others); Mon, 20 Jul 2020 06:47:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50220 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728273AbgGTKrw (ORCPT ); Mon, 20 Jul 2020 06:47:52 -0400 Received: from mail-wr1-x441.google.com (mail-wr1-x441.google.com [IPv6:2a00:1450:4864:20::441]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E0E56C061794 for ; Mon, 20 Jul 2020 03:47:51 -0700 (PDT) Received: by mail-wr1-x441.google.com with SMTP id o11so17340622wrv.9 for ; Mon, 20 Jul 2020 03:47:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=uHRAgQoOuo2NrrewNnTyTofto5ZGKZsKC7PlWtRZlsk=; b=p1HO6687swYNaesbAFlQr5ER5YLa6Dp61vm/cYxzq5BiwlhW8miLzY1N+ywd4GFtgC 3XA6WY/XPvOSHgg9TqIxLI5KhvMGnfnTW2NViUu4dlbKJAbl6gnUljRbZeH5RlZkqSzv NYIu0hbyjqx5xjOSNxzJHccYaD45O+xLXGTO7OW63sCBqy0HgOh6kbAPFRhNAX4Xaclw B52VdQ9mQMWK+HpRptC3d8yoWgLXAMokvcb4zYATNkCHu1X4pdTmk83uqT1FMAPL6v3A YqJLtmBJHgx/w5f84ImJux4v1xigy/1ATHGXIcHJWFAv33oMPWxdzgpU6MMgZgGZKwO/ lHQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=uHRAgQoOuo2NrrewNnTyTofto5ZGKZsKC7PlWtRZlsk=; b=h6pdSx8FyJ7W4btLw2qtjNU03Em5rG6BY89BTWj+4YAcz3ev10zABirfEEIQqNQosj BV2j4qXzvSaFRYVRUQKXHT1Gw5ZSGA4YZomlMvajb24hClPbQa2V5x4tjG8BBPj+noM1 Zelh1ikiqV4pvcPPmZxbdO8/aHxpDx3Ohd99rE00pXAuBgLgL7aevXlWd8vB5/mHXbNc 6uh1qAapH0V8deT6HtvV7IkJGyD1UXrHNLsoNoC+npJL4YRmeVYGfYE0sEkXIdfeWNJS V4pw6RgUA92Td+3KwaPyahRXt+PGPpYhv4orDXLIQFUP7UmJw1If+ufw2mhz6P2Fck4S WF9w== X-Gm-Message-State: AOAM5318/4aHeCJI51Cl+K79bUWv1wesUyXsNPgWWHKH0krP0lGvqY0d oXsssIq15mJzKKQ2694fpTI2hODxV2Y= X-Received: by 2002:adf:e7c9:: with SMTP id e9mr13083233wrn.307.1595242070556; Mon, 20 Jul 2020 03:47:50 -0700 (PDT) Received: from ?IPv6:2a01:e34:ed2f:f020:3590:b402:869a:11fc? ([2a01:e34:ed2f:f020:3590:b402:869a:11fc]) by smtp.googlemail.com with ESMTPSA id 51sm33651621wrc.44.2020.07.20.03.47.49 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 20 Jul 2020 03:47:49 -0700 (PDT) Subject: Re: [PATCH V2 1/2] clocksource: Add support for i.MX TPM driver with ARM64 To: Anson Huang , catalin.marinas@arm.com, will@kernel.org, tglx@linutronix.de, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Linux-imx@nxp.com, linux-soc@vger.kernel.org References: <1594178168-13007-1-git-send-email-Anson.Huang@nxp.com> From: Daniel Lezcano Message-ID: <6c80edf0-52ce-7b64-0631-cc52e937f54c@linaro.org> Date: Mon, 20 Jul 2020 12:47:49 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <1594178168-13007-1-git-send-email-Anson.Huang@nxp.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 08/07/2020 05:16, Anson Huang wrote: > 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. Applied, but I will let 2/2 applied by the corresponding maintainer. Thanks -- Daniel -- Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog