From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796043522; b=kxMrScjpPvJyN279pA1iYyP0da9Hg4W3qKQsmAZxxqk08OfyNeoZoWttCd7SKi2u9ZoV czVTmK0x9OpDWahisBIb4UlwQqQoP+Y7af9a/0g9KzwhU91eXmGnFwByK4HLSzYuyLgDn tEiJNY6y7stYllB3dmvNCE4Yb0pzUhpFNc5O4jJXsHoyJc1tS28dcjN8EHvP9zpTxuoHy R3+ErBjVffmUNIw1bLl8PaLt5KeRhVj5LAAT7sGTXawZp09ziWJrO+qJ3Z29GfGTsrgKC VSTfVxeHZdNiAqYbVEDyE2pb3e8mudz9PhjzsPQ4yVY/3hd8CBrPDuzSS9ynmVNgrwQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796043522; h=Received:DKIM-Signature:Mime-Version:Content-Type:Date:Message-Id: Subject:Cc:From:To:X-Mailer:References:In-Reply-To; bh=sfLSewMb3LkdShjdPCOifZ/G1OQM6y/FVq5k4xqtUKE=; b=Bz7u1qBz6L3KOr0b1uwPcTZmhxWFi47NwtQf2+douOAp8HaxyDJyY/m6MwDVyPVSGLVG Wpts7pra2aByguDZQYGzEN8PDquiOkxT+H+pPalE8kBWGhYEoJkYqxVkcIUGobEj3doVt TwohRrf+fMgffnjWtK/M70I4EsTQ7YYcc9dyek7tcbFFgviVOS6el9yb6o4eZSBoa9/TK /e4zcHlnopUGRgGsepiWXmF4PLTVIW/9Hjdlm8I6v49QaBB9EP+ZztqdHwfj27t3LIvM1 X/Vl+GqQ/oj+OfkUh6jIwSeo+u8hY8E3NKyHSUQrE/juJQMFeU4VZ48dSpks4qAN+LA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=jhFEixT5; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with UTF8SMTPS id A527A606A69C for ; Mon, 30 Nov 2026 12:58:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=jhFEixT5 Received: by smtp.kernel.org (Postfix) with UTF8SMTPSA id 3E77F1F0092A; Mon, 30 Nov 2026 12:58:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796043521; bh=sfLSewMb3LkdShjdPCOifZ/G1OQM6y/FVq5k4xqtUKE=; h=Date:Subject:Cc:From:To:References:In-Reply-To; b=jhFEixT5jXmO015O/ALhDodXwmlrPPyeOt6+f4nhewNHuW6gdPBSJ9c92IJbAHXmh gXXAtrEv2mX/iW+iXmm4UrD5V0xUP6myC0TW+bUhGrYh3z9sWOejEWh/Q0BUzYH8RV MZgQWKULpDcdvZZnfhBG82T88/jp1JAs4x9d+V2v4WmYSpDGPZUgxK1dHEUQBcUw6S ajAB5f+Je+gh1RAaqNik4VvHhQFT/Lc1Q4JktlLN0jXSy2h25iLMpP7a8t+iVMOoEB YCUZ8VNnsX+53teV0wt6vxyTq27J3m9dG3bK2c3Pc2EFpGXQB5JYO/IrUaRjNjgJ0w SMfUqxSLTbEeA== X-Mailing-List: linux-gpio@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list Mime-Version: 1.0 Content-Type: multipart/signed; boundary=ab71167451fff1b94e936f5d397c8ed2ad1a2140e0981dfc0412fb5e5aa0; micalg=pgp-sha384; protocol="application/pgp-signature" Date: Mon, 30 Nov 2026 13:58:29 +0100 Message-Id: Subject: Re: [RFT PATCH v2 07/14] gpio: max7360: create the regmap-irq chip from the gpio-regmap callback Cc: "William Breathitt Gray" , "Linus Walleij" , "Bartosz Golaszewski" , "Petar Stepanovic" , "SriNavmani A" , "Prasad Bolisetty" , "Tzu-Hao Wei" , "Karthikeyan Mitran" , "Mathieu Dubois-Briand" , "Lee Jones" , "Long Zhao" , "Joseph Telaak" , , From: "Michael Walle" To: "Andy Shevchenko" X-Mailer: aerc 0.20.0 References: <20261127145232.814492-1-mwalle@kernel.org> <20261127145232.814492-8-mwalle@kernel.org> In-Reply-To: --ab71167451fff1b94e936f5d397c8ed2ad1a2140e0981dfc0412fb5e5aa0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 On Fri Nov 27, 2026 at 7:48 PM CET, Andy Shevchenko wrote: > On Fri, Nov 27, 2026 at 03:52:24PM +0100, Michael Walle wrote: >> Use the new gpio_regmap_add_irq_chip() helper to create the regmap-irq >> domain. > > Okay, but now it makes me think why we don't call regmap_del_irq_chip()..= . > Missing part? We do, but it is the core which is doing it automatically, see gpio_regmap_unregister() and the kernel-doc for the helper. The regmap-irq irqchip is owned by the core so to speak. Whereas, for an external domain, the driver has manage it, thus we'll need the .remove_irq_domain() callback. -michael --ab71167451fff1b94e936f5d397c8ed2ad1a2140e0981dfc0412fb5e5aa0 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iKgEABMJADAWIQTIVZIcOo5wfU/AngkSJzzuPgIf+AUCaw1y9hIcbXdhbGxlQGtl cm5lbC5vcmcACgkQEic87j4CH/hYuQGA9DfGj7AcLwiPM/gIdVP2W+/nqQM0C2CN AYU8IMC04I0e+vqt+8Kr0buNNU7hDZo7AYD46J6CCpSjMznJgy9Xu8f4Fhs864iw VQex0b/Ewri6xN7KotK4gfnPPsBqkkWWUZU= =EMlF -----END PGP SIGNATURE----- --ab71167451fff1b94e936f5d397c8ed2ad1a2140e0981dfc0412fb5e5aa0--