Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp10450759rwr; Fri, 12 May 2023 08:17:56 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4R0WbP+PCEWhWWnDFRUMzasD75+uVFKZwwQBvajohDQA0Y/OcmjZ0LKeDNzMivC8X9cgZF X-Received: by 2002:a05:6a20:1443:b0:101:a459:bb0d with SMTP id a3-20020a056a20144300b00101a459bb0dmr16302359pzi.2.1683904676451; Fri, 12 May 2023 08:17:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683904676; cv=none; d=google.com; s=arc-20160816; b=xZfCf5gqE3WK67xuTExgL0qpjew00OFHLBznK5AtberPEA78ixK1+YiUlNRO/sV6Nb P+gA0NeozlCTVJm/4EBQDVE/gmVjmDRQ5CcMiXWTph0WbUcJ6p2nroXefZmrolvShacQ y5nmW2C3XesoWpFcnsEfUl2+bBvdS+eddu4CDDsJAzeb+Ci5H1aoWLqiWi8zB0JFSQKr IywdtPqrWfT6Uvbdo9VVp7p5svK+5Fyd6rCho/tl0GHrjZ4QaNJRWgpaaU5wPttu21NV IznR0RF0Ft8HMOxLlAcao9V4Z2HxdNqxjkhtdPQYtJaSrIIfC72n5quZ9wBDYAcuY7Mf 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=mga2iKYfUELv6C6WUdFnX06tOg5HeMa+9/RXIWxPHbE=; b=EXScppIiMPdJpXuXwpoZJABXHA1IF6dPIs7Gnxcr7vlNbYMLieJuwpG3kvgUbRQU5R 2GFn6TkrC5kdmV18LTKOHn+vvMxAhh41B3p6A1qUzd9fbj13yOXwCT96Mk3bR/gbSGgw m3nZkPtyRnSSaCo2XZ5PYJB6A4MhHUulgjrVCtSncpUV5xfmSO0Z7XmSKXMY5/1mBEIB FvQakKeN2fQUlbHFUspurtW+7my2Fo+LLDfOXQvlDlyLEv309hpSGltueomycXLyv3DQ xmQtFkUcpdHc3nm7rh/vWeff4tsWSeYJasNHG9L4XzIDASgqbjCmFu+MDHAl4wjXX4BM HmLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=PHwNktIX; 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 i63-20020a638742000000b005073e333addsi9642694pge.390.2023.05.12.08.17.44; Fri, 12 May 2023 08:17:56 -0700 (PDT) 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=PHwNktIX; 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 S241766AbjELPKU (ORCPT + 99 others); Fri, 12 May 2023 11:10:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57312 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241757AbjELPKQ (ORCPT ); Fri, 12 May 2023 11:10:16 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BF3C7A24C; Fri, 12 May 2023 08:10:09 -0700 (PDT) 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 dfw.source.kernel.org (Postfix) with ESMTPS id 52DF9656FE; Fri, 12 May 2023 15:10:09 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A6F35C433D2; Fri, 12 May 2023 15:10:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1683904208; bh=/hz3ta5XNZof/0N79CR5zsvKkh88g9PLrKTXJa4XIk8=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=PHwNktIXeV485y4Q6NXqGz7qmUq7ZRMt7NSTDDXli5K2EmI5yfp+NhEJ+LG6pCs3w qabAqsKFj3eyHyrp4fhKIkeFHse5HHYGuzMQJdDePP0XZJXc/Cc/a1DAu9BgXbKmoF v0uR5x7maspQHEckuNVIfZgD1hMgX30Y+WSHk/5TamwHbZxenUOuxFthsg6f54vULL rDmARMZZFNIl33D5G9SazuYMePAO12EdzXJO4YuwZb6V3Ap37hk6weSOUacNNUYfwX m4lYoh+myCNF7U+Km0Q/mJGSkrOx+S1IpDTwdiFCqsasvQltCGEJyIUk9VMsSnfBlD //DJpIA0F8pLQ== Received: from sofa.misterjones.org ([185.219.108.64] helo=goblin-girl.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 1pxUPG-00EbFV-1B; Fri, 12 May 2023 16:10:06 +0100 Date: Fri, 12 May 2023 16:10:05 +0100 Message-ID: <86o7mpmvqq.wl-maz@kernel.org> From: Marc Zyngier To: Charles Keepax Cc: , , , , , , , , , , , , , , , , , Subject: Re: [PATCH 07/10] irqchip/cs42l43: Add support for the cs42l43 IRQs In-Reply-To: <20230512122838.243002-8-ckeepax@opensource.cirrus.com> References: <20230512122838.243002-1-ckeepax@opensource.cirrus.com> <20230512122838.243002-8-ckeepax@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/28.2 (aarch64-unknown-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.219.108.64 X-SA-Exim-Rcpt-To: ckeepax@opensource.cirrus.com, broonie@kernel.org, lee@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, tglx@linutronix.de, linus.walleij@linaro.org, vkoul@kernel.org, lgirdwood@gmail.com, yung-chuan.liao@linux.intel.com, sanyog.r.kale@intel.com, pierre-louis.bossart@linux.intel.com, alsa-devel@alsa-project.org, patches@opensource.cirrus.com, devicetree@vger.kernel.org, linux-gpio@vger.kernel.org, linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org 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=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 Fri, 12 May 2023 13:28:35 +0100, Charles Keepax wrote: > > The CS42L43 is an audio CODEC with integrated MIPI SoundWire interface > (Version 1.2.1 compliant), I2C, SPI, and I2S/TDM interfaces designed > for portable applications. It provides a high dynamic range, stereo > DAC for headphone output, two integrated Class D amplifiers for > loudspeakers, and two ADCs for wired headset microphone input or > stereo line input. PDM inputs are provided for digital microphones. > > The IRQ chip provides IRQ functionality both to other parts of the > cs42l43 device and to external devices that wish to use its IRQs. Sorry, but this isn't much of an interrupt controller driver. A modern interrupt controller driver is firmware-driven (DT or ACPI, pick your poison), uses irq domains, and uses the irqchip API. This is just a another variant of the board-file theme, which has nothing to do with the irqchip subsystem. M. -- Without deviation from the norm, progress is not possible.