From patchwork Mon Dec 16 13:21:26 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 11324283 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 34F93138C for ; Wed, 8 Jan 2020 18:22:06 +0000 (UTC) Received: from web01.groups.io (web01.groups.io [66.175.222.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 0FD702075D for ; Wed, 8 Jan 2020 18:22:05 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=linux.kernel.org header.i=@linux.kernel.org header.b="CqNhIGjQ" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0FD702075D Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arndb.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=bounce+26986+1100+1554929+3438807@linux.kernel.org X-Received: by 127.0.0.2 with SMTP id fq5eYY1556264xgLAdvaj28I; Wed, 08 Jan 2020 10:22:05 -0800 X-Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by mx.groups.io with SMTP id smtpd.web10.96.1578507725444170176 for ; Wed, 08 Jan 2020 10:22:05 -0800 X-Received: by mail.kernel.org (Postfix) id 3C48420692; Wed, 8 Jan 2020 18:22:05 +0000 (UTC) X-Received: from mail-lj1-f193.google.com (mail-lj1-f193.google.com [209.85.208.193]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id DB1892075D for ; Wed, 8 Jan 2020 18:22:04 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DB1892075D X-Received: by mail-lj1-f193.google.com with SMTP id j26so4291205ljc.12 for ; Wed, 08 Jan 2020 10:22:04 -0800 (PST) X-Gm-Message-State: EZtKHEmqTmdMzaYQHfe91UnPx1554929AA= X-Google-Smtp-Source: APXvYqyhs4ZSCSDipyQfhkWgXfRV0yt+sdSY298tNx+yqLICD7dUHJ1fa6xmT2lUzvClI0UD2WiJlA== X-Received: by 2002:a2e:a404:: with SMTP id p4mr3555355ljn.234.1578507722785; Wed, 08 Jan 2020 10:22:02 -0800 (PST) X-Received: from localhost (h85-30-9-151.cust.a3fiber.se. [85.30.9.151]) by smtp.gmail.com with ESMTPSA id b1sm1869000ljp.72.2020.01.08.10.22.01 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 08 Jan 2020 10:22:02 -0800 (PST) Resent-From: Olof Johansson Resent-Date: Wed, 8 Jan 2020 10:21:47 -0800 Resent-Message-ID: <20200108182147.llkvuihjq2sy2is3@localhost> Resent-To: soc@kernel.org X-Received: by 2002:a5d:994d:0:0:0:0:0 with SMTP id v13csp4330306ios; Mon, 16 Dec 2019 05:22:02 -0800 (PST) X-Received: by 2002:a05:6808:3b3:: with SMTP id n19mr5228648oie.23.1576502522294; Mon, 16 Dec 2019 05:22:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576502522; cv=none; d=google.com; s=arc-20160816; b=D2dIre6WDnrSTNxOZwsm8QzV97UNmCeqnsZb5aU+w5GWrR7X/2YyBt8H52J/s9yTFS mG3D18YW15ib1F+VzV5z23BmcoHsO/O+Z+u2wSeLcDJjJRcSHahJUq3sbx/+9pzjwSfj cKOQOp4cSdEKaXOOH1AkAXdaF1D96RQYcbb4S/sUnZ3egybB82g0M2ZF73XOj2GyGGKV 2zz3lRKCHGRUzJcMS1fAgHG0lCRg70JzRd3NixCEDLg4hRCSaZL9m4dIHAUafzIXXOR4 o4Ok8yshU5xk5dT3m3mNvXWg/tEpgb6ywc8LhnNC9hKfqUdfNNrL/Bz3V+NwiCz6DY+k N+ig== 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=A6Wyz0Osfob+Wk6DQE/ZxvIxiNxEuwyf5h4j/e1dx68=; b=iwz4sWvBGj3C/qUywiK0VLBdKBbBBvZ5iJz3SECE61NFYqEH8qrkHI3+9zOZb6mzwJ KIERHEFE2KteF9OIIuqvuLUWUdmZme29aiW043gfHwGMHWhZRe06bNzRmyyCbOi/QjIi 1Q3PdoLiws86qXywkKRPimipKs9jkqNz8I28R5z1md5mNIBBh2RepN5dqKugnf96wZar hd3obkxubGNvAhVxxD8VDkbSS+wcsM26U70DE9k8kwM/OQeCnb0F3DRFdpicihRfyoIC 4Ocfl6qxJZs8gYRUGDdD+woZB5kvUYCNHjvQUyPYwLH3Fs9lnodo9OT/FXmivYfU59yo oEYg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-omap-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-omap-owner@vger.kernel.org X-Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u132si10672458oig.93.2019.12.16.05.22.02 for ; Mon, 16 Dec 2019 05:22:02 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-omap-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; X-Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727807AbfLPNWB (ORCPT ); Mon, 16 Dec 2019 08:22:01 -0500 X-Received: from mout.kundenserver.de ([212.227.17.13]:38087 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727716AbfLPNWB (ORCPT ); Mon, 16 Dec 2019 08:22:01 -0500 X-Received: from threadripper.lan ([149.172.19.189]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.145]) with ESMTPA (Nemesis) id 1MGhi0-1iT9Ch3e2k-00DrdU; Mon, 16 Dec 2019 14:21:34 +0100 From: Arnd Bergmann To: Linuxkernel+Patchwork-Soc via Email Integration Cc: Arnd Bergmann , Greg Kroah-Hartman , Thomas Gleixner , linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] ARM: omap2plus: select RESET_CONTROLLER Date: Mon, 16 Dec 2019 14:21:26 +0100 Message-Id: <20191216132132.3330811-1-arnd@arndb.de> MIME-Version: 1.0 X-Provags-ID: V03:K1:Wm5RTpZAgx5UpDGIoWv7v4EV7gdfDKQbLqHRuQjOl+FrgU30CXT axQk9AW0xPd7KS/ckntU087e9UeSzC5puiBOhiDC2jXNCLtwnF7z+3SGrPJDn5SrDkCBSfJ uaaXALhckSIy8qrY87GXPTv53Ehouq3yWA+xHHc9uk4WUVKG5qBHqn4arqcPnS1mAJ1LS67 1beLDQLKqRcI96Xz4pJ3Q== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:Hrhxfp/VpYg=:3otAal51aHHrkXXep6RH3D 7F0TWQqaWvIE6pZWycdW0E94YlOXWPMFP6aMmQvxiv1V+yLiY2VWmBia32ctSmLwaqXqDfRon pvhuknI9ImJtknZepqcWir9QoV61iyewoOYhWlh/TAb533Du5IpXnN+EpnZ/RLRbSfRNswjnv SVeX3cGJZZUFTaQldEZ7dSukka3ZgyFdVELyWO9lbJTbNY2usV4AEZLs+cU7vEnkWX5SmKpV7 Wjh2GIYbkYJZgJXnHPLFS3IBzczQr9AR7supnUl1r5+QIx4P8QiPkyBgQL+ulfOG/TwHu+UT+ TAvzHq/vmlFxQVJbr+gPGUWz+bfZUTcJgySg0B6PYMSWsckQ3EwtzyfKq9rS1Tf4TEN41PbOd 9MTGtmwxzpbsNOxYJXzm/3R/GWgSSj2Ws6No7WFdeSyG+o+qWPQrJvIBOjUPmQt/N5VgdSbsH 9/UmgMUJlFPZRVfQwd2ksC34toKEjbL6Pj+pnrzrQQeAHJKFfnJ/en/nmx4ePAJNxDOaSi34t n9k8kisZWjgEoL9UkqlPzN9PPKioK6KVWt8DPQVQo49jsJDIgUyfho/hWLQwOb2Oj2yiHpLPj hs6J9TPJv+vc09ftQI2x2ar3Qo9Sf4K+X7gHcpSaSVmMQt+w1p18DEKsaKKik03Cm1AZx930O FQsf7nrtKzqa57ux1XvcYb1qXkP4E5XKcnNm9TnE+KWVdu+xSAZVML3jAtPt2gH0pOZN3Vp0I ZqcPfdT7utDoewzkX7bHJx7AgSFSny7N+OkdsgTiQwjJZnrbbdslnq5Z/yCMn7sIHsc7ZSxEg eVaUCaX1Ulxe54UoREM+4uNOjYLy5HHCdVyPTpcff+DIoRgazBOxWn/vJICZcGIzMtY64yXYh HWZNCOLHk4g6rke0sltg== X-Mailing-List: linux-omap@vger.kernel.org X-TUID: e0583RhM9etV Precedence: Bulk List-Unsubscribe: Sender: patchwork-soc@linux.kernel.org List-Id: Mailing-List: list patchwork-soc@linux.kernel.org; contact patchwork-soc+owner@linux.kernel.org Delivered-To: mailing list patchwork-soc@linux.kernel.org Reply-To: patchwork-soc+owner@linux.kernel.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux.kernel.org; q=dns/txt; s=20140610; t=1578507725; bh=Grz3pkYl/OpZRAgPFs0y2P/3b5u+Y2En6p1LOIPA3wU=; h=Cc:Date:From:Reply-To:Subject:To; b=CqNhIGjQDrKti+9+GJI3bhRUGlIZZGjR5WfY19GV1qCRrKou4omqNfkq4SsSHJ0pxau kQ1/+E4bJAsZxkIw9Efzg9BRBaL6rN9WMnAUbGF2aZQ96uRTHqQ1CGO+z/MOSwCKR2cB1 FENga//HA6pViMlLuS/lBoEtc8Zn24gVcaQ= With the new omap_prm driver added unconditionally, omap2 builds fail when the reset controller subsystem is disabled: drivers/soc/ti/omap_prm.o: In function `omap_prm_probe': omap_prm.c:(.text+0x2d4): undefined reference to `devm_reset_controller_register' Fixes: 3e99cb214f03 ("soc: ti: add initial PRM driver with reset control support") Signed-off-by: Arnd Bergmann Acked-by: Tony Lindgren --- arch/arm/mach-omap2/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig index fe0f82efb1de..639bc38567a7 100644 --- a/arch/arm/mach-omap2/Kconfig +++ b/arch/arm/mach-omap2/Kconfig @@ -95,6 +95,7 @@ config ARCH_OMAP2PLUS bool select ARCH_HAS_BANDGAP select ARCH_HAS_HOLES_MEMORYMODEL + select ARCH_HAS_RESET_CONTROLLER select ARCH_OMAP select CLKSRC_MMIO select GENERIC_IRQ_CHIP @@ -105,11 +106,11 @@ config ARCH_OMAP2PLUS select OMAP_DM_TIMER select OMAP_GPMC select PINCTRL + select RESET_CONTROLLER select SOC_BUS select TI_SYSC select OMAP_IRQCHIP select CLKSRC_TI_32K - select ARCH_HAS_RESET_CONTROLLER help Systems based on OMAP2, OMAP3, OMAP4 or OMAP5