From nobody Mon Jun 8 21:51:06 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 DD8C83DA5C6 for ; Tue, 26 May 2026 10:20:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779790812; cv=none; b=d/mgZqXAyyxBSzSC/IUsk6dQQD/36X4kt+FqUi9CIc4Ur7psu4KXQVzKWnDcrD1pHEBl8tXKkrXDYGswUASlTNp4n29BZQNu+UbDFAoM8JcW0OYDxcRXfan/8LtDCAlRD6ZOgjxkjJoJ7AC69CCQxhGlTtZoQ6QsjhiA3OQYbRc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779790812; c=relaxed/simple; bh=qQVyHmbTyFlUWGqt/ShDjdjSV6MSrXhbebTaSzq6eZM=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=NPAhf2Li/vvKY88o5OlU7ZUp+Uky1rBu/KDWJmvRRstnfeSGCD5NzJyBrz21NcUQfMIqI+tgHTngrkJoCaEqmHSPm4HZiaLJeygm5oMf39B1pONRRWWUYaE/W5Rt1GIbFO0rOdccQxrEfX2WZsMhfoLlkotvgVTD9v8cvzZ8Cg8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=EpTsP7l7; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="EpTsP7l7" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 835CD1F000E9; Tue, 26 May 2026 10:20:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1779790811; bh=fGowtczVWhBNkE+Gheuyt3bBXSjRzvRCACjDQiWB/aU=; h=From:To:Cc:Subject:Date; b=EpTsP7l76iV+XLcKVhJYISRZiWglisRlc6c9AsrRnpU/3wIjwtfx/VNl6w9P1Ww43 jvc7/qVkLfnnHiid+SM/tXfgfvANegQh/d1upUHS4eiwOKjPAxy3PG7VasTUaTUGgu /oSjhDyIGQ/n80EVWtsN3vBGoH7h7xn46c6FZpylVj50ZvE2HBAEERdEsDuYAFZBUT 4LmvoOJMJy1w1qgFN/ckv3H1XwcZU61zrvCLw28u9MqBArTE8Ib+3sQ70QXcGEqdpY /a0aJFPuoYt3KQBK9JWlijJ8N3T4Tyw+tt9f9VGyjqmWQNvUd98UzLNqJw9yu6p6J2 hStg+aQBfj9dQ== From: Arnd Bergmann To: Liam Girdwood , Mark Brown , AngeloGioacchino Del Regno Cc: Arnd Bergmann , linux-kernel@vger.kernel.org Subject: [PATCH] regulator: mt6363: select CONFIG_IRQ_DOMAIN Date: Tue, 26 May 2026 12:19:37 +0200 Message-Id: <20260526102003.2527570-1-arnd@kernel.org> X-Mailer: git-send-email 2.39.5 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Arnd Bergmann When build-testing this driver without CONFIG_IRQ_DOMAIN causes a compile-time error: drivers/regulator/mt6363-regulator.c: In function 'mt6363_regulator_probe': drivers/regulator/mt6363-regulator.c:884:18: error: implicit declaration of= function 'irq_find_host' [-Wimplicit-function-declaration] 884 | domain =3D irq_find_host(interrupt_parent); | ^~~~~~~~~~~~~ drivers/regulator/mt6363-regulator.c:884:16: error: assignment to 'struct i= rq_domain *' from 'int' makes pointer from integer without a cast [-Wint-co= nversion] 884 | domain =3D irq_find_host(interrupt_parent); | ^ drivers/regulator/mt6363-regulator.c:896:30: error: implicit declaration of= function 'irq_create_fwspec_mapping'; did you mean 'irq_create_of_mapping'= ? [-Wimplicit-function-declaration] 896 | info->virq =3D irq_create_fwspec_mapping(&fwspec); | ^~~~~~~~~~~~~~~~~~~~~~~~~ | irq_create_of_mapping This is rather hard to trigger because so many other drivers enable IRQ_DOMAIN already, but I ran into this on an s390 randconfig build. Ensure this is always enabled using a Kconfig 'select IRQ_DOMAIN' entry, as we do for all other users of this. Fixes: 3c36965df808 ("regulator: Add support for MediaTek MT6363 SPMI PMIC = Regulators") Signed-off-by: Arnd Bergmann Reviewed-by: AngeloGioacchino Del Regno --- drivers/regulator/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/regulator/Kconfig b/drivers/regulator/Kconfig index dccb72efe8ec..2c7cdc8dca36 100644 --- a/drivers/regulator/Kconfig +++ b/drivers/regulator/Kconfig @@ -979,6 +979,7 @@ config REGULATOR_MT6363 tristate "MT6363 SPMI PMIC regulator driver" depends on SPMI select REGMAP_SPMI + select IRQ_DOMAIN help Say Y here to enable support for regulators found in the MediaTek MT6363 SPMI PMIC. --=20 2.39.5