From nobody Mon Jun 8 12:13:35 2026 Received: from mailgw01.mediatek.com (unknown [60.244.123.138]) (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 086DE33711D; Fri, 29 May 2026 10:04:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=60.244.123.138 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780049045; cv=none; b=lGFpXnpGzRRMmwW3OAPjGds1BgWHf9XGCfJ4nG7YsPBAm0pQvGeynVJeY9NGhRtZ9mMFOCGi6whW4QjZxy9sSJPS0WYvy3DhD2cNghgUNz2th2NRIjy1vf/DSxFH5xppWyku0uda3ibcXLZTbOgEn0/iDDO7y197pK2hBljh7h8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780049045; c=relaxed/simple; bh=8ATgr5X8rdIvbrjRyKXJxnmayoN+EUgfUo5Ey/Unv7Q=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=O6JdysAiVdYBXIoo0GTXBUHA57DsF5Z0N6zMrvvfOdwq7GkJVnWsrKBrx7xLcQeu6oDCRmm5sSmZ5cBv2W6/f+KQIIY9koIS0+nGR2dNnHTOIMtdaODRyBTB28tbCgDPqOA/8XKcKdD4dxWt2o+DsjuB3/rUYMRuC6XDoDdzRA4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=mediatek.com; spf=pass smtp.mailfrom=mediatek.com; dkim=pass (1024-bit key) header.d=mediatek.com header.i=@mediatek.com header.b=nx6ypuPL; arc=none smtp.client-ip=60.244.123.138 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=mediatek.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=mediatek.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=mediatek.com header.i=@mediatek.com header.b="nx6ypuPL" X-UUID: b71de3225b4511f1b1788b6acf885367-20260529 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Type:Content-Transfer-Encoding:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From; bh=1DTsZ4mSpfFISefij5Gz5ztFju+y7++46NRoakiV2hQ=; b=nx6ypuPLrEcGXzarvabZNUX57YCxL2O86bR3YY68G4B3wy4audHzMAqnw5K6JaUSK2BTvfxlus2G4KZFq4LSyteh4cE2a25oC55jfa+3KAln5gS7x3sm2uJxmjD/YqeohhOb/adnxMAXx6iYv2GTtJdsU6AHicGlYbLT8qGAR9Y=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.3.15,REQID:69ebbeae-9a67-405a-9727-7ae45664efa0,IP:0,U RL:0,TC:0,Content:-5,EDM:0,RT:0,SF:0,FILE:0,BULK:0,RULE:Release_Ham,ACTION :release,TS:-5 X-CID-META: VersionHash:e276073,CLOUDID:968d12b3-ca46-49d2-8c24-44a17df38951,B ulkID:nil,BulkQuantity:0,Recheck:0,SF:81|82|102|836|865|888|898,TC:-5,Cont ent:0|15|50,EDM:-3,IP:nil,URL:0,File:130,RT:0,Bulk:nil,QS:nil,BEC:-1,COL:0 ,OSI:0,OSA:0,AV:0,LES:1,SPR:NO,DKR:0,DKP:0,BRR:0,BRE:0,ARC:0 X-CID-BVR: 2,SSN|SDN X-CID-BAS: 2,SSN|SDN,0,_ X-CID-FACTOR: TF_CID_SPAM_SNR X-CID-RHF: D41D8CD98F00B204E9800998ECF8427E X-UUID: b71de3225b4511f1b1788b6acf885367-20260529 Received: from mtkmbs09n1.mediatek.inc [(172.21.101.35)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 349047676; Fri, 29 May 2026 18:04:00 +0800 Received: from mtkmbs11n1.mediatek.inc (172.21.101.185) by mtkmbs10n1.mediatek.inc (172.21.101.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.29; Fri, 29 May 2026 18:03:59 +0800 Received: from mtksitap99.mediatek.inc (10.233.130.16) by mtkmbs11n1.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.2562.29 via Frontend Transport; Fri, 29 May 2026 18:03:59 +0800 From: Justin Yeh To: Sean Wang , Linus Walleij , Matthias Brugger , AngeloGioacchino Del Regno CC: , , , , , Justin Yeh Subject: [PATCH 1/2] pinctrl: mediatek: Restore PINCTRL_MT8189 to tristate Date: Fri, 29 May 2026 18:02:41 +0800 Message-ID: <20260529100308.51271-2-justin.yeh@mediatek.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20260529100308.51271-1-justin.yeh@mediatek.com> References: <20260529100308.51271-1-justin.yeh@mediatek.com> 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 X-MTK: N Content-Type: text/plain; charset="utf-8" Under the GKI + vendor_dlkm model, vendor-specific pinctrl cannot be built into the GKI vmlinux. Upstream's recent switch of PINCTRL_MT8189 to bool prevents building as a loadable module, which breaks DDK module usage. Restore tristate so MT8189 pinctrl can be packaged as a kernel module in vendor_dlkm. Signed-off-by: Justin Yeh --- drivers/pinctrl/mediatek/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pinctrl/mediatek/Kconfig b/drivers/pinctrl/mediatek/Kc= onfig index 4819617d9368..a75434e7e989 100644 --- a/drivers/pinctrl/mediatek/Kconfig +++ b/drivers/pinctrl/mediatek/Kconfig @@ -270,7 +270,7 @@ config PINCTRL_MT8188 map specific eint which doesn't have real gpio pin. =20 config PINCTRL_MT8189 - bool "MediaTek MT8189 pin control" + tristate "MediaTek MT8189 pin control" depends on OF depends on ARM64 || COMPILE_TEST default ARM64 && ARCH_MEDIATEK --=20 2.45.2 From nobody Mon Jun 8 12:13:35 2026 Received: from mailgw01.mediatek.com (unknown [60.244.123.138]) (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 B388733A00C; Fri, 29 May 2026 10:04:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=60.244.123.138 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780049050; cv=none; b=CSuhA1wuqFduUKBeuUsu1n4jLRLHbXY//p9vGtimm81Lz2RRCDNtWVegKchfg1XMUEGwZEB9yqGOUWtrKLZhvePzo6GRsnjIiSEmzeMKFfPiaaSasYdlFScFr3jdskT2XUUlHdMN1wIwPhod40njmcg+F2Bh/rC9i6JmZnkszN8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780049050; c=relaxed/simple; bh=/vmrKk2beBz3O7mQP0UlMlm/vuaqBKuNKe7FQmX3g/g=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=FK3iNRWILm0a6+JU3nZb9d6tkUphUkuoimOcElhPOZpVgPB2z4Qtm7QWKaTK/EsHCZGF6lPQVlnvvyPpn1o7OAIMOAjbtj7cZWiClmAFdacAu99+G1JVh8Ox98K7uWAbvb4J9vqysDn3Q7qUO/LrBEoZp8VU1gHq5kB52TS+7t0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=mediatek.com; spf=pass smtp.mailfrom=mediatek.com; dkim=pass (1024-bit key) header.d=mediatek.com header.i=@mediatek.com header.b=mjtGL7NN; arc=none smtp.client-ip=60.244.123.138 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=mediatek.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=mediatek.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=mediatek.com header.i=@mediatek.com header.b="mjtGL7NN" X-UUID: b7737e4a5b4511f1b1788b6acf885367-20260529 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Type:Content-Transfer-Encoding:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From; bh=bpBRYje8PFwQWANH98rSqO/HPHv/oZ2k0pnYJxe+62g=; b=mjtGL7NNIhZaFAJi9Al7ghBnD0Qk7hgXknQiT2Z1iycP4qGD+J5oFG+1SnU8pBiPTFNMoG64uAmhyqBdPDstUW1PbPziBD7TtiMIJpGCWQ2VDnTi0u+Oh+zTwf03BKhuHZvOmzmtM0l9gRUNJp3X42F9Tq66hGSqx0ov/QbZfBs=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.3.15,REQID:8650c792-ebf1-4934-a1ce-3eb08b519cec,IP:0,U RL:0,TC:0,Content:0,EDM:0,RT:0,SF:0,FILE:0,BULK:0,RULE:Release_Ham,ACTION: release,TS:0 X-CID-META: VersionHash:e276073,CLOUDID:fd26c54a-0449-4a87-afcf-cdef1b1bea20,B ulkID:nil,BulkQuantity:0,Recheck:0,SF:81|82|102|836|865|888|898,TC:-5,Cont ent:0|15|50,EDM:-3,IP:nil,URL:0,File:130,RT:0,Bulk:nil,QS:nil,BEC:-1,COL:0 ,OSI:0,OSA:0,AV:0,LES:1,SPR:NO,DKR:0,DKP:0,BRR:0,BRE:0,ARC:0 X-CID-BVR: 2,SSN|SDN X-CID-BAS: 2,SSN|SDN,0,_ X-CID-FACTOR: TF_CID_SPAM_SNR X-CID-RHF: D41D8CD98F00B204E9800998ECF8427E X-UUID: b7737e4a5b4511f1b1788b6acf885367-20260529 Received: from mtkmbs14n1.mediatek.inc [(172.21.101.75)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 284704824; Fri, 29 May 2026 18:04:01 +0800 Received: from mtkmbs11n1.mediatek.inc (172.21.101.185) by mtkmbs11n2.mediatek.inc (172.21.101.187) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.29; Fri, 29 May 2026 18:03:59 +0800 Received: from mtksitap99.mediatek.inc (10.233.130.16) by mtkmbs11n1.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.2562.29 via Frontend Transport; Fri, 29 May 2026 18:03:59 +0800 From: Justin Yeh To: Sean Wang , Linus Walleij , Matthias Brugger , AngeloGioacchino Del Regno CC: , , , , , Justin Yeh Subject: [PATCH 2/2] pinctrl: mediatek: mt8189: Add MODULE_LICENSE declaration Date: Fri, 29 May 2026 18:02:42 +0800 Message-ID: <20260529100308.51271-3-justin.yeh@mediatek.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20260529100308.51271-1-justin.yeh@mediatek.com> References: <20260529100308.51271-1-justin.yeh@mediatek.com> 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 X-MTK: N Content-Type: text/plain; charset="utf-8" Add missing MODULE_LICENSE("GPL v2") macro to fix modpost error during kernel module build. The license identifier matches the SPDX header (GPL-2.0) at the top of the file. This fixes the following build error: ERROR: modpost: missing MODULE_LICENSE() in pinctrl-mt8189.o Signed-off-by: Justin Yeh --- drivers/pinctrl/mediatek/pinctrl-mt8189.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pinctrl/mediatek/pinctrl-mt8189.c b/drivers/pinctrl/me= diatek/pinctrl-mt8189.c index cd4cdff309a1..a9c128c514a4 100644 --- a/drivers/pinctrl/mediatek/pinctrl-mt8189.c +++ b/drivers/pinctrl/mediatek/pinctrl-mt8189.c @@ -1696,3 +1696,4 @@ static int __init mt8189_pinctrl_init(void) arch_initcall(mt8189_pinctrl_init); =20 MODULE_DESCRIPTION("MediaTek MT8189 Pinctrl Driver"); +MODULE_LICENSE("GPL v2"); --=20 2.45.2