Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp919803imu; Wed, 23 Jan 2019 07:57:08 -0800 (PST) X-Google-Smtp-Source: ALg8bN7ZeOVWWjD/GCcGQeUjRbwmm8/7WRbX3JOEhggL7cUgmrH4N7JQeVivbAY+MMw7k5govxnX X-Received: by 2002:a63:db48:: with SMTP id x8mr2320622pgi.365.1548259027971; Wed, 23 Jan 2019 07:57:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548259027; cv=none; d=google.com; s=arc-20160816; b=gaevV748NOPLesPSEBL9YZ2QmpE9k6RDI/QL/TZjfu+PeMf+3btWXUlGssBIm8jAUN 2kWJxL1v4oloEz7iV+JIZscmhtTqUcU8QctSDpCt8pgfMVpDhGGjYm2F+R+Em0dH1fH+ 1WGXBjesYWLap1ZHHGe2gV4pyAiSDmmisZl6Pr4csKndPUZb16NXz2UnQZ0DFvlZU2lR oQDOVj0lot5+qNWki1O5uAfJT9UNxVfXbO/k+2vz6Uow6U2wcSBzzPjKe4FFLdcY7hIF bqXJtkeyPD6pxOx/bdriGFE9bjCtCrqnAxquXV0P7I3MSP9Wl0yul7/Arqd2t7HIo/K/ Kk0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=qCb2cfVsJ18RrAwohqaEffdA2F77n5lDC7o3AK/BZHM=; b=ZLRQdsZ4b3sHdjdbj8l3EBGdcAcoJpU0lRGUvWm+OiRPkr+nR2SYORl74lYSj+GTOl ibyx/g0cA2dLxFJGQ9gGAjm28IgwahrLvpMQAKYJtQq2aUer8q5CoZ7daTJXynTtomGH AWQJ7mucEQ2XZQ77WkGVqmnUpnNybZg56NZBBfrs0yb/bvjgrbC0nuKkejMc7HVv94BU shbBmpqZlz4Z8g3DzmIfwGyQexauuhq10S22i9vcWg5U0LcVRL/qH7hzDBMb8hKISQ+A 0mUAnHT9ZILDGS2ODruEaswnFh9sm4Qe0uGsmPqjhyxzRjgebqVIGyR2aQR1o8os0qhG 81/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b="mps/FHoY"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f34si20514716ple.280.2019.01.23.07.56.51; Wed, 23 Jan 2019 07:57:07 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b="mps/FHoY"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726307AbfAWPzr (ORCPT + 99 others); Wed, 23 Jan 2019 10:55:47 -0500 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:38494 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725871AbfAWPzr (ORCPT ); Wed, 23 Jan 2019 10:55:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sirena.org.uk; s=20170815-heliosphere; h=In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=qCb2cfVsJ18RrAwohqaEffdA2F77n5lDC7o3AK/BZHM=; b=mps/FHoYLmktEb7TKgx7CrBPm w6qMI8j0IcY3UJ2d1isBCMfrPChpZVej0SBylFxCiBCF1gVdikz95KxNbJA3IX0kBJ9TWjfVneyyS bKsmqxSbSjdetg6nnzRz70qk9Tx7OmFQ0s/iJA6HssqIkoAYOOxzv7MxOjGrACMNHmy7U=; Received: from cpc102320-sgyl38-2-0-cust46.18-2.cable.virginm.net ([82.37.168.47] helo=debutante.sirena.org.uk) by heliosphere.sirena.org.uk with esmtpa (Exim 4.89) (envelope-from ) id 1gmKsF-0005rq-Q7; Wed, 23 Jan 2019 15:55:31 +0000 Received: by debutante.sirena.org.uk (Postfix, from userid 1000) id 6C47C1127ABA; Wed, 23 Jan 2019 15:55:31 +0000 (GMT) Date: Wed, 23 Jan 2019 15:55:31 +0000 From: Mark Brown To: Matti Vaittinen Cc: mazziesaccount@gmail.com, lee.jones@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com, lgirdwood@gmail.com, gregkh@linuxfoundation.org, rafael@kernel.org, mturquette@baylibre.com, sboyd@kernel.org, linus.walleij@linaro.org, bgolaszewski@baylibre.com, sre@kernel.org, a.zummo@towertech.it, alexandre.belloni@bootlin.com, wim@linux-watchdog.org, linux@roeck-us.net, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-gpio@vger.kernel.org, linux-pm@vger.kernel.org, linux-rtc@vger.kernel.org, linux-watchdog@vger.kernel.org, mikko.mutanen@fi.rohmeurope.com, heikki.haikola@fi.rohmeurope.com Subject: Re: [RFC PATCH v1 01/13] regmap: regmap-irq: Add main status register support Message-ID: <20190123155531.GC7503@sirena.org.uk> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ZwgA9U+XZDXt4+m+" Content-Disposition: inline In-Reply-To: X-Cookie: A couch is as good as a chair. User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --ZwgA9U+XZDXt4+m+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Jan 22, 2019 at 11:42:24AM +0200, Matti Vaittinen wrote: > There is bunch of devices with multiple logical blocks which > can generate interrupts. It's not a rare case that the interrupt > reason registers are arranged so that there is own status/ack/mask > register for each logical block. In some devices there is also a > 'main interrupt register(s)' which can indicate what sub blocks > have interrupts pending. The following changes since commit bfeffd155283772bbe78c6a05dec7c0128ee500c: Linux 5.0-rc1 (2019-01-06 17:08:20 -0800) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap.git tags/regmap-irq-main-status for you to fetch changes up to a2d21848d9211dad5e786aa7368709ca8938834e: regmap: regmap-irq: Add main status register support (2019-01-23 15:52:15 +0000) ---------------------------------------------------------------- regmap: Main status register support Add support for a main status register, used by chips on slower buses with many interrupt sources to improve performance in interrupt handling. ---------------------------------------------------------------- Matti Vaittinen (1): regmap: regmap-irq: Add main status register support drivers/base/regmap/regmap-irq.c | 99 ++++++++++++++++++++++++++++++++++++++-- include/linux/regmap.h | 31 +++++++++++++ 2 files changed, 126 insertions(+), 4 deletions(-) --ZwgA9U+XZDXt4+m+ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAlxIjnIACgkQJNaLcl1U h9A6Dwf6A9lsIBpD+TiAoijbdEzoXqd/cmk7XgSy/A667LTDjzbi5yBhrjhOGwkz 83o5oE/oS6bba5hgVls8QO4C3sGrPhdtDPF+Q6LpGS4uNxq/o6Mv3KRbZU8RAPzZ F0znv/m2UqJa67vx20iiS72+oZEyFfuaihQRjMBP+nP4nFu/dmnmLZegh3h6R/z6 xliTfo5ljMjCb2h379hdmlbv4FUJ9d4A7ARvs49AB6Wt/br0WWVdINBPQiVRWYY7 bTLeY9HglV2z2UL72NNMRU5ie1vhiLGDwCkEbiVWVXscay3sLl3xyBUJHFfLbc4D kIE6YXfIVU52U/5gIucvj4wN2qz+Qg== =kp0o -----END PGP SIGNATURE----- --ZwgA9U+XZDXt4+m+--