From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 A9DAB606A320 for ; Mon, 30 Nov 2026 13:00:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=HO+WB+Bc; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=jhFEixT5 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:References:To: From:Cc:Subject:Message-Id:Date:Content-Type:Mime-Version:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Unsubscribe-Post:List-Owner; bh=sfLSewMb3LkdShjdPCOifZ/G1OQM6y/FVq5k4xqtUKE=; b=HO+WB+Bctg9WaVMP/pmdu/HLpv WV/WvwhqA7qxp6/apA3aTWN2foGo8AKx7SqySSf/wj4G0kB9mrXr/WCGYN5M9VUVilRJ7C9BLsjRs DF+0UwsPIw6SGclLZoRi7qM1mZ3yEq1wwfhwgX0EWvM/zvXndSt/7miI74QWOERA2PjgGvVgZsG1B ePvEUTRHdwjyAAZKwhgjseTNnPwl1I0T5EO9Q2UeZLEJuom3CCg1viPyY3i3NHq34fHxGSLEw/nlO TT6Gw4Lt9r41ZfelwlQvGuYMzZG9K6aW5BaXqVPfrqm34IMDRn3FCiM3M00jsP5fuKIIx3F6R4zE0 qMiry4Dg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xY0zD-00000004ayn-2j0l; Mon, 30 Nov 2026 13:00:03 +0000 Received: from tor.source.kernel.org ([172.105.4.254]) by bombadil.infradead.org with esmtps (Exim 4.100.1 #2 (Red Hat Linux)) id 1xY0xv-00000004ahm-26UI for linux-arm-kernel@lists.infradead.org; Mon, 30 Nov 2026 12:58:43 +0000 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by tor.source.kernel.org (Postfix) with UTF8SMTP id A15C66184E; Mon, 30 Nov 2026 12:58:42 +0000 (UTC) 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-Archived-By: 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: X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" X-Spam-Status: No, score=-5.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 --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--