Received: by 2002:ab2:3141:0:b0:1ed:23cc:44d1 with SMTP id i1csp203369lqg; Fri, 1 Mar 2024 02:40:27 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWOvAdrNcahSNyBvIROc1qwlaGFYdpWTwDxfyOMfGLXvoP0up1zTL5JDF0GjxlO58MzF+4eChP3R+g3x1LA41k80zBmgIx95epWN13fFA== X-Google-Smtp-Source: AGHT+IGdR3OW7nNZ5/K+oluj8dIRHc7n/juAI2u0Kw4prUfk3kmusTnrRkcICFqJJRgAAFuu0xp9 X-Received: by 2002:a05:6902:2383:b0:dc2:232d:7fde with SMTP id dp3-20020a056902238300b00dc2232d7fdemr1227615ybb.13.1709289627601; Fri, 01 Mar 2024 02:40:27 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709289627; cv=pass; d=google.com; s=arc-20160816; b=bmx0J0nSFHmljQ6Efl1Tr8gqOv7rkSPozU8aaeYHSmKUCjCEUZh4rvGZAaVSktg/yf Hgs4w8Rbt5KEuDJRMzn1Zy+ZdwtU2wq/smaFedTNJ5kVzgqJhAfmTQi3SSQggECqCG/D XQeTAna29+EYkO+jjxpM1mmYtz/jsYuK+cmoN9c4EQMSjpTwkofNjK8tD7FhUo+IMyGI qJEst4cNLtxsGtg3hkMfuDbT/9gQttGkVwgVdEfipJz8mMdMM15ftqdoMlt8I2BxJtUz lAqIBLqs5kogxUkmIDLEwogUTOJNce1i/bRZglQhxv6rzc61f97bHXuAe9VeLSoT2fAH MuRQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:message-id:content-transfer-encoding:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:subject:date :from:dkim-signature; bh=o5NiKL8r/W+kJucjBrQoKtnviioRK6Ax5P082kWhSJE=; fh=XJlRLHhGubxWN8/39spMxu3siKgSS2Le2U/twIa7/Po=; b=O2Xre0AiPVIGq1r/qgAsSNtAcR4/RIqvS9/wZNx6SZztbbek+ltzctUc8uS6zIQ+uE qg97/hyb+uG+XvO802ysulTA6jpAw0cOzohRj+59cBu0DvdipmrdMHcSP7Fh47Ti4H6i /ZjgMuuHyuFKonaW2b283en28T8SJN4CPZRCNijrzHdFoFEQQiQ6tYPenYDohHpjzAYO 4s29sZ74L4JcrFbbewPZuDwoExHDNEKmCm2e3EAVn8y2/vooKCEqhyMVVul7inaQhiKc HqYuxr+8aSwq7vgTmw1nVLklFe9ZiOYJ8mg6xY83v8BQVj1BLnqZBgttiiU5Sq7N0MSu MX7Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=SgxOeAM9; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-88265-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-88265-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id f20-20020ac84714000000b0042e5c03cc5csi3142695qtp.807.2024.03.01.02.40.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Mar 2024 02:40:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-88265-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=SgxOeAM9; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-88265-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-88265-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 4DA7E1C20A2E for ; Fri, 1 Mar 2024 10:40:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3DF366BB5F; Fri, 1 Mar 2024 10:39:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="SgxOeAM9" Received: from relay9-d.mail.gandi.net (relay9-d.mail.gandi.net [217.70.183.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1F7EC69D22; Fri, 1 Mar 2024 10:39:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.199 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709289577; cv=none; b=qhupJOkWXSeCNlbUwzRq9IQ7Rtu3suabQoKmEP/G+aPJQErYtQQTQ8xFHdnFDQpNBNdod7SMTVRfKjArv88eDynHai3LN/svo0HmfyYn/jSzyVvz4fVxae1WzVgHNZTUB+fs8hhQwGS0x2eeMhkcyYBOF7SivgEvcNu2Q1r+F7g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709289577; c=relaxed/simple; bh=pNebpWfsA+jspsdFsOJW/LSf558UZwWkGzieJ+R8+uI=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:To:Cc; b=fzHhMiqOHrBXYaWfuOux/tNxHuSDKPjMl6SOXFfG0KvxXFX8GgwIWdQ9boT1+CstbU4Gz6fbrKGnvaO5S3yXoteyeYWiL3mjLpzKKvIMPH4H1c3Jiff1BLxv3jhzRZsV0TBcX8lGfCKXgDNWCOkpeQO67WSrPfqRwfBNcnFMPwE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=SgxOeAM9; arc=none smtp.client-ip=217.70.183.199 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Received: by mail.gandi.net (Postfix) with ESMTPSA id C2D2FFF80B; Fri, 1 Mar 2024 10:39:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1709289573; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=o5NiKL8r/W+kJucjBrQoKtnviioRK6Ax5P082kWhSJE=; b=SgxOeAM92J8bU9MnEeveG4HXHNVeROmThLtiIEtkdLm+tkpTnaN4GYsQYzx/ZH19ymOkph 8rUnWBIxrtRBhcxSVL1JLb35kkV8q5HzcaaNen6qAjhGX4DsEwHwXc9DkFRYOXqTtByrQR b+VurREC5sJtBtaagcy1WMWUyk/021AnHUC+CWy0wLsQ7OpBkDrmEjwNoPTysavuwLHPis SI3w/NGr9mDDzH3zcPabXJd98WrUoOYRQbrwPjvLb4vP/VWHSi6OwHcc1AdP5VASKGInE6 BwiB//gQ+Prlgcgs9eMsglkhVP177jJa0+SRzmvIWGhWrHE9wCWh1CUh7R/tyg== From: =?utf-8?q?Th=C3=A9o_Lebrun?= Date: Fri, 01 Mar 2024 11:39:26 +0100 Subject: [PATCH] gpio: nomadik: fix Kconfig dependencies inbetween pinctrl & GPIO Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Message-Id: <20240301-mbly-gpio-kconfig-fix-v1-1-2785cebd475d@bootlin.com> X-B4-Tracking: v=1; b=H4sIAF2w4WUC/x2MSwqAMAwFryJZG6itgnoVceEnrUFtpQVRxLsbX M4b3jyQKDIlaLMHIp2cOHiBIs9gWgbvCHkWBq10qYwqcB+3G93BAdcpeMsOLV9IjRlFV9rWNcj 3iCTz3+369/0AhkLXv2cAAAA= To: Linus Walleij , Bartosz Golaszewski Cc: Gregory CLEMENT , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kernel test robot , =?utf-8?q?Th=C3=A9o_Lebrun?= X-Mailer: b4 0.13.0 X-GND-Sasl: theo.lebrun@bootlin.com PINCTRL_NOMADIK cannot select GPIO_NOMADIK without first selecting GPIOLIB on which GPIO_NOMADIK depends. GPIO_NOMADIK depends on OF_GPIO, it is a direct dependency. Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202403010917.pnDhdS1Y-lkp@intel.com/ Closes: https://lore.kernel.org/oe-kbuild-all/202403011102.v8w2zPOU-lkp@intel.com/ Closes: https://lore.kernel.org/oe-kbuild-all/202403011329.1VnABMRz-lkp@intel.com/ Closes: https://lore.kernel.org/oe-kbuild-all/202403011546.Hpt8sBTa-lkp@intel.com/ Signed-off-by: Théo Lebrun --- Test robot usefully reported four related issues; see Closes trailers for links. Here is a proposed fix. It applies on top of ib-nomadik-gpio [0]. I'm fine with squashing if you prefer keeping the tree clean of such commits. Unsure if that is what you usually do. Have a nice day, Théo [0]: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl.git/log/?h=ib-nomadik-gpio --- drivers/gpio/Kconfig | 2 +- drivers/pinctrl/nomadik/Kconfig | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index fe6112abb73a..f633be517654 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig @@ -481,7 +481,7 @@ config GPIO_MXS config GPIO_NOMADIK bool "Nomadik GPIO driver" depends on ARCH_U8500 || ARCH_NOMADIK || MACH_EYEQ5 || COMPILE_TEST - select OF_GPIO + depends on OF_GPIO select GPIOLIB_IRQCHIP help Say yes here to support the Nomadik SoC GPIO block. This block is also diff --git a/drivers/pinctrl/nomadik/Kconfig b/drivers/pinctrl/nomadik/Kconfig index 59d0d885651c..aafecf348670 100644 --- a/drivers/pinctrl/nomadik/Kconfig +++ b/drivers/pinctrl/nomadik/Kconfig @@ -25,6 +25,7 @@ config PINCTRL_NOMADIK depends on OF select PINMUX select PINCONF + select GPIOLIB select GPIO_NOMADIK config PINCTRL_STN8815 --- base-commit: 6ad679cfaeea9291e9dce3247e34656080fc1d29 change-id: 20240301-mbly-gpio-kconfig-fix-e93b03052f88 Best regards, -- Théo Lebrun