Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp440527ybl; Wed, 11 Dec 2019 02:15:30 -0800 (PST) X-Google-Smtp-Source: APXvYqwahe7luC3q+xlyu83J+pH4YtvbO3Va4kULYNZC3CbJezCdBI/ykoPcB9ZQFhUjy5x9ydlp X-Received: by 2002:a05:6808:a83:: with SMTP id q3mr2254600oij.0.1576059330223; Wed, 11 Dec 2019 02:15:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576059330; cv=none; d=google.com; s=arc-20160816; b=OL78VM4LhBeE5ituHs69sHAJWJnEXvWxEoU1UIbJZsRVCY/ASBTyspvaydEUejwikl yw+POC2a7/NBgVRe2p1qTIr92fwGn3tDAcElYsC82kf0h9ruDdrAc5gg9vJxJT7buoTx Cwt6wDFy73HIVHtBbc/jNpjEqLYlaJ8c/6mUDdIXMv7jKreuXimDQhqWNMFSK2yxpqFw F97aCjVoJIilByACO8EDC8nMo4b2MVaZn28qCzrtq4EbGYpmTp5PI0IlVGVntmd1rrTC 1OcmMH+gSH5HX87eo4hZ8FcNXvzWXGN00DBVmlkTYqOf1TCc+DlRaIsra8cLfcxaTDlN iZUg== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=8BGngI7zTQTQPw9XUjrusxMSY5BvpVVhXIk8XhaPkjg=; b=ERPt0fOShp3SoXas0/LJp7SR/O2c3pxY6ll2wACsgTn1OjDSH47ohzOwXsEmCSG/C5 UzAddbAYdGJalk9fGshSq/vfFK0sfZPDJUrNtXbyKK0EZ0HsxITFNhaAY9+iCnc5cimH Jl7d2eTC+/YiqqeyD75mbNzLBcUEBwkQZUUCNjek48f9Q/QGtjS21581fqIZpEl42Kaq 42N9ZWqj742bzMpcNMO6X2SvNb2PpAzPh1M2UOszfsYPTZXu8XMKlg8Ls/IK6Dg3f/74 VEYCF0cv/c5lSii2mQ+ZRGE1O3qCdbdDzyD9imH9aZFnaeB9vTsWUFclI94Bti38rLz5 JMfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=YiKbE+m9; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 185si834815oie.52.2019.12.11.02.15.13; Wed, 11 Dec 2019 02:15:30 -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; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=YiKbE+m9; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728814AbfLKKNo (ORCPT + 99 others); Wed, 11 Dec 2019 05:13:44 -0500 Received: from lelv0143.ext.ti.com ([198.47.23.248]:49892 "EHLO lelv0143.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728104AbfLKKNn (ORCPT ); Wed, 11 Dec 2019 05:13:43 -0500 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id xBBAClIp046366; Wed, 11 Dec 2019 04:12:47 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1576059167; bh=8BGngI7zTQTQPw9XUjrusxMSY5BvpVVhXIk8XhaPkjg=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=YiKbE+m9ONDUBibMhEJdcGxQyJbj1sRfl1YT6JRXtuvy//mNi2fF5xWv/r4d9qpMp +FNI9copTvKFG2tPdEynVITozZ9Xi7XcO4PuWSi+kkJAkOrx7dbrjR4UgwL3qFRcvF 9hEJ22o6XS44u9rvUxJs6MXpXolbkGIf1WK5AZBM= Received: from DLEE115.ent.ti.com (dlee115.ent.ti.com [157.170.170.26]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id xBBACl57080780 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 11 Dec 2019 04:12:47 -0600 Received: from DLEE101.ent.ti.com (157.170.170.31) by DLEE115.ent.ti.com (157.170.170.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3; Wed, 11 Dec 2019 04:12:46 -0600 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE101.ent.ti.com (157.170.170.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3 via Frontend Transport; Wed, 11 Dec 2019 04:12:46 -0600 Received: from [10.24.69.35] (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id xBBAChGZ119576; Wed, 11 Dec 2019 04:12:43 -0600 Subject: Re: [PATCH] ARM: davinci: select CONFIG_RESET_CONTROLLER To: Arnd Bergmann CC: , Bartosz Golaszewski , Philipp Zabel , David Lechner , , References: <20191210195202.622734-1-arnd@arndb.de> From: Sekhar Nori Message-ID: Date: Wed, 11 Dec 2019 15:42:42 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: <20191210195202.622734-1-arnd@arndb.de> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Arnd, On 11/12/19 1:21 AM, Arnd Bergmann wrote: > 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 Assuming you are going to apply directly to ARM-SoC, Acked-by: Sekhar Nori Thanks, Sekhar > --- > 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 > > -- > 2.20.0 >