From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=198.175.65.21 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796292989; b=sGzTd+krnxtKYzHHbn1wcKjQUa7nsneMfY45mwqDPjT8dm6336hPnloxH5ZdPwYqpy3e cS0lO0g8B8lNI6LtbwTo6kn747xyXRNqKEnZlbh60EHVvnQmtFl8eWFGeSPjt4bAAA5B+ drbS0OP9HBbFoYpr2XTzDMtaBqf96KkVioxCbXRr7CVvd/7wKsb/sN3iIsg7JPwIdr0gF IKTHTkBeQEyBX4GEQgxOwNWyMWC1mRUCOgvQLsda76iweE28+JPgVjgNM75+T7KICFbjO 7OalWQHWWM/cexIq55n3qms/+ANY+AklJwLDKD1j8hCxQtiXkwdvRtnH1l+8LVTshzg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796292989; h=DMARC-Filter:DKIM-Signature:X-CSE-ConnectionGUID:X-CSE-MsgGUID: X-IronPort-AV:X-IronPort-AV:Received:X-CSE-ConnectionGUID: X-CSE-MsgGUID:X-ExtLoop1:X-IronPort-AV:Received:Date:From:To:Cc: Subject:Message-ID:References:MIME-Version:Content-Type: Content-Disposition:In-Reply-To:Organization; bh=6G0T/kqqhtVPdvbT3ygeJNzqpAcqBPuGMvNvCsQcJWU=; b=wzeu+py4EUy8X1ay0xBs7m8i7ZBxIduU5lttwMwWEgywNSZyCpqTmrttCFsE0ElEZoRe L76PQ8tWUCHXkPjUTDnJJOtzP8x/B+RhWKroaTqSnj+7SG45nrUhUTbglVtIf+lVhrWai eC5a9xW3FihXXEprTeGfQnw7fYUIrXbevOdBxr9/Jv0roQdui8qzVh7t8aavV0mNM16ON bcWRXy1k8qnkUelPaHJAL+CxW+ZlShO60awo03lXyI2vx0hO/RJbx2ThrI4PusDPfqLpA rPRfg9n9nAcfa1Qby8k+Vcw/S4UJ3Tg1bSLfEZoSa+n7G5D2r+wdiyEx4gnTprQSHnQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=linux.intel.com; spf=pass smtp.mailfrom=linux.intel.com; dkim=pass header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=S+u8HvWD; arc=none smtp.remote-ip=198.175.65.21 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.21]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1E534606A33A for ; Thu, 3 Dec 2026 10:16:28 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 1E534606A33A Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=S+u8HvWD DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1796292989; x=1827828989; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=6G0T/kqqhtVPdvbT3ygeJNzqpAcqBPuGMvNvCsQcJWU=; b=S+u8HvWD4Gx+CoT7b/duBLU5r0eEmG1occcpKo0iBj3Gzxn3Am1JpDrk pUK4iIehZPP0bfJHAzVI78jRWYtXTI6UyUcWM5oSpgqvBXPkNzPre66OS 1uG+6xM4UgL4AnOkeqOgeK1l7864iHo0sdtd7t+uXCuhJlBkwwsNXKzNJ oXntX6O9GwP1PQv+ga1McxJYdl4CoRUl8AhqQs4y+3R9J7bSVFGv+KLUY 5bU4UcZKNrvda6V4YJLxV5M0eZ9S7VKjto2Nb4n/A570fsAOTHplH+XPS n6pHMENhvNijhk9vzVABHwXOTrKm4Enp5sAQomZWSRM3IDDC3BKeeV79o Q==; X-CSE-ConnectionGUID: 8Tf9+tEKTk+eTph7NQzz6g== X-CSE-MsgGUID: nCmYwhAARoWuOxTTtZkjPw== X-IronPort-AV: E=McAfee;i="6800,10657,11984"; a="5352418" X-IronPort-AV: E=Sophos;i="6.27,248,1787036400"; d="scan'208";a="5352418" 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-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: 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 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