Received: by 2002:ab2:6991:0:b0:1f7:f6c3:9cb1 with SMTP id v17csp1251197lqo; Thu, 9 May 2024 08:39:00 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWdWOcQDkmaV88JEZvVVeNuffvEMSwKLU8XR+xPUyZ43bmYy90XbQH80XTLd45LTNLkthH6fqbkGedVvmatXUDGTOvvyXmaHMyG3dkEyA== X-Google-Smtp-Source: AGHT+IFvA+8sJ5hnoe/urgJ5yryr7Gwt9forU7ItWoYs23hnn/Mv1+fTEHOP47jU1Nq1nKOXJFnO X-Received: by 2002:a17:902:e842:b0:1e4:b70d:eb72 with SMTP id d9443c01a7336-1eeb059c54bmr75644705ad.35.1715269140026; Thu, 09 May 2024 08:39:00 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715269140; cv=pass; d=google.com; s=arc-20160816; b=V2/wvjt/yqJyN3nDesL9+XlqTuAcaadf61tHgtijgRw4EPRUBfeOqPwpedJ9f4Pb3J EJeIhmIPs4VBiubCohbyC0YRoeSLCFvjXmFpqMlxGG2jksgO8npyX/KMyP5kQApiHV1H QvnUeAaMKvZaAidC2Ff80ArCsMepPtExo5+G2p02nQvKxKJs7VwxcmsYWlW0q4nYJdNi e7KwjJbDOWvHI0dgNV0lpFjKvzxpm9/GxcT8WBfhsL7mnGeieQdTvvjwnixOUbxEkTar nUVUB4qlsXVhGuWjGuieXSratxbf6gia1kOnHV0GlDHxWxYrXErTHjp0KRKCJdnSzi+Y K75w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=Z6nBTl2tub15cRbE+wOBz8S45tv8vy9jvzdxn61d2bQ=; fh=3ZfoBOqOZjAqf0KxPzhS1qtRpcmPA0cYbutNdBhuzUM=; b=S5gBIioVOzMQGk+UaJn7xRbunN3cHJEkYphyNBxn240MKk+R+J/fTelt83WFnAyd+l 4rKU2oJSN+wMXMcWnSwlxnYqHpxKRT2TOfPbY0GcZDZMo2vVJQoUaLI7XMjClV4uyH5l 8Il5svEvpiK7oCNbkQE+f9FB49AgEXncvl69eFkPsmLc8764cj1dwcEMHxjAZhGFnCHu kKgq2LHNNGG/F2IzOfog1nrCkXotPb3zSN37JvA2eD8mWo+J/CFzKgC3UwbsiADawIp3 MGoJY9RBO36iOQR12OOgviMsl/SR7NDQXM9eka5Q103BLS3dNBBpSEp4ghpWoyIjoMc/ RTZQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=AltqiRLm; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-174643-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174643-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id d9443c01a7336-1ef0c269735si16695605ad.588.2024.05.09.08.38.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 May 2024 08:39:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-174643-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=AltqiRLm; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-174643-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174643-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 216BEB21D4C for ; Thu, 9 May 2024 15:38:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3E20816F27A; Thu, 9 May 2024 15:38:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="AltqiRLm" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5C65415F416; Thu, 9 May 2024 15:38:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715269110; cv=none; b=tfilu2IAnAzJJhYIAX4cm1oig0aq0W5rhp+Us6E/vztGcnQ3AeLQCc7UMDu+341BKUjn1pe7ubZugp+i+C9v+k/liflskOrxJXiotMakq6jzILXKv0UY192Pl+w6acBSCEwDNxSW2j4WKmpJS+1UzL19HZ6ey++vA5+lDZUHg+k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715269110; c=relaxed/simple; bh=Z6nBTl2tub15cRbE+wOBz8S45tv8vy9jvzdxn61d2bQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=KyK/YKx1kiXDLlLsztsAWxB+YwdiNw3nUlETONJvF/N5cPIq/mOjVWo5kfWOYk2DYZx2CLn2jlYbXYWSMmN7Vw4J5rBeQ5+xWLhluP35lcJST/XsEn6LftD4aMeXW8+PLx0JnTaJlyVB42sMXNlyYOBbEkR4lhnAz7oAn8kDaYY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=AltqiRLm; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3F545C116B1; Thu, 9 May 2024 15:38:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715269109; bh=Z6nBTl2tub15cRbE+wOBz8S45tv8vy9jvzdxn61d2bQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=AltqiRLmTEUGA2qwnUvx5AvO6VfxaZWmKYCao4I5+C6/RK/ZB5CBvT0AWZNltbJg5 JhMhCPozurJcVts1pjCLpzN/GWovS6D/w14hZVmQwjWCO88NCdZZzd1AaQzVzECuTc dOwX1+EMMVV03NkMIlbmV11Q9jn9MNyRET6BpootdvSb6QPVdSqDbP/6sY5IcSA3Pb 2s0nQA6XPOmY0O/v171JB2AsMdrDAXhxsfiVGTFhq6OtsDwc/j9wwgXccTHX8pkXNC szM2AEbNnsJPwh3sJsw5tpSjNy6M500tuOpY2H6IAADpnb/BRzZI3SDq9hFi9XG4Lc xjecXzTeqcEng== Date: Thu, 9 May 2024 17:38:26 +0200 From: Mark Brown To: Matti Vaittinen Cc: Matti Vaittinen , Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Liam Girdwood , Wim Van Sebroeck , Guenter Roeck , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-watchdog@vger.kernel.org, Thomas Gleixner Subject: Re: [RFC PATCH 0/6] Support ROHM BD96801 scalable PMIC Message-ID: References: <0674ca23-2cf2-48a6-84d3-e0936d50dd8c@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="EXBB/dSJ5rRrt8TM" Content-Disposition: inline In-Reply-To: <0674ca23-2cf2-48a6-84d3-e0936d50dd8c@gmail.com> X-Cookie: Sorry. Nice try. --EXBB/dSJ5rRrt8TM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, May 09, 2024 at 10:03:43AM +0300, Matti Vaittinen wrote: > On 5/9/24 08:08, Mark Brown wrote: > > > > > > So if we arrange to supply a name when we register multiple domains > > > > > > things should work fine? > Thanks for the guidance Mark. The controller name is not a problem. Problem > is that I don't see a (proper) way to supply a name for the IRQ domain which > gets registered by regmap-IRQ. IRQ domain code picks the name for the domain > by the device-tree node. Both of our IRQ controllers would be instantiated > from same node => the IRQ domain will get same name => debugfs will > conflict. That's why I'm suggesting to add something - just put a name field in the struct. > My "solution" was simply dropping the ERRB IRQ from the driver (for now at > least). I did send that as a series without 'RFC' - but made a mistake and > restarted the versioning from v1. I am currently working with 2 other PMICs, > one of them does also provide similar setup of two IRQ lines. Thus, I think > being able to provide a name (suffix?) for IRQ domain when registering it > instead of just using the name of the DT node is something I should look > into. It's just nice to know someone else thinks it is valid approach. Yes. --EXBB/dSJ5rRrt8TM Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmY87fIACgkQJNaLcl1U h9CVlAf/acARHE9oLNx/H5/+ylgEpV9IP4mlgCrINDGVbXsV3GC0CUug/nmiJsiQ YBLdl280Fq0Gd1wOAnIfLLqEbvs05J9fcjkzTzXkQ8t0TtPN7B5taf4Hsnm0bHEm 5mevVDR7BSV/ZvLMq5VFEl3SALsmPcso5LVsD/j5ZSfPs7Vpg/pGkTruihBMPUp5 DQGaddEJYXm1Dy1rOY3CPuHsnjPOuVdyUEVouTARyrluafKT819eqhMd8jpYtrDX 36RNbVfxrwirUBKTZpuOlj/a4zxxtpp2BV3iWSoyWXK5lipnpLYlJGXb4KQrDr2S LBJcz8g+LS2wF2OVXtakMVzunxOAsA== =Ry6h -----END PGP SIGNATURE----- --EXBB/dSJ5rRrt8TM--