Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp270931rwb; Thu, 10 Nov 2022 00:08:44 -0800 (PST) X-Google-Smtp-Source: AMsMyM7CCAQZO/2pQlvOReZOcIWSzxtrn10vQoXWwXgAEgpv+nkI3Vq2aH7NENLYNiiIFiBKiyvj X-Received: by 2002:aa7:c1d9:0:b0:463:aeaf:3383 with SMTP id d25-20020aa7c1d9000000b00463aeaf3383mr47195553edp.253.1668067724027; Thu, 10 Nov 2022 00:08:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668067724; cv=none; d=google.com; s=arc-20160816; b=nBLHkv3yfiATG6MYSR4SYsUdD0cP0Uqjr3Y3u4JATZhUysCSYnkJMpoi8qxD5n8psF 5yyfR5OOyJxpecHfeL7Q4RA+oy61o0q3dbCL3ujxGvOZdwV89hhWst9GBucBTFOPf3lf I7yaNNglLYIzPzYjuFj2ImEmXUCAlHyoZpAl7pU8DQvgIbUYHiymy91CjeegKIHNVOdQ fCHs3ZRxDH0K3tGWAkPqYAvZkUz/4iNFQRQw5lRoevhrxl+PAjdV75lriu/7v0O/RUYq SL6YS9aNQ+BNvMK2A7wNf6e2yKvu/MoFqKnxozvUzmPhx0Z/zZt7xV24BENxa806yW2t GNkA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:in-reply-to :subject:cc:to:from:message-id:date:dkim-signature; bh=2+0kIQmbh5wTLynwVVBqs0DUpJmEC/opUaLziPMfsp8=; b=AlsdRRtkFtUPJxYWofgEy52RAOcZzS3Rr7CU7Xl8pbCQh1Ty6r7cINiXUod702YnNm 7+ZqqXuqq2i2UdZ+ubcoUfeftXtogQARKa7P4VMBmsDoSrJTkl86dlpnWgPBRsn9APLh /LOjjtMFv/Hqa90Xmx1eZUsMrY0179fVLLEHiuicjuultr0NHY0YyZHfuwZ/fPlWTE2t 066XOtii9Iv54KtBw46lRKWvm4qdihOBB2eYDbEexgs4aTRMfLmbTrZWGe59HQYv/Pvi 2QET6uTDrGk0SZnha/wl5JbM9QC/A3AdvxYB247oq71GmA0i2jJDZI/CwNZ6w/+Btgks HrMw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=PcNBx1ii; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t3-20020aa7d4c3000000b004595af54eacsi14789870edr.226.2022.11.10.00.08.20; Thu, 10 Nov 2022 00:08:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=PcNBx1ii; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232483AbiKJIDN (ORCPT + 92 others); Thu, 10 Nov 2022 03:03:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35212 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232107AbiKJIDI (ORCPT ); Thu, 10 Nov 2022 03:03:08 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 11D522495F; Thu, 10 Nov 2022 00:03:07 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 7CA07B820E4; Thu, 10 Nov 2022 08:03:05 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 13ED8C433C1; Thu, 10 Nov 2022 08:03:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1668067384; bh=Jua4jh6tFhZdia1JqkS7s7YEZmi91PDwi5O5yBKgJ20=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=PcNBx1iieOT0mYIDTRcYzfbIBkS6ty2SVjnNFgEzRzznWBg8ym5JVGFvnGaFMP5AA lDDcZeM5czZCx2pl+Qqqa+rjoexheHVFAMjvSlI3rJSxlXy/gjQmi4Hz6UoZ0SBaW+ OkqivncGRB7ndysRBFPgkELWCUq9NF+l2PUrI/7o0JbcL8GfLfepD7RacaV1MNCpS+ c+UDDatHnMeWRLa8joFikH5weLbulL7iovNDjtzqzogzlmugwuxbfmBwEK1aCaN1AL YlFcjYjN+MfEoijC1AJTmJaz+qTySIB6ks4LPToG8JooPIYP+TSv83vfVqLOFidpC9 ZjUWjTmGrnk+Q== Received: from ip-185-104-136-29.ptr.icomera.net ([185.104.136.29] helo=wait-a-minute.misterjones.org) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1ot2Wb-00568A-Ig; Thu, 10 Nov 2022 08:03:01 +0000 Date: Thu, 10 Nov 2022 08:02:36 +0000 Message-ID: <87mt8zutib.wl-maz@kernel.org> From: Marc Zyngier To: Richard Fitzgerald Cc: , , , , , , , , , , Subject: Re: [PATCH 09/12] irqchip: cirrus: Add driver for Cirrus Logic CS48L31/32/33 codecs In-Reply-To: <20221109165331.29332-10-rf@opensource.cirrus.com> References: <20221109165331.29332-1-rf@opensource.cirrus.com> <20221109165331.29332-10-rf@opensource.cirrus.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/27.1 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-SA-Exim-Connect-IP: 185.104.136.29 X-SA-Exim-Rcpt-To: rf@opensource.cirrus.com, lee@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, linus.walleij@linaro.org, broonie@kernel.org, tglx@linutronix.de, alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, patches@opensource.cirrus.com X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 09 Nov 2022 16:53:28 +0000, Richard Fitzgerald wrote: > > The Cirrus Logic CS48L31/32/33 audio codecs contain a programmable > interrupt controller with a variety of interrupt sources, including > GPIOs that can be used as interrupt inputs. > > This driver provides the handling for the interrupt controller. As the > codec is accessed via regmap, the generic regmap_irq functionality > is used to do most of the work. > I cannot spot a shred of interrupt controller code in there. This belongs IMO to the MFD code. It is also a direct copy of the existing irq-madera.c code, duplicated for no obvious reason. M. -- Without deviation from the norm, progress is not possible.