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 73066606A322 for ; Thu, 3 Dec 2026 10:16:37 +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=cKDjsuK5; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=QM54ZEAv 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:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: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=6G0T/kqqhtVPdvbT3ygeJNzqpAcqBPuGMvNvCsQcJWU=; b=cKDjsuK5lQxw4/BHOVsKa6xzB1 AFzWIMo8EPjAP4T60eQw3ySuF/7wwPGLexXBDEpixTNGtdDf6n7W0dzEHX/LypBZk1Xiah4AMXviv eQNWVwy+kC25AscZR33S0ReSmvL+oCRWTwOpsnsoaMLs1Z8XGFHHsJKZeTbrw5QTS0vjZvzp38+uk F+fmo0xVRcOtsOCXkqXWyUL0FV14btDNCrQYeB9+HrIMiav5y+9bxIIcGgtcJA8mtQhIipk1iwC6q QxN8uZKAWFuGYTc6cCqeX85Gzn0ccLa1xEDek0DVNAJ0EktsazFBnOceo+wrV4cvW033mzqlFfmIZ Ee7Gtptg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xZ3rb-0000000E8fM-2MFk; Thu, 03 Dec 2026 10:16:31 +0000 Received: from mgamail.intel.com ([198.175.65.21]) by bombadil.infradead.org with esmtps (Exim 4.100.1 #2 (Red Hat Linux)) id 1xZ3rZ-0000000E8eg-10ju for linux-arm-kernel@lists.infradead.org; Thu, 03 Dec 2026 10:16:30 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1796292990; x=1827828990; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=6G0T/kqqhtVPdvbT3ygeJNzqpAcqBPuGMvNvCsQcJWU=; b=QM54ZEAvRHJetHR2aXlXMB3dVuauk5ymthln1An4nlvogyAn38yDzxrc r2XQTyz+IM9QX0o+lcSkQ3o5RZ5FP/Oj4iUQ+pZLq+YAekmhtjZwX8Do/ aDe+q+E5vct5IErY6iIgSmwSMOPEylZ0Yd042MaUBKiGzKbfydj3pMogc HhhUX9qs/NqSiP6vD5MCQozuO6DEp0jmSDmw8fAE47KFumeAYeeCjg+St o9kAQzGlEcx5eQ9SBfx48r0sZqJnDPnNi2KhJIa6gtxhWC+txapSk1l9S mRcr7WNyG5h0UaqcF2nE01myEkFp+ZfoODMoCEN2MhD+eoA5HvanEbHJF g==; X-CSE-ConnectionGUID: dX6PuS5BStuPyhamRbT5Tg== X-CSE-MsgGUID: /rOXFR/KQXiUu6eaTcy5hQ== X-IronPort-AV: E=McAfee;i="6800,10657,11984"; a="5352419" X-IronPort-AV: E=Sophos;i="6.27,248,1787036400"; d="scan'208";a="5352419" Received: from orviesa006.jf.intel.com ([10.64.159.146]) by orvoesa113.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Dec 2026 02:16:29 -0800 X-CSE-ConnectionGUID: lAi0SphuSC+nV7PaLoEPUQ== X-CSE-MsgGUID: /Ux9aR9nRjStU0S1jvHrsw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.27,248,1787036400"; d="scan'208";a="13703232" Received: from inaky-mobl1.amr.corp.intel.com (HELO localhost) ([10.245.244.115]) by smtpauth.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Dec 2026 02:16:25 -0800 Date: Thu, 3 Dec 2026 12:16:22 +0200 From: Andy Shevchenko To: Michael Walle 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 , linux-gpio@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [RFT PATCH v2 07/14] gpio: max7360: create the regmap-irq chip from the gpio-regmap callback Message-ID: References: <20261127145232.814492-1-mwalle@kernel.org> <20261127145232.814492-8-mwalle@kernel.org> X-Archived-By: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - c/o Alberga Business Park, 6 krs, Bertel Jungin Aukio 5, 02600 Espoo X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20261203_021629_327301_AC2DF96C X-CRM114-Status: GOOD ( 14.52 ) X-Spam-Score: -4.4 (----) 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=-3.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,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 On Mon, Nov 30, 2026 at 01:58:29PM +0100, Michael Walle wrote: > 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. Ah, okay, so there is a symmetry still provided. -- With Best Regards, Andy Shevchenko