From patchwork Mon Dec 10 20:47:59 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 153346 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp3995807ljp; Mon, 10 Dec 2018 12:48:41 -0800 (PST) X-Google-Smtp-Source: AFSGD/U0oB/jTljzi4mB1OCS3OoAiHhAHQc0ZdaEJT7VK8NBRB+xxkbs0b5tR3zSzJr0MDB7Go3Y X-Received: by 2002:a63:4a4d:: with SMTP id j13mr12384740pgl.127.1544474921600; Mon, 10 Dec 2018 12:48:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544474921; cv=none; d=google.com; s=arc-20160816; b=hwHW9PIV6xaKOttKgFIxAak0e4tGA2n6DRxILIagKPLQ5qfvadVRgwVY54dUH2Aqp6 H/8Oo60yw+kRRi+KeOGCMuh9zr+uXk+MSDT8TBKrop3C5H9gVZY0cgu6Q/kZeBipkHKR Vdu9chbiZ5b7zkXBFSCQnCYed+DCh6v1oAAHuXQTaGy+lzFXVZN247dfRA400+1uqkSE Q3G3qEP/OG+Qz2xcmrTl21NBHFD3WBp2rnSJWZydFb+7/mKrKm16rlfcS/WlLzKzQPSn pjktSPbWQCgQ/x26z3uAdOl/mHMv6Q148pGKiUTL/OOUHf6gfXN4R8Zo5zCbtDH6KB4l iR1A== 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:mime-version :message-id:date:subject:cc:to:from; bh=Y96GGDJ1tpJdnCUXbWC1+nlYn5yjIzdyId723XkZTcM=; b=jtuJm+FjG2tNUfLfDapkYVqhKf8oedZ3/sMl1qoZZpTz5VW4T70a7tTp0EH3XIbkzR DQ8oGEZh3pNKrcogU6Sn/piKXtHcm1m4jeDYhla0qaPhoSZI0K37TUGwtFb2CRVUzt0i MCQd2ZBVM8iFlZ+HViQeuD4e/XhhFtnrAige18b3r/eQ45Q2finROove7MfiOPeTF0YJ mruFKH688tGzG5hjZP49ICzjcx2sqxwhHy9Gw+QlYF3sp4Sid5eidrbmNT3N93BFXYrt HdIWC0KnHx64TFJRbsw4xVql7F3qKvy3c1uIGrQXfwmN3FxZoI4Sch52OFZrui13H3pT Qp9A== 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 l8si9391935pgm.250.2018.12.10.12.48.41; Mon, 10 Dec 2018 12:48:41 -0800 (PST) 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 S1729730AbeLJUsk (ORCPT + 31 others); Mon, 10 Dec 2018 15:48:40 -0500 Received: from mout.kundenserver.de ([212.227.126.131]:59451 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726392AbeLJUsk (ORCPT ); Mon, 10 Dec 2018 15:48:40 -0500 Received: from wuerfel.lan ([109.192.41.194]) by mrelayeu.kundenserver.de (mreue011 [212.227.15.129]) with ESMTPA (Nemesis) id 1MNtGq-1gqBDO1Ho0-00OELJ; Mon, 10 Dec 2018 21:48:18 +0100 From: Arnd Bergmann To: arm@kernel.org, Shawn Guo , Sascha Hauer Cc: Fabio Estevam , Arnd Bergmann , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , "A.s. Dong" , Oleksij Rempel , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] ARM: imx: fix dependencies on imx7ulp Date: Mon, 10 Dec 2018 21:47:59 +0100 Message-Id: <20181210204816.2516007-1-arnd@arndb.de> X-Mailer: git-send-email 2.20.0 MIME-Version: 1.0 X-Provags-ID: V03:K1:/5qOA8hnrs1Q/kzShLRmAfQuhrtQHTybSSKRZpUWS1xzy0VKbI3 OsS/f+NxMT+PpMq7KI/+w551uRUVFfvbEwGK5fH2DrATqHnapVHNAXGlbsDXkn8Qj0Pyija UpcXDb2eyR5jbdOKas1rA6BMyD+ux6Yhk3uPlTE9hCBkewQ0FiuxbZfEM/9fVO24YXYwzYm SWudopuCt0jlBNt5OOBMA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1; V03:K0:VAJt8o1f5b8=:L/NgnzfoM/vNh5darJ+Ke5 YlZgQz/NZsyQxK4lNkvCE/krOQPRimxZ4I19YeyPR5T4JlFt7R60MKPgiHZFNH5DW95iAA9oG q+IGc48qWCKwK8K/1+GRtbYPxa+WGW2R8QP0vYFfM1ehh3Ki/u94NLCJxqxF3jwylKdRhI8FS A/HFvcD05h9xgyhunLNeznkC5HJUA5asVu8LKpiuGm5HHMFrOFL1nTNcZS0y8MMjnebaiYnfp Neji3aTmpIY0cPAeYpnKWJVNYH0zMv++cbUoGZEgexJ4Ol2wn8uUX83caG4xebor/7q3VhmkE GcTepV+PqXFiR0GHmFuXkgDKJVv0i2+rP849XI3WzGOf57GOkwOP2LH3MOLFAYU3fyx2hmUtX GinhVS7CDU51aLkZIqXTUJ3Z5ghUiVI93vwT1dm2is61bYLPQRrWB77pH/HIsRcSz/ddOEVAb f2/4ZKp3uZJv9CNbRoR2JSgp5TzKio4CllGMg0+dH7+8xBJ9Z9c4GbOMgWGFmgVD4spYELySR QoxjXdDXrfdqvsFo5EZ864hcS/lBpuzg9xF0PeOQ91JKWp8FrH7pUA8em56gkpyr2mWEBxBet GudzzUHAQafP4GOdttCCISR4bdcSFMq1h0WknJ1MIxq+BwxY+c18Pr2MgaMQXEkpm0Tt0y7lY L0aTFIuH9hi4V2ddKcw4O9vzNyfLPy+zGMWu9+Is1ACKfzVY/aw0auJIa4bf/6O8J1H2ooNZ0 oblev9ajQbyiaX31xAgrIgTily7maLiXvS8Kng== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The i.MX7D configuration was reworked, but that change did not get propagated into the newly added i.MX7ULP, which now produces a Kconfig warning: WARNING: unmet direct dependencies detected for HAVE_ARM_ARCH_TIMER Depends on [n]: CPU_V7 [=n] Selected by [y]: - SOC_IMX7ULP [=y] && ARCH_MXC [=y] && (ARCH_MULTI_V7 [=n] || ARM_SINGLE_ARMV7M [=y]) Change it to work the same way as i.MX7D. Fixes: 1a1f919eb52e ("ARM: imx: Provide support for NXP i.MX7D Cortex-M4") Fixes: acb83c0eb036 ("ARM: imx: add initial support for imx7ulp") Signed-off-by: Arnd Bergmann --- arch/arm/mach-imx/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.20.0 diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig index c12a05cbf268..9b8d4d6aa763 100644 --- a/arch/arm/mach-imx/Kconfig +++ b/arch/arm/mach-imx/Kconfig @@ -560,10 +560,10 @@ config SOC_IMX7D config SOC_IMX7ULP bool "i.MX7ULP support" - select ARM_GIC select CLKSRC_IMX_TPM - select HAVE_ARM_ARCH_TIMER select PINCTRL_IMX7ULP + select SOC_IMX7D_CA7 if ARCH_MULTI_V7 + select SOC_IMX7D_CM4 if ARM_SINGLE_ARMV7M help This enables support for Freescale i.MX7 Ultra Low Power processor.