From patchwork Tue Dec 10 19:51:44 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 11324281 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 3F8D8930 for ; Wed, 8 Jan 2020 18:22:03 +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 CF30620692 for ; Wed, 8 Jan 2020 18:22:02 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=linux.kernel.org header.i=@linux.kernel.org header.b="bll3ul3v" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CF30620692 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+1097+1554929+3438807@linux.kernel.org X-Received: by 127.0.0.2 with SMTP id ByVOYY1556264x2pOfQL0DuT; Wed, 08 Jan 2020 10:22:02 -0800 X-Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by mx.groups.io with SMTP id smtpd.web10.94.1578507721880663259 for ; Wed, 08 Jan 2020 10:22:02 -0800 X-Received: by mail.kernel.org (Postfix) id 5313520705; Wed, 8 Jan 2020 18:22:01 +0000 (UTC) X-Received: from mail-lf1-f66.google.com (mail-lf1-f66.google.com [209.85.167.66]) (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 F324920692 for ; Wed, 8 Jan 2020 18:22:00 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org F324920692 X-Received: by mail-lf1-f66.google.com with SMTP id f15so3145999lfl.13 for ; Wed, 08 Jan 2020 10:22:00 -0800 (PST) X-Gm-Message-State: aJhf1JxAkdQedfrTOVHFJHYKx1554929AA= X-Google-Smtp-Source: APXvYqwDoX+zHASv0DdheYeTARQTJrgata+7rQurhE/sqx/DUIHY+K7+8f4rbRfE9CxI7hR7G/v/1w== X-Received: by 2002:a19:4f46:: with SMTP id a6mr3659282lfk.143.1578507718740; Wed, 08 Jan 2020 10:21:58 -0800 (PST) X-Received: from localhost (h85-30-9-151.cust.a3fiber.se. [85.30.9.151]) by smtp.gmail.com with ESMTPSA id y1sm1656578ljm.12.2020.01.08.10.21.57 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 08 Jan 2020 10:21:58 -0800 (PST) Resent-From: Olof Johansson Resent-Date: Wed, 8 Jan 2020 10:21:46 -0800 Resent-Message-ID: <20200108182146.63x5o2mt55pg5aly@localhost> Resent-To: soc@kernel.org X-Received: by 2002:a5d:994d:0:0:0:0:0 with SMTP id v13csp6041510ios; Tue, 10 Dec 2019 11:53:01 -0800 (PST) X-Received: by 2002:a9d:7757:: with SMTP id t23mr27922991otl.315.1576007581111; Tue, 10 Dec 2019 11:53:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576007581; cv=none; d=google.com; s=arc-20160816; b=I6yfebdo2e4+lf9R49XBe2l11JAKVwh5UgpDWTU/gLMSFmeLDlW6GKmTnc2GonOLBY PbJP/MbNopTBw0HdlcpcZkbsSdFQsY+UKlTJRWk2dFA+m2Q0BrprfTwNv5u2Htai926k HgokGS4MarM5cch0DoE0BADw1TsaOX7kCg1yv5KgXisaBOFbb2o4E44qEVPDgKdIvCCs zWCXYh+koRY0f9CsFreYODGGaly5g9ozluWf74sL1Ui5IQl5kvuP7R9zE4h37/rATe6Z zc381RUZkrIG7QRmG+fOzFUqmuHo9Og7DOa9JOOFoU2QIWVABNc8MioBwaz0LAKDm2ha 6B5A== 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=qLXdzl7LBDG/jwaPhJp1FfDO5SYgFMuWQWxZjOPIwec=; b=kibrVpTpsIikEpsXabjSNl7zLSzO4LcTnPdH8GC/sfoCwA54w3j7UjlklQwV3oCnY9 ubfjCnzHeaaUwHkFGXT8HXeTCiR6+mJWUdzuJGRB6x/gti+W/5DnNl+ZznHHEMZwkwad Vcw3SpAmCqekQof15ORwTkQ0dJLZiBRLjpN+J58EPR1oPkCoEP6diZ+kqncl4Yj7QHNv GPpq5B2PAJqlj/lFxAfochwN6mqRalEkFHUJPKb2J3FF2zskv36sDWzYMgPrU6zHvlpI JIYhmtEx//uYYT+y67AHlMOC31AJSeUxsw/WHTUIeDyGtSJBPPp41zTe5b6Cy+2Ew1Eu iisg== 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 X-Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w64si2575047oib.185.2019.12.10.11.53.01 for ; Tue, 10 Dec 2019 11:53:01 -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; X-Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726685AbfLJTw7 (ORCPT ); Tue, 10 Dec 2019 14:52:59 -0500 X-Received: from mout.kundenserver.de ([212.227.17.24]:48441 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726018AbfLJTw6 (ORCPT ); Tue, 10 Dec 2019 14:52:58 -0500 X-Received: from threadripper.lan ([149.172.19.189]) by mrelayeu.kundenserver.de (mreue106 [212.227.15.145]) with ESMTPA (Nemesis) id 1MTikV-1iAh0D2xMz-00U0Gz; Tue, 10 Dec 2019 20:52:04 +0100 From: Arnd Bergmann To: Linuxkernel+Patchwork-Soc via Email Integration Cc: Arnd Bergmann , stable@vger.kernel.org, Bartosz Golaszewski , Philipp Zabel , David Lechner , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] ARM: davinci: select CONFIG_RESET_CONTROLLER Date: Tue, 10 Dec 2019 20:51:44 +0100 Message-Id: <20191210195202.622734-1-arnd@arndb.de> MIME-Version: 1.0 X-Provags-ID: V03:K1:yzlNRh3NNg4yi3/+SOu84vzqxuE3ALqmc8SzWN8n/eF/oFv9jH3 pXUf0p+Robr0Mvi0Z5VXk60Q11HWX/ycX9tpw5EN7RlgBnPljnqSjSd+u2UdlVBpdR1xPG3 dsLC+Dw5cG2sUwDhXndzdJRu2JJhpkp2uOJxSdmuxVZZFUoKZGazSdi525M5KidPgSPCFvi QIV4ktU1sNBtL7IVARytA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:nkkoiZh+DM8=:HiMiLl6p7f68ae705iW+WW /+K5vhIuXifxSPnLe8u2pTUoZL61HepdIzROtYD+VGqOK16vjoxCRfLOyjD8/UWskFA6N4DDC cBTKWyP0TLZoZohKUcjDF1uj07cGjE88fDdmdA9G8N5Vfg5iQUU2OcDbTeZRmZ4cj6Q2kXRVu CG91KwO/mNFaIZrcFGhI+MsL8lrciilwEzX/ayTAf9jx3aR8QO0CgSnL4OhygxjN6ZXIXvIhv ZZ5gfXPk14E3wZQ5iQ/Lw+ocrbT3WaUwT2uX5QrgyNLk5bbacd89kD0ap6l/nW956g7lmMbx0 OmYZWnDp/f3aKJzs8AHAK46+0v6KqR8rxScuD2y/yACg71oLqzKH8JYJZmIQZuBzvmFuadkW6 aivmTH6ZYsOxGmjGDcgrKDQJUnAbxsTz1vcpiPpVHQVm89R4FFXqiQ1G7FBnrEDSKTeps3dgN Bnlhf4DXGlLI3/VNjHgmOA2+WrQ5vUZdctWq45f1sguM1SUAEIXWBK2RM6MNmJziV6VFVsVFe +CctwO6vX8nzbpbMtFP4/MnUs8Vz5oB8qeJqpJ5StboXEdRJEO7h1+JQjGx3HImT6RT+7TUOF bxG/5/2mmE0sPCiE1UP7rC6ZJT2rDjXHBKmlrYISXKFneXcuwzKbU+RC5Y6PyZNVjaBh7W0SN xQRKPNsEnGnhZwOx0SdF0v7d/pmr848lP1StNa+YAc3ycQtWPdmY5b/Kxi/kIqMFR6OuhEbRn J4wqUtJOz9KKy5YcL57Z+d/WTlubpqhCfHNXt4yiyX2eqBFNX8L2xJZkWhYD+lIZwU8B5iQ6v 5HsJ3qdXA5htkt8CD1+rh02KI9u30r7CXPQMXFCHLL4KaKl3/zQIJvJ7NLrxfhyEF0FYbnQJw q+ACtPYVeVTWNIx4eAdQ== X-Mailing-List: linux-kernel@vger.kernel.org X-TUID: b4Z3RSz9/eaN 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=1578507722; bh=QpWI6q04vHIrwKoCCa3WyatSOnj6ehpepek+Kwg4e7k=; h=Cc:Date:From:Reply-To:Subject:To; b=bll3ul3vh1HzQp6PT2beC0U1ipBwEB+gsxNfLkU/pDIRGIGDJ9afjVoS+2QccNfXEn2 Q9rYp4XqfOMRTIcVs9h6R59RB/8RMMLUck5GnZ7uwZ5Frm1JPRJqR/URhfTS9Z/2CcQyI ySDkQZtiHuYZG4ldFvpJ30Eodu3VbRJI8X0= Selecting RESET_CONTROLLER is actually required, otherwise we can get a link failure in the clock driver: drivers/clk/davinci/psc.o: In function `__davinci_psc_register_clocks': psc.c:(.text+0x9a0): undefined reference to `devm_reset_controller_register' drivers/clk/davinci/psc-da850.o: In function `da850_psc0_init': psc-da850.c:(.text+0x24): undefined reference to `reset_controller_add_lookup' Fixes: f962396ce292 ("ARM: davinci: support multiplatform build for ARM v5") Cc: # v5.4 Signed-off-by: Arnd Bergmann Reviewed-by: Bartosz Golaszewski Reviewed-by: Philipp Zabel Acked-by: Sekhar Nori --- arch/arm/mach-davinci/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-davinci/Kconfig b/arch/arm/mach-davinci/Kconfig index dd427bd2768c..02b180ad7245 100644 --- a/arch/arm/mach-davinci/Kconfig +++ b/arch/arm/mach-davinci/Kconfig @@ -9,6 +9,7 @@ menuconfig ARCH_DAVINCI select PM_GENERIC_DOMAINS if PM select PM_GENERIC_DOMAINS_OF if PM && OF select REGMAP_MMIO + select RESET_CONTROLLER select HAVE_IDE select PINCTRL_SINGLE