From patchwork Fri Mar 1 10:39:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Th=C3=A9o_Lebrun?= X-Patchwork-Id: 208759 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2097:b0:108:e6aa:91d0 with SMTP id gs23csp988859dyb; Fri, 1 Mar 2024 02:40:34 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVmXrsOVGKsDXg+VoevvySOiE+BF7+PwF+yLbBsIuMdZ+mgwSw67d5Y5MKuiLt+6tFZBBCijP1ZOSA8p6bgbzp0KchAQA== X-Google-Smtp-Source: AGHT+IFKDVXcMPzOsUGLn6iQUK/mK7O953a2tq0xhNWW27XxjsD3Eb4ZqGKudPUbfRHrihDh9SgU X-Received: by 2002:a17:903:1c5:b0:1db:f941:c9a with SMTP id e5-20020a17090301c500b001dbf9410c9amr1593091plh.45.1709289634139; Fri, 01 Mar 2024 02:40:34 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709289634; cv=pass; d=google.com; s=arc-20160816; b=aJ+87W3R7nP4c31x8eAeYWbp0HsNPOlB0Nai6fbYAwRmiStHop1aDZmkP0UW7qGflm Kr/Y4bHSQv4I8ru6xRxuBy/OUse0ll51by7Eb+ANg4E8dhMO6q4YowJlewV9b2/Ry6eZ KYChwvt40JSJqajDjnGtZhjZ4j5cY/yc5agA7e+vtPknNgmhS61ZgfC7ZJlgmVpucdOk Pf+XHyi8CS9yV43JcOCR3pYCLMlJJSv6D5G70R3SWOLDsFgQJD2t/TYfZc25JQAOnjqI Rsz+z2bgyYoRF+VwNjCS1I48h3iu36A8aeBYABAt9tzLA22BYE2SebaHdqvrHXqcZDsy Zxyw== 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-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-88265-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id u14-20020a170903124e00b001da105d6a6esi3319099plh.523.2024.03.01.02.40.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Mar 2024 02:40:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-88265-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; 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-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-88265-ouuuleilei=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 sv.mirrors.kernel.org (Postfix) with ESMTPS id F1B6B28768C for ; Fri, 1 Mar 2024 10:40:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 171256A359; Fri, 1 Mar 2024 10:39:40 +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 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 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1792320087051147256 X-GMAIL-MSGID: 1792320087051147256 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(-) --- base-commit: 6ad679cfaeea9291e9dce3247e34656080fc1d29 change-id: 20240301-mbly-gpio-kconfig-fix-e93b03052f88 Best regards, 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