From patchwork Wed Jul 6 12:48:09 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 102044 Delivered-To: patch@linaro.org Received: by 10.140.28.4 with SMTP id 4csp845753qgy; Wed, 6 Jul 2016 05:45:46 -0700 (PDT) X-Received: by 10.66.86.103 with SMTP id o7mr42467524paz.5.1467809146561; Wed, 06 Jul 2016 05:45:46 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id uk2si4016542pab.226.2016.07.06.05.45.46; Wed, 06 Jul 2016 05:45:46 -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 S1754450AbcGFMpo (ORCPT + 30 others); Wed, 6 Jul 2016 08:45:44 -0400 Received: from mout.kundenserver.de ([217.72.192.74]:51162 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751108AbcGFMpm (ORCPT ); Wed, 6 Jul 2016 08:45:42 -0400 Received: from wuerfel.lan. ([78.42.132.4]) by mrelayeu.kundenserver.de (mreue103) with ESMTPA (Nemesis) id 0MT6qE-1atisG3RKw-00S4zA; Wed, 06 Jul 2016 14:45:14 +0200 From: Arnd Bergmann To: Neil Armstrong Cc: Arnd Bergmann , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] oxnas: select reset controller framework Date: Wed, 6 Jul 2016 14:48:09 +0200 Message-Id: <20160706124826.1563413-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:tu03aEEFnTf8Yq9rWvxAtH5OKtE4TBkqzO4NGYh+w06MpQ/jfXK qVsNPgS+Vh//Um6lbiPdK/hM1yEiOCHKjcMBsN75CEDy6eYUmkQGm9Iviifa3ZYMUpuPYHG GqzKxW9xL9RAh5jS+BMYRT8QfTrXS3OZ4F1yi5SHokBAK45t4PbP5WW85Yk67+7V5KE7XFO QqrecRWBOhTnacIT0qNQw== X-UI-Out-Filterresults: notjunk:1; V01:K0:UhrF95KLBrY=:aajMsMQFD/DJI9zw0yzhwo GyIvz7mjwcMQJcdROPMhWJF8pP1KxI3v28Lg52mJXE/WPwb9P2Efx4KbqwFN9xLrja65Qvxrq vU9xoFWPwXtBAhrD4UQJpQ1q7j6eEdDTNWG7HfPhP41vDO7XCi7YeMNtsWQnw4U87Hs9c+Z+c qmVQUOW+R+xtPxLZx+O+KY/T4PvJe7UJ9dUs6kVZ4B012TJFUg7abvjuKG9Fp6k/QBD/x/s12 5W+A7qqIgf7eR3aMoyBfq8yNqZnPCSIzgqBYm+OFIy1KwJ5WhzMQTOgKWHhRFUmAcZSpYKrwM X8wveqoZpI7L8PNT0J321dIx26wkpebS+iCaI1hMJkohZNbEhv6AGovbEf+ht5ZEqZ7kCFBcw GSeBUSPoDUePUzzdwAGO60PrA/4+GH3wRbDi/VaMEk8RgKA+a+oJ85x16fEoX5kq9G5DEjVMx YtA66/ycHV00+uRf/NoF2Egk/iY9CQchOqV6X3oqPUGqXivLQxx6EEg5cvKn5YBvxAVca6LlY 9tac6sxfnAxM6qMOm+sYuO1un5XhqNDgSqfXx3Fahym9CIGkGSgWETdTsFPLT8iHx88PhMaHi S/GBq6Fse2cPhOTkS6vK1bhia9Vm0vu0fb4B7qoDPpgtUsTz8KX64nwG4eUgruIrLFHcjw6LU Slptft52aKEWUqRxA62lwVzO/uB+xSblH3NUYX21NoCDkrY6V2JtK2XI1IMzjSsYrI6s= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org For unknown reasons, we have to enable three symbols for a platform to use a reset controller driver, otherwise we get a Kconfig warning: warning: (MACH_OX810SE) selects RESET_OXNAS which has unmet direct dependencies (RESET_CONTROLLER) This selects the other two symbols for oxnas. Signed-off-by: Arnd Bergmann --- arch/arm/mach-oxnas/Kconfig | 2 ++ 1 file changed, 2 insertions(+) -- 2.9.0 diff --git a/arch/arm/mach-oxnas/Kconfig b/arch/arm/mach-oxnas/Kconfig index 2dde0acf01fd..b6a36d660e6f 100644 --- a/arch/arm/mach-oxnas/Kconfig +++ b/arch/arm/mach-oxnas/Kconfig @@ -11,11 +11,13 @@ if ARCH_OXNAS config MACH_OX810SE bool "Support OX810SE Based Products" + select ARCH_HAS_RESET_CONTROLLER select ARM_TIMER_SP804 select COMMON_CLK_OXNAS select CPU_ARM926T select MFD_SYSCON select PINCTRL_OXNAS + select RESET_CONTROLLER select RESET_OXNAS select VERSATILE_FPGA_IRQ help