Received: by 2002:ac8:3b51:0:b0:3f3:9eb6:4eb6 with SMTP id r17csp2998334qtf; Sat, 13 May 2023 11:12:09 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ70K/kfuWjvTAh6Mrj4Pulh/HcbCuv3dnfbQLnbEI/444Pq9uzu4SQxeMse+7Vd/BE6giql X-Received: by 2002:a17:90a:3ccd:b0:250:4847:426a with SMTP id k13-20020a17090a3ccd00b002504847426amr25855486pjd.11.1684001529324; Sat, 13 May 2023 11:12:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684001529; cv=none; d=google.com; s=arc-20160816; b=V3b9pVzsStoSnGIWcg+E5Y0Us/s7f8I1CiJ+/YYdYtEcDb2JRZ4FkrkBjQN0bv5mEP LshHV4k+JEfxTV0M7TupCPq2afRAY6DXELXrpP/15hMtZprNXi7aTHragY0bWAFl8Ahz T8vgJREgJO7Dhrb/ZxTXR3b5mVBt79tZn0vqLN4PDc+NrftqKiAKIm+elTHPYKs2KzID HCf2GhcBKL19oSjRK+Nvuoc5/Nogm2hJ2taC7FIxhz/Om7DFSCxt6L200ZX6yYWeQ6O+ gG+X0HTFvabtqeGyhdF5UuochJcjhGEUH/zvopYegkje4rT6AIhrtGhqcwytvXXNLzYs EaFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=Pz3pC3oD+mRQD2yh5jV0jp+d2wnh2+HWJqx/JQaPzB0=; b=1A048t0wzznt8b0jvhdipg81DoXhSyp4cwcGvNcc1MA2UAoHxMQHs4hnfwMg6keliA KqaypQ/u5nBCG2ns4mtGyKkMJNw2raYTtTRzA5km6YPYkZcLyCvGj2NXsuE2NQNrw9YN 3bEkUOAuzx6e3DERwxCME5dLcnk4hkAmvManUVU4xUlGi3gaBbyAD26XcikBrw9ZsZAU clPAMIs84BDxlPd+Z1B+eS2IQ0rGZ7nYU1czNKiyHxlyoIxiL1gdxNRWKJs8Xm1e+oL3 U+b+LFePOh6yzm0oQjoRZojIMvGD3p/T2ZP+CGnIbmD7HCsFoiefy3iG4CxSrxa48USS CkTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=EVBWjh+d; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id pt6-20020a17090b3d0600b0022bbae722fcsi12092367pjb.1.2023.05.13.11.11.57; Sat, 13 May 2023 11:12:09 -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=@linaro.org header.s=google header.b=EVBWjh+d; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233033AbjEMSIW (ORCPT + 99 others); Sat, 13 May 2023 14:08:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44032 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230443AbjEMSIP (ORCPT ); Sat, 13 May 2023 14:08:15 -0400 Received: from mail-ed1-x534.google.com (mail-ed1-x534.google.com [IPv6:2a00:1450:4864:20::534]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6B5EE40CF for ; Sat, 13 May 2023 11:08:08 -0700 (PDT) Received: by mail-ed1-x534.google.com with SMTP id 4fb4d7f45d1cf-50be0d835aaso19768487a12.3 for ; Sat, 13 May 2023 11:08:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1684001287; x=1686593287; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=Pz3pC3oD+mRQD2yh5jV0jp+d2wnh2+HWJqx/JQaPzB0=; b=EVBWjh+d6IhLcfQHvnPqNtgl2kB1ZPchXw0HXjFU2qSUtuwNy0q6Sp0YZggQOXxfjz oEcw/2Tl/2G+fh5jken5DOv1L2V0oQGBznQKAHYXr5FEYY+2rEcvHxbvLt9IC6T7d2pm j+JUVuj+iQUbkEXes1F1CBctgEWYrWPuR7xLWrMjBF263X4+bzOn/pWNhcqVAypZKXAx ikR1LxkTi5RNV8l0ufwPRld9j5r5vXg8+d6nfVq3ozPse6EdauUgXDDiXX8GGkzWphAd OXs/uwKHfMDIkh+2EG5f+tVdc5Zs9rGtQ8K5jD4iljzDntk+BUytG4wJjg7lSp4gpCJp o9CQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684001287; x=1686593287; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Pz3pC3oD+mRQD2yh5jV0jp+d2wnh2+HWJqx/JQaPzB0=; b=jQlWR6JFynrxnLLPDW6ujs2bIBD6wns+Jwxut/3fFaAipe9spG5UX3tqzdzTAM8AIc Z1geOsVPDovnxzyJWEgYf82XNlB5T6al+/h5cVBx3yAAG0EhV/PBJVRkV7tvZgAoCJGI Lwm+367fPE19mIHYvsZKUDjr3+VBDpZj3AzWeMxCJvhbb8Ma5CMxU0B6Ba6KzOxvojXn 9huOmfNkNzO2JVMjgT5JdppgHdrihWGYk3VGSYYrEvvvCae53MJ37dOHoDXg1ZKaHiSO VAFLFk1KQ43abOFL/LtrKuMVlODfW0eu2DNBGmqLtwERveVFrbXHlbWWTBpkRmezvJ3X l6FA== X-Gm-Message-State: AC+VfDx4+4ezyI5gYCEBLYxObHpZ+ACBwCbTeBK0zg8y72cczZfQmnKW M593uffci29ZVaJS+8nmDT7uqw== X-Received: by 2002:a17:907:9405:b0:957:12a6:a00f with SMTP id dk5-20020a170907940500b0095712a6a00fmr25591950ejc.21.1684001286843; Sat, 13 May 2023 11:08:06 -0700 (PDT) Received: from ?IPV6:2a02:810d:15c0:828:ba68:e5c9:694e:c6e4? ([2a02:810d:15c0:828:ba68:e5c9:694e:c6e4]) by smtp.gmail.com with ESMTPSA id ib10-20020a1709072c6a00b009531d9efcc4sm7023439ejc.133.2023.05.13.11.08.05 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 13 May 2023 11:08:06 -0700 (PDT) Message-ID: Date: Sat, 13 May 2023 20:08:05 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH 05/10] dt-bindings: mfd: cirrus,cs42l43: Add initial DT binding Content-Language: en-US To: Charles Keepax Cc: broonie@kernel.org, lee@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, tglx@linutronix.de, maz@kernel.org, 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 References: <20230512122838.243002-1-ckeepax@opensource.cirrus.com> <20230512122838.243002-6-ckeepax@opensource.cirrus.com> <5969fe82-69cd-34d6-edd1-d16ea741d9cb@linaro.org> <20230512161803.GM68926@ediswmail.ad.cirrus.com> From: Krzysztof Kozlowski In-Reply-To: <20230512161803.GM68926@ediswmail.ad.cirrus.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 12/05/2023 18:18, Charles Keepax wrote: > On Fri, May 12, 2023 at 05:25:52PM +0200, Krzysztof Kozlowski wrote: >> On 12/05/2023 14:28, 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 >> >> ... >> >>> + >>> + interrupt-controller: true >>> + >>> + '#interrupt-cells': >>> + const: 2 >> >> Hm, are you sure? Who is the consumer/user of this interrupt controller? >> > > Anyone who wants the device has GPIOs that can signal IRQs. Some > of the other IRQs could be more generally useful, such as some of > the jack detection ones. OK, makes sense, but it is a bit odd then to have: codec { which is GPIO and interrupt controller, but not pin controller pinctrl { pin controller, which is not GPIO and not interrupt controller } } Maybe all the GPIO/pin/related interrupt properties should be moved to pinctrl node? Best regards, Krzysztof