Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp613937rwb; Thu, 10 Nov 2022 05:25:12 -0800 (PST) X-Google-Smtp-Source: AMsMyM4QJEHaBGMJrvLSjc+rQFDj+D6Z4/aXyFiZOCatFQGuSYzPxgsN5htHAo4a1MpusPKtjhCx X-Received: by 2002:a17:906:fa0e:b0:78d:6429:a806 with SMTP id lo14-20020a170906fa0e00b0078d6429a806mr2825893ejb.553.1668086711833; Thu, 10 Nov 2022 05:25:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668086711; cv=none; d=google.com; s=arc-20160816; b=B5zea5vAVm0T+5c9HxgaVAQMQA5r9mHsxWPvMpx8B+y0H2uf1mLPxADbVdcgiQE/cS 6IzXmcEkmDy4wQL94G+yVwnk3TFFjqAaqnYoJP60lTp3qyz/rsqOJ8ETqnctpCuCsyFC huXeu9u9czDxhZr66XEMcO2VPCM/kaUr+Q/3wngHrTZZ2Gevg96xYc8mpWfecHkENNwQ V/W3g2I7ZVKxrDV61hCbc4ycmNX2RWlBaYgwY6p9rlr4hN2bxNkftsiJslfQcnZUnHx6 vdrgmrYxhK54mUW+K3iaiZr+7KG4RJmg4TQBIwGIh+dvuk+B2q5ugD3YKYe5jvQV/8Xq 5zWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=9VCdJoZquaLvjnIYpLxeszu4x3ZBFYRGywidzg1bqug=; b=lnRBZMN85Ky4wauI5Sp20eOaH50beZq508tgBLcoLQtjBgslHOQ+wH3DpLFBVCpQyH 0sCvCn1CuuZPfVUd8H0na+ONUmzk3Q7kmj15FiAihWx94jEAMQMuMYgCREb5pzs7XTfT u88aGbRgQyyYoRCx40fAXade1azoNwbDeHvCz4FO0c7j1ceHKnzH1TrQeH8pogwfHJw7 XGOPqSTqSI2r/QOj+9EiRcrckggNazaP79B96CjRxNhY5ZWJ8kmx2GvZ0eQWlaFfV3T/ oGfoDKf5vXYaG94HKjrrd+sfF0EnxrjOQKo8isEaIbbC/4nfQb7a0iSRy/FOIlCqLnW+ SFXQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Jm9tzOZc; 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 l13-20020a170906794d00b007ae6ba5f344si13480599ejo.53.2022.11.10.05.24.48; Thu, 10 Nov 2022 05:25:11 -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=Jm9tzOZc; 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 S230034AbiKJNBl (ORCPT + 92 others); Thu, 10 Nov 2022 08:01:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56786 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230062AbiKJNBh (ORCPT ); Thu, 10 Nov 2022 08:01:37 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C1F38701BB; Thu, 10 Nov 2022 05:01:36 -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 3BEA5B821AB; Thu, 10 Nov 2022 13:01:35 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5AE11C433D6; Thu, 10 Nov 2022 13:01:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1668085293; bh=awwjva4KZ2j6QkTmvpKuu4ND/OJmD/rXZYyLj3sJfwc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Jm9tzOZcyJIRkxz7zAA+lg5GrAqQE5jY8nqiPAzzaitR7BL1dlyOn3R4o4DTpkube VKe6xwKP3LHcCNVnvG3OW4+VcDDhAluV0oaYk4v5Iw/tYJ7g5BK69aMrzpQWHsugRn kIgnnS79DTmx33sU6b+3kQvoqUl49qUFPIzqPmrjp1vYLXKjQBNt2++rQysPMSJkv4 NDGpPk+kPNtvoTl6GT+5yTu8KrACOKvA19ux3Bx3+a65/7m9PsobskNEzXSZlFAHvU 1q8tjQVf/owO2La1VNPfL2EOfASIk8tobrMF2tWMuiW4lMdQVmPUHtGbWDa9szj606 Nb5j/pDAiraSg== Date: Thu, 10 Nov 2022 13:01:27 +0000 From: Mark Brown To: Richard Fitzgerald Cc: Marc Zyngier , lee@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, linus.walleij@linaro.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 Subject: Re: [PATCH 09/12] irqchip: cirrus: Add driver for Cirrus Logic CS48L31/32/33 codecs Message-ID: References: <20221109165331.29332-1-rf@opensource.cirrus.com> <20221109165331.29332-10-rf@opensource.cirrus.com> <87mt8zutib.wl-maz@kernel.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="s9XagPH0CfsDB+cb" Content-Disposition: inline In-Reply-To: X-Cookie: Torque is cheap. 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 --s9XagPH0CfsDB+cb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Nov 10, 2022 at 11:22:26AM +0000, Richard Fitzgerald wrote: > On 10/11/2022 08:02, Marc Zyngier wrote: > > belongs IMO to the MFD code. > We did once put interrupt support in MFD for an older product line but > the MFD maintainer doesn't like the MFD being a dumping-ground for > random other functionality that have their own subsystems. There's bits of this like logging the top level error interrupts that seem like they clearly fit in the driver for the top level chip (SYSCLK possibly in the audio driver, dunno if it gets used by other functions), they're users of the interrupt controller rather than part of the interrupt controller. > > It is also a direct copy of the existing > > irq-madera.c code, duplicated for no obvious reason. > It's not a duplicate. The register map of this device is different > (different addressing, 32-bit registers not 16-bit) Isn't that just a data difference which could be parameterised? --s9XagPH0CfsDB+cb Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmNs9iYACgkQJNaLcl1U h9C6/gf9GfHmYBwIwz3hP4w+omdX4OnqxZu0y5L3ZYq/q7x3gRz+YHxA83Z+7rrN 1PEYL9nJmSYS1niCtRDCT3EDLrcoD5AX7Ouv7wc6m7cze4zQaLH8h92foGwPZd5u AMo6jxPBMTOhL5+8LQfOTSJFOBuQEMb3i8rPWG7Sx+YeIseD1xWvoevpBPWYjjwW zqpPB+lfEF9o+gmnrbyAXOGWsTxYoa7PjCQkSwrvzrDj7GLzHvVhmDKI8wrp+tSt ldgt7y1VZfMUinAsmYl2PtPy8tLkfxDfd/NvFxZydwtBNbxo+EAcam7aOSWx1Wkv g6zdzussbdiTH3+QlsfyUy9gKCnnbQ== =dwPr -----END PGP SIGNATURE----- --s9XagPH0CfsDB+cb--