From patchwork Fri Aug 31 19:54:42 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 10584395 X-Patchwork-Delegate: horms@verge.net.au Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 6A3E1920 for ; Fri, 31 Aug 2018 19:54:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4A42C2C85C for ; Fri, 31 Aug 2018 19:54:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3E7FA2C85F; Fri, 31 Aug 2018 19:54:49 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B561C2C85C for ; Fri, 31 Aug 2018 19:54:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727334AbeIAADs (ORCPT ); Fri, 31 Aug 2018 20:03:48 -0400 Received: from mail-lf1-f66.google.com ([209.85.167.66]:33050 "EHLO mail-lf1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726791AbeIAADr (ORCPT ); Fri, 31 Aug 2018 20:03:47 -0400 Received: by mail-lf1-f66.google.com with SMTP id m26-v6so10881083lfb.0 for ; Fri, 31 Aug 2018 12:54:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cogentembedded-com.20150623.gappssmtp.com; s=20150623; h=from:subject:to:cc:organization:message-id:date:user-agent :mime-version:content-language:content-transfer-encoding; bh=1zOGONaAPe3kDYk8x/g5+cEzZl+5tDgfFAF44OC9DHc=; b=KThpH/JyOtZ6AstMWoajm0pHm6sz+Ha/ccNb/CADcuF7TP6i3BF4S4wWDFNcmLiiP6 i/LArc9um+yL5bD/kECo716Pz/AN2xa7pfOKmfR+PsJSoVpQEBzTtKIjEM6qUK3z3mZB f0FxCO9pOYhPi+7nWwuun8bRV54Xsf2fQ+czNmu0rwV2xv5BtwePjl9/RwQIanZkWheC CLDsAyPm7harAhRU0FQb5xXnJ76ViH+yHoQUDNAmyEMwE0OO1o3hn78680QL3C+tXtaI 8ima+4U0jYp3zHh8XwuyR4b3tGjAx5spS8E6dLh24ZcGdAh4AMFPJXKkQi+BXjnn8w50 7kbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:cc:organization:message-id:date :user-agent:mime-version:content-language:content-transfer-encoding; bh=1zOGONaAPe3kDYk8x/g5+cEzZl+5tDgfFAF44OC9DHc=; b=RPBigq70YFi8WAiqjQPUosjY9z05BnqmCUdCdKxjDzMhOvFnjmFuDuw4mA5UUyYfwa 9PoYA6h6TgkLbGYPGDjV2r1Y4G3SSfSA2hCOeLe4zBMPdnsUtY4Rwcqs53O3Idp35ZCs CTpw0MK3pV5pkbsBYPz3bOI+BODZIK+YBFxY4TFHz5I7FBRlw3sf0iw7jpqCXfVHjDW6 0iv/+9RhnVv2xMmsUI2qPO+CVQqTa9h77yj6hqnIbm22FdnyTrrG89x5zfpaicytBa+d IYCtyFPSgihZegf42uPYWxZf7X5dwI/2Q65cwZyUuEG5PBHhgpd+r3dh3ypbEQMzQuLC Br5Q== X-Gm-Message-State: APzg51Cn8xKjr0cf0voPq0W2PcunRcM1pPvL4IKjYp1pILp+myrtscAV PZmJunvmxT3WFAmDIpJw7IZzFPOmNno= X-Google-Smtp-Source: ANB0VdZ1l8KORDt+LW8kKT7Jz3UPZYaDoHZ5bkbpkxXMJGurd+uW6K+S85AMUrdYM9mOJpo6Iv5aEA== X-Received: by 2002:a19:57c5:: with SMTP id l188-v6mr11972849lfb.109.1535745285047; Fri, 31 Aug 2018 12:54:45 -0700 (PDT) Received: from wasted.cogentembedded.com ([31.173.80.174]) by smtp.gmail.com with ESMTPSA id y23-v6sm2053006lfk.43.2018.08.31.12.54.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 31 Aug 2018 12:54:43 -0700 (PDT) From: Sergei Shtylyov Subject: [PATCH] arm64: enable CMT/TMU support for Renesas SoC To: Catalin Marinas , Will Deacon , linux-arm-kernel@lists.infradead.org Cc: linux-renesas-soc@vger.kernel.org, Simon Horman Organization: Cogent Embedded Message-ID: Date: Fri, 31 Aug 2018 22:54:42 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 Content-Language: en-MW Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Renesas R-Car gen3 SoCs have both CMT and TMU timers, so we have to enable building them in Kconfig.platforms (as they don't normally have the prompts in Kconfig). Signed-off-by: Sergei Shtylyov --- The patch is against the ARM64 repo's 'for-next/core' branch. arch/arm64/Kconfig.platforms | 2 ++ 1 file changed, 2 insertions(+) Index: linux/arch/arm64/Kconfig.platforms =================================================================== --- linux.orig/arch/arm64/Kconfig.platforms +++ linux/arch/arm64/Kconfig.platforms @@ -175,6 +175,8 @@ config ARCH_RENESAS select PM_GENERIC_DOMAINS select RENESAS_IRQC select SOC_BUS + select SYS_SUPPORTS_SH_CMT + select SYS_SUPPORTS_SH_TMU help This enables support for the ARMv8 based Renesas SoCs.