Message ID | 20231107003603.20973-1-rdunlap@infradead.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:8f47:0:b0:403:3b70:6f57 with SMTP id j7csp3016719vqu; Mon, 6 Nov 2023 16:36:35 -0800 (PST) X-Google-Smtp-Source: AGHT+IEXMzvgjvUqjQ+HKrXSxG+1GNjqQFZLOmgEdDX9I7sTOMOfTatoAVdyjjw3Fv0pKoZkRRth X-Received: by 2002:a54:4090:0:b0:3a3:e638:78d2 with SMTP id i16-20020a544090000000b003a3e63878d2mr27120063oii.12.1699317395516; Mon, 06 Nov 2023 16:36:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1699317395; cv=none; d=google.com; s=arc-20160816; b=pDsZtykHReSNq7ihY6gLfbGCHN02LY2cLDD0mmoL0egZCzr0cbhHSbXZ4LWNee/lQ7 R6c4MU5aWSWwWjFe5w6w20STFvGpX1a4QxF0gX81cmGVDJVFs92Aln6Ku+DuXibvT89h hfwGfAWgnAa3u0eUjEGcF6GatjqaVICVc9+QClAoxEIcjB+1nNijOWMgKjZTG4iQqTwQ rhmiU2+gkCsTTJUpxAvGIdQOsg9wFR9Taa+vCHYpySIlklpFv8ECyqPU2gC3GoSWf8E6 2iIBhzbHt9a9xlDrepC0dCBLXY4Xx7UFCvZe6dk1rmp33qjiHK1rFTytUEJI4LWqiDyt JmVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=5T5oHJBdLQzzt3P0dUoq6nEu7q81qNfme2uv6y3RHd8=; fh=NrJMGjbJ9NxtNQHFGEM5hDQDIZ3ZiEk8ylEhiXxnRrM=; b=m+vm+Kjum/Ave1+VdzojlPQxZJMF0uONlu4ZreuiIE1S51Xm+31dtbRhFRir7E67np +mSDOzNmmRJ3Raldf9GsuXU5etaYHPyrH3tw2AwSK7cuQ6dsgIE4xV2J6HglFI/1ytlg Z7koE6I2hwagwZ5LIwMkyZe15km8ZvfEM/T/9D7QgOjCT9SjbzwRKY2FwAFXsQDhSLoQ jcwwALOTd9/3tgmPosv5ixMU7zggLR1UbCe4pfie7QSlA/chPpM6oaSbU5jcDOdBm4KD AozgLKB91FRZI8A/Lbw7l3JDsOLGsZJMPmj8T5fTfODki0uOA2gGBepdF/D4iApmffE5 6U2A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=ywvAHcqt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id u10-20020a63454a000000b005a9b0fe6afbsi901782pgk.144.2023.11.06.16.36.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Nov 2023 16:36:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=ywvAHcqt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 90DC08106788; Mon, 6 Nov 2023 16:36:21 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233316AbjKGAgL (ORCPT <rfc822;heyuhang3455@gmail.com> + 33 others); Mon, 6 Nov 2023 19:36:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36396 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232821AbjKGAgK (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 6 Nov 2023 19:36:10 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9153B1BC for <linux-kernel@vger.kernel.org>; Mon, 6 Nov 2023 16:36:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=5T5oHJBdLQzzt3P0dUoq6nEu7q81qNfme2uv6y3RHd8=; b=ywvAHcqtaVWoaeTtDzGImAU/Do iYspaSp9D+50WV0BIkL3Wzly6DNDrSOzMqCzxD+GmxHz9IUu9neEo881lgfYAoOPgp9aMY8ywuzFx pyh3PmQuLdXKRWhM/jW/LIa0591leg9vZEGN0klG7GmBg2DYp3MHQrf/1+BIRUiE9MYovi7yKctxI hcfdzWqKM8Ik9dv86DJ2Jde9njBImVBaNJ6FbTubKCiBGdZoowcxQ1MdrN5fl7X132ADSbAOf3v8M U66ZS9EQnZ78YLcVg31ljFro1KHsy0IKED2af1Sb0wGc43MdSaMojzP/D2f1FhWwsTbmmZZyXJwoB 7af20bjQ==; Received: from [50.53.46.231] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1r0A4a-000E3w-1w; Tue, 07 Nov 2023 00:36:04 +0000 From: Randy Dunlap <rdunlap@infradead.org> To: linux-kernel@vger.kernel.org Cc: Randy Dunlap <rdunlap@infradead.org>, kernel test robot <lkp@intel.com>, Bartosz Golaszewski <brgl@bgdev.pl>, Arnd Bergmann <arnd@arndb.de>, linux-arm-kernel@lists.infradead.org, patches@armlinux.org.uk, Russell King <linux@armlinux.org.uk> Subject: [PATCH] ARM: davinci: also select PINCTRL Date: Mon, 6 Nov 2023 16:36:03 -0800 Message-ID: <20231107003603.20973-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.42.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Mon, 06 Nov 2023 16:36:21 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1781863437515411628 X-GMAIL-MSGID: 1781863437515411628 |
Series |
ARM: davinci: also select PINCTRL
|
|
Commit Message
Randy Dunlap
Nov. 7, 2023, 12:36 a.m. UTC
kconfig warns when PINCTRL_SINGLE is selected but PINCTRL is not
set, so also set PINCTRL for ARCH_DAVINCI. This prevents a
kconfig/build warning:
WARNING: unmet direct dependencies detected for PINCTRL_SINGLE
Depends on [n]: PINCTRL [=n] && OF [=y] && HAS_IOMEM [=y]
Selected by [y]:
- ARCH_DAVINCI [=y] && ARCH_MULTI_V5 [=y]
Fixes: f962396ce292 ("ARM: davinci: support multiplatform build for ARM v5")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Reported-by: kernel test robot <lkp@intel.com>
Closes: lore.kernel.org/r/202311070548.0f6XfBrh-lkp@intel.com
Cc: Bartosz Golaszewski <brgl@bgdev.pl>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: linux-arm-kernel@lists.infradead.org
Cc: patches@armlinux.org.uk
Cc: Russell King <linux@armlinux.org.uk>
---
KernelVersion: 6.6
arch/arm/mach-davinci/Kconfig | 1 +
1 file changed, 1 insertion(+)
Comments
On Tue, Nov 7, 2023 at 1:36 AM Randy Dunlap <rdunlap@infradead.org> wrote: > > kconfig warns when PINCTRL_SINGLE is selected but PINCTRL is not > set, so also set PINCTRL for ARCH_DAVINCI. This prevents a > kconfig/build warning: > > WARNING: unmet direct dependencies detected for PINCTRL_SINGLE > Depends on [n]: PINCTRL [=n] && OF [=y] && HAS_IOMEM [=y] > Selected by [y]: > - ARCH_DAVINCI [=y] && ARCH_MULTI_V5 [=y] > > Fixes: f962396ce292 ("ARM: davinci: support multiplatform build for ARM v5") > Signed-off-by: Randy Dunlap <rdunlap@infradead.org> > Reported-by: kernel test robot <lkp@intel.com> > Closes: lore.kernel.org/r/202311070548.0f6XfBrh-lkp@intel.com > Cc: Bartosz Golaszewski <brgl@bgdev.pl> > Cc: Arnd Bergmann <arnd@arndb.de> > Cc: linux-arm-kernel@lists.infradead.org > Cc: patches@armlinux.org.uk > Cc: Russell King <linux@armlinux.org.uk> > --- > KernelVersion: 6.6 > > arch/arm/mach-davinci/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > diff -- a/arch/arm/mach-davinci/Kconfig b/arch/arm/mach-davinci/Kconfig > --- a/arch/arm/mach-davinci/Kconfig > +++ b/arch/arm/mach-davinci/Kconfig > @@ -10,6 +10,7 @@ menuconfig ARCH_DAVINCI > select PM_GENERIC_DOMAINS_OF if PM && OF > select REGMAP_MMIO > select RESET_CONTROLLER > + select PINCTRL > select PINCTRL_SINGLE > > if ARCH_DAVINCI Acked-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
diff -- a/arch/arm/mach-davinci/Kconfig b/arch/arm/mach-davinci/Kconfig --- a/arch/arm/mach-davinci/Kconfig +++ b/arch/arm/mach-davinci/Kconfig @@ -10,6 +10,7 @@ menuconfig ARCH_DAVINCI select PM_GENERIC_DOMAINS_OF if PM && OF select REGMAP_MMIO select RESET_CONTROLLER + select PINCTRL select PINCTRL_SINGLE if ARCH_DAVINCI