Received: by 2002:ab2:2441:0:b0:1f3:1f8c:d0c6 with SMTP id k1csp227782lqe; Thu, 4 Apr 2024 05:13:17 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCURL0UY0Y2fQjIf1vXsLUYVVyhFVrs4Y/xhaTwQl+fGS0ImKccl8uBkOdaz9JUgj0Fq97reg14opjXSyu3lnJNfiRR0d6oxBU7nx5ZZlg== X-Google-Smtp-Source: AGHT+IH/nRxLC3wdGSx/gxbRPSflPT5TTdZzzJZsV8UkGLLeU/LwJxKSQbMTLolME1aWAWqXpkNo X-Received: by 2002:a17:902:c403:b0:1e0:bd8e:5a66 with SMTP id k3-20020a170902c40300b001e0bd8e5a66mr2145988plk.8.1712232797064; Thu, 04 Apr 2024 05:13:17 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712232797; cv=pass; d=google.com; s=arc-20160816; b=nRdmj61hhhyRfx2WTdoBqXJKoXvX6B6VLs6qqsSkxPvw5eVoIoTcxA4O2E97/5NpUH f76OmWh0HIzeeJeRo7a1GlLWmv5tMsxEpNSP0KAovAYV0xUnOxa9B7wbaNywRVBFArph 6r8acnq0fZ4nnkmQ+NXIo/D+cKNoTx/8SMFe//gOOFSeh7JFd3zs9Q8NBe3Q2hY9Acfg d8Rg5IziZ3RiHb8Ivq+jDIyCLQmuS3eKLEM66Qanuy7pLbmljjE0yMO/Ihe9fcts/3bZ sUO7rQgD/9p8Nckj9tz0DbaEsWRuIV91CPlUaeO7SWj3HA/81IcNT+FZTvwRJLXtdbNF ICOw== 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=iF+hZYmZWLuY/qpKYXvimUzQbVkITzEoCicAm2QU+ug=; fh=RdBfj5qbirnOhAJnUzzrSVW9B2T51JC394+2wFeaK14=; b=IeC5OSjrTn1+B1hDR2YRYfL45j9R2tBTGfJcA1SV6ZycyLzLgKhpJ+DPQYNvlxCg3x UD3hTZjy55h1wwyjZyHYVvLTZlN3vGnTpXPDq5it6iz67yFJdDL+DOuCMfMgIY0qgxE+ 9dJ2+qXqjXtW2MqZNE/cQcd9VTLQrLprOl/UR1KcVVbv9D801xS8JKfvw5yrrj8SJVOO oGLqQlbAlylCwFJwjOxpr9Q/HtuyRhuiZ1CNY8Q+BMDrBqvln/lavPboxQffr7xI5007 4H0UKdCh0cv7+BSi8HpbVvaevxZ9Cw5fRXpx1YXqlB3azFRMlU3i4w3unlED6khZoMm2 vHAw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=tO1YE7yI; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-131369-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-131369-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id b5-20020a170902a9c500b001e0d5b7e4d9si14090833plr.644.2024.04.04.05.13.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Apr 2024 05:13:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-131369-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=tO1YE7yI; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-131369-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-131369-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 4851928DA86 for ; Thu, 4 Apr 2024 12:09:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0E8488627D; Thu, 4 Apr 2024 12:09:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="tO1YE7yI" 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 233BA84D35; Thu, 4 Apr 2024 12:09:41 +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=1712232582; cv=none; b=CHGFhWGA+eAUIi53+oKSgCs6yPVMrWKyENQvayQcrQtUIHkg2z71ihVJuk9pM2YUtw6YFUCOL3OdkVSP+2wRIbhgzm86jvAk1YiAkcTNpDjcngf26SsywoCx3Hdc2To2eySvtGZ0VAD1sBRis3VjqeiHLWfzHWlxwu21IxMLi3o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712232582; c=relaxed/simple; bh=iF+hZYmZWLuY/qpKYXvimUzQbVkITzEoCicAm2QU+ug=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=L7uPWS/NHtr4Nf++vpsE9CZdynR69ptwJ5Wspet22EG0Z+TSA/D/qMHxMeQZ5qDwhSF00RpVeWN1lz5/+nXNLr0g4/XsPQ4ZzNB81qkNvjif6SJBYlcM/7HSl3r4BFIMkGbFdWrH9akJ3qPrW7UlN0KZR9r0ChmlyatA3ZXoT4M= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=tO1YE7yI; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 40BA0C433F1; Thu, 4 Apr 2024 12:09:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712232581; bh=iF+hZYmZWLuY/qpKYXvimUzQbVkITzEoCicAm2QU+ug=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=tO1YE7yIHQ3qHA2nwtm0ZGmT8/uAMAQ4HLwBOrTlncFnT6lriWguTpZpABNNIHW5Y qW3rMAAWv4c0Ok75qIfpTLWIaIs3z0scaY8iS9B46CBHfZBgDB0Wjc4jdGd6jyr1LO gYQsN3RT7xMVJd95yiqSqpPArJGXx2gEUAO0DKw7qZugdu2OzMwnkDwOQ7hZ6F1qqZ RCIeBIyNT866v7M20DFMDH5TChLGS/VOTCCGTR/TLtY2pve92qhd9BEq59iq30dINh bj8OGhSALLZCuTkrSXp/Hz6Ebp4fnWqFD9WQ+i7JDmfJBmUFy45D5Wcd8g0DmpQ9Bg BSvBdwPyFGYqg== Date: Thu, 4 Apr 2024 13:09:36 +0100 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 Subject: Re: [RFC PATCH 0/6] Support ROHM BD96801 scalable PMIC Message-ID: References: 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="bLwWuxLdQRd8U3iv" Content-Disposition: inline In-Reply-To: X-Cookie: Buckle up! --bLwWuxLdQRd8U3iv Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Apr 04, 2024 at 10:26:34AM +0300, Matti Vaittinen wrote: > 1. Should we be able to have more than 1 IRQ domain / device? > 2. Should regmap_irq support having more than 1 HWIRQ I would expect each parent interrupt to show up as a separate remap_irq. > then it seems that reading the IRQ information from the /proc/interrupts > works as expected. Here I am making a wild guess that the name of the domain > is used as a key for some data-lookups, and having two domains with a same > name will either overwrite something or cause wrong domain data to be > fetched. (This is just guessing for now). So if we arrange to supply a name when we register multiple domains things should work fine? --bLwWuxLdQRd8U3iv Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmYOmH8ACgkQJNaLcl1U h9CueAf/QxTLrSUED3FleSmC99lu2f6hCDoyehpmImkDa1WIGmVrBCv6Rr9IIogs u4+/eLtbZ/A8yxKJz7qEXBNwwS5LOpZpPPZvrTe9sZ6E5vbZq1EWP2M3OdnsB9XS 64XavlWRYG6MgbYLx3G4E7xHzfAFmEBY3e9s2eaxYpH3iWiTruN8sSsS2Qx4ji8Z DDiD4SVtDHtHT/Njz2bR1iEw2Dq5yVRGRahTcmL7mGfcskcB/KB4x7dV4WfOJN27 WZ5tTG2wDMRlan9AY9myMordW5FIPqzOhE4MdU3bmNNU/AcvrqRw0qrgvlKcik7r q0m/K5N4s/Bmnod2mW0p9r0Z7vHSig== =1Y5H -----END PGP SIGNATURE----- --bLwWuxLdQRd8U3iv--