From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=85.215.255.53 ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1796281070; b=QgWsbKhQIMm/KVdQUQrGVA9vXS0xZZuitl87oUfuNSLy51na7VbRj/e1F0Rs3+zocT7H +eOxCvmAHMJCjP0DWPOqFLg35Q4wgt1uCnVE9qhO2LXahudp2oKs0WVWXfeVDRpPyNrbH aRDu3/6xMwfw/GLMhzerHV3f58Im5v6vcgjQxGSePLGR2ML7zprpH+wgZV6GTCYGfc8MC RonVqB2jbNzY31BXwZtKkoc60psq94xmokb6+mAK0g5gvxd5YzZ12C/ofiDToPLHHe7Hp bTF9ceBH/dp0sjoGnQEnE89DPAGL4CiVWv2K0H9Wdo1dKmyFciAHZyEvzDPgsE2Jbdw== ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796281070; h=DMARC-Filter:X-RZG-CLASS-ID:DKIM-Signature:DKIM-Signature:X-RZG-AUTH: Received:Content-Type:Mime-Version:Subject:From:In-Reply-To:Date:Cc: Content-Transfer-Encoding:Message-Id:References:To:X-Mailer; bh=aH7EEbedGGyurk1tQDk5osClE8cZ9kZxDg2xSneWax0=; b=LcfjwVbB0Qa2Lx7T/0H4KRa6EDpNyCHP2PoGZuXTTddufBZSX0Y8LDUZFR3Hr91s6uIU Le3PvCB8U49QTy0x7n8lMRuSXuXPscYOOfKEne0bGZhfN8AbLGUxFaMDFXKjTIS/1wk/X fqczB6K5UgUOmJWNmWSx+ymFcS/TTZQAZzVUBEAxEDfEvnMZTJRUr8MVUILFIkfbxhiru BqHdLADUaKvVYfr2+KoVBNaIgIU2V3pqsmQlbTj9b3auAMSm31j7pxIapiZPRtawU2pK8 sTODmfXGhpCtIieGazMHYTHKqIdsJsDdY+oG/PTc840FOOJQMRM7pTcuOZ2K4NnwzKg== ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass header.from=goldelico.com; spf=pass smtp.mailfrom=goldelico.com; dkim=pass header.d=goldelico.com header.i=@goldelico.com header.a=rsa-sha256 header.s=strato-dkim-0002 header.b=C43bykq3; dkim=pass header.d=goldelico.com header.i=@goldelico.com header.a=ed25519-sha256 header.s=strato-dkim-0003 header.b=JBgzF9XO; arc=pass header.oldest-pass=0 smtp.remote-ip=85.215.255.53 Received: from mo4-p01-ob.smtp.rzone.de (mo4-p01-ob.smtp.rzone.de [85.215.255.53]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1626D606A322; Thu, 3 Dec 2026 06:57:47 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 1626D606A322 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=goldelico.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=goldelico.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=goldelico.com header.i=@goldelico.com header.a=rsa-sha256 header.s=strato-dkim-0002 header.b=C43bykq3; dkim=pass header.d=goldelico.com header.i=@goldelico.com header.a=ed25519-sha256 header.s=strato-dkim-0003 header.b=JBgzF9XO ARC-Seal: i=1; a=rsa-sha256; t=1796281046; cv=none; d=strato.com; s=strato-dkim-0002; b=qfcvn+8T8HxyzgadP3CdtJ7i5URzou6zw6Zc/ZWL1ySulLpXgAcYNc+mEC3k/zVYY8 NkdO8Oq766RiZuw3klmU9gEmm3mQqXjYmRAV/Bg372ckuvCG+xYNNDRe7iPg0PXxjQrl n6bYB/R4zXSbyNbeeMSjmpyPK63kPXBnojqPZb/6y6xzmxB5KXyGOlb5+8hX5/oO4TrK vCLugPx0KrA1RNdV77lbZ2hwN3fm0y0GjU9Ota1TZsjjJk357dXCMOb3AKx8FdoCExo2 eld/UmH8Oh/jOccTdwMi2/Imwae6Fenfg2JlHOjXfKxDmnHcvqMV72POwkFhYutb/rJ5 32Rw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1796281046; s=strato-dkim-0002; d=strato.com; h=To:References:Message-Id:Cc:Date:In-Reply-To:From:Subject:Cc:Date: From:Subject:Sender; bh=aH7EEbedGGyurk1tQDk5osClE8cZ9kZxDg2xSneWax0=; b=MODRvyl1Em+si8K7ABAFRDEQEhdpKFvzzhkGHRIQfBIhP4/QZwyUbupgll3jXDFkBJ 0Yp33xw7cLctmt5bISY8sNwN3pYZOEv19ZsYaK77/2152V7W90dcgn99FzMP4o0FuMzK KrVlYTL2kC6aioW8gVAJ4Il90oda9Rh6PGVcg6kYV2nU7wM/DYMkpXdZpCMrouD7j71Z BR8nGVofvYWnNxjsz67Y7oJOG08joh8EtUvdnCWmZ+TaIw3PPLXnsgrODFrZMpP1woSk W+zHqdl9iOaJNP1X3S9Tsd8psFx1Ab7nOcNwQLw8ZlKryaxC8kyOEo14gCgdY0l/CCpF FR/Q== ARC-Authentication-Results: i=1; strato.com; arc=none; dkim=none X-RZG-CLASS-ID: mo01 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1796281046; s=strato-dkim-0002; d=goldelico.com; h=To:References:Message-Id:Cc:Date:In-Reply-To:From:Subject:Cc:Date: From:Subject:Sender; bh=aH7EEbedGGyurk1tQDk5osClE8cZ9kZxDg2xSneWax0=; b=C43bykq3FEdhTsgnTnphU5yI5T95HGhN8UPjwNQaUalRAebide8CGDoKcsCKhIseTr XqBuEEKGAYFrl6oZbX+jrmoIRcJPOwBKM3t9OBokPmXOpH0FdrhS88Q3C1gnyzZDo4GN OMF5o3OEh1L/fKph2FIG+pHRIIM6igYkTGnsZfpboLxq51li2Z8gJawiKokZ3stXZnNE Uf0aY47OA4XzcuKamPhKssiwS36VlsyOPNXLjhWRVyThl2oTdAJJPUikqbp3RtZ9lcx1 aJwIIFvKTNcQ2spoYrcxkNn2/lBzxRaKYNfcZfcoZ+g36kvH2v1PQ2Pb+SN1gaJfjeHR F6ag== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; t=1796281046; s=strato-dkim-0003; d=goldelico.com; h=To:References:Message-Id:Cc:Date:In-Reply-To:From:Subject:Cc:Date: From:Subject:Sender; bh=aH7EEbedGGyurk1tQDk5osClE8cZ9kZxDg2xSneWax0=; b=JBgzF9XOXMOjdkXaqBUbBqrMTQjWGgCRDNn4HJKv1GIY+e+kd5hogvX/LztYxaOJFN I2Q5tPYn2sdg3wuLvbAw== X-RZG-AUTH: ":JGIXVUS7cutRB/49FwqZ7WcJeFKiMhflhwDubTJ9qVpwcQVkPW4I1HrTj5oLn8iNPJZ4z+Dxgr7D4ObTOAm888gGlw==" Received: from smtpclient.apple by smtp.strato.de (RZmta 55.6.3 AUTH) with ESMTPSA id Qb56a22B36vPg9p (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (curve X9_62_prime256v1 with 256 ECDH bits, eq. 3072 bits RSA)) (Client did not present a certificate); Thu, 3 Dec 2026 07:57:25 +0100 (CET) Content-Type: text/plain; charset=us-ascii X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3826.700.81.1.11\)) Subject: Re: [RFC] pinctrl: ingenic: impossible MACH_* guards can drop OF match data From: "H. Nikolaus Schaller" In-Reply-To: <20261203040116.70981-1-pengpeng@iscas.ac.cn> Date: Thu, 3 Dec 2026 07:56:54 +0100 Cc: Paul Cercueil , Linus Walleij , linux-mips@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, Discussions about the Letux Kernel Content-Transfer-Encoding: quoted-printable Message-Id: <748476AF-0736-4E73-96AD-577BC8EF17EB@goldelico.com> References: <20260625060959.17290-1-pengpeng@iscas.ac.cn> <20261203040116.70981-1-pengpeng@iscas.ac.cn> To: Pengpeng Hou X-Mailer: Apple Mail (2.3826.700.81.1.11) Hi Pengpeng, > Am 03.12.2026 um 05:01 schrieb Pengpeng Hou : >=20 > Hi Nikolaus, >=20 > Comparing the OF match data in pinctrl-ingenic.c with the MACH entries > in arch/mips/ingenic/Kconfig, the names I can't find in that Kconfig > are JZ4730, JZ4750, JZ4755, JZ4760, JZ4775, X1500, X1600, X2000 and > X2100 (all with the MACH_ prefix). >=20 > That is a list of missing upstream configuration entries, not a list > of unsupported chips. In particular your Letux configuration is a > counterexample to calling JZ4730, X1600 or X2000 impossible. As a distribution kernel it is adding the missing entries to upstream = Kconfig. > Removing > the guards would also take away the size choice you described. I'm > not proposing that change. Yes, not all configs that the driver assumes are selectable in upstream = kernels. Some of the missing configs (x1600, x2000, x2600, jz4730) are (will be) = fixed by: = https://lore.kernel.org/all/887d9b55de3804fa798781ca03b99402040cf833.camel= @crapouillou.net/ = https://lore.kernel.org/all/a8706b933ed64eee14bcceaccda292a7e2ddf0a2.camel= @crapouillou.net/ Several entries in pinctrl were added years ago by multiple authors and = likely some patch to arch/mips/ingenic/Kconfig was forgotten back then. I'd suggest to wait until the new pinctrl series is merged and then you = can add the missing MACH_ definitions to Kconfig. As a side-note: I think the entries for=20 .compatible =3D "ingenic,x1000e-pinctrl", .compatible =3D "ingenic,x2000e-pinctrl", could be removed since the "e" suffix denotes a different RAM size but = not to add different pinmux controller and they share the same chip_info anyways. BR and thanks, Nikolaus=