From: Grygorii Strashko <grygorii.strashko@ti.com>
To: Marcin Niestroj <m.niestroj@grinn-global.com>,
Lee Jones <lee.jones@linaro.org>
Cc: Tony Lindgren <tony@atomide.com>,
Sebastian Reichel <sre@kernel.org>,
Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>,
David Woodhouse <dwmw2@infradead.org>,
Rob Herring <robh+dt@kernel.org>, Pawel Moll <pawel.moll@arm.com>,
linux-omap@vger.kernel.org, linux-pm@vger.kernel.org,
linux-input@vger.kernel.org, devicetree@vger.kernel.org
Subject: Re: [PATCH v4 1/5] mfd: tps65217: Add support for IRQs
Date: Fri, 24 Jun 2016 12:58:15 +0300 [thread overview]
Message-ID: <576D0437.1020800@ti.com> (raw)
In-Reply-To: <20160620105056.25843-2-m.niestroj@grinn-global.com>
On 06/20/2016 01:50 PM, Marcin Niestroj wrote:
> Add support for handling IRQs: power button, AC and USB power state
> changes. Mask and interrupt bits are shared within one register, which
> prevents us to use regmap_irq implementation. New irq_domain is created in
> order to add interrupt handling for each tps65217's subsystem. IRQ
> resources have been added for charger subsystem to be able to notify about
> AC and USB state changes.
>
> Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>
> Acked-by: Lee Jones <lee.jones@linaro.org>
> ---
> Changes v3 -> v4 (suggested by Grygorii):
> * Add irq_set_parent() during irq init
> * Remove hardcoded IRQ trigger type, rely on DT bindings instead
>
> Changes v2 -> v3 (suggested by Lee):
> * Alphabetical reorder of includes
> * Rename enum tps65217_irqs -> tps65217_irq_type, so we won't confuse
> it with structure object with the same name.
> * Fix inconsistent order of irq_enable and irq_disable
> * Remove redundant 'else' when returning from tps65217_irq_thread
>
> Changes v1 -> v2: none
>
> drivers/mfd/Kconfig | 1 +
> drivers/mfd/tps65217.c | 195 +++++++++++++++++++++++++++++++++++++++++--
> include/linux/mfd/tps65217.h | 12 +++
> 3 files changed, 200 insertions(+), 8 deletions(-)
>
Reviewed-by: Grygorii Strashko <grygorii.strashko@ti.com>
--
regards,
-grygorii
next prev parent reply other threads:[~2016-06-24 9:59 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-20 10:50 [PATCH v4 0/5] mfd: tps65217: Add power-button and IRQ support Marcin Niestroj
2016-06-20 10:50 ` [PATCH v4 1/5] mfd: tps65217: Add support for IRQs Marcin Niestroj
2016-06-24 9:58 ` Grygorii Strashko [this message]
[not found] ` <576D0437.1020800-l0cyMroinI0@public.gmane.org>
2016-08-22 10:02 ` Marcin Niestroj
2016-08-29 9:05 ` Marcin Niestroj
2016-08-30 9:04 ` Lee Jones
2016-06-20 10:50 ` [PATCH v4 2/5] power_supply: tps65217-charger: Fix NULL deref during property export Marcin Niestroj
2016-06-20 13:23 ` Krzysztof Kozlowski
2016-06-20 10:50 ` [PATCH v4 3/5] power_supply: tps65217-charger: Add support for IRQs Marcin Niestroj
2016-07-27 9:14 ` Marcin Niestroj
2016-07-27 20:04 ` Sebastian Reichel
[not found] ` <20160620105056.25843-4-m.niestroj-z3quKL4iOrmQ6ZAhV5LmOA@public.gmane.org>
2016-08-15 19:26 ` Sebastian Reichel
2016-06-20 10:50 ` [PATCH v4 4/5] mfd: tps65217: Add power button as subdevice Marcin Niestroj
[not found] ` <20160620105056.25843-5-m.niestroj-z3quKL4iOrmQ6ZAhV5LmOA@public.gmane.org>
2016-08-22 10:08 ` Marcin Niestroj
2016-08-29 9:08 ` Marcin Niestroj
2016-08-30 9:03 ` Lee Jones
2016-08-30 9:19 ` Marcin Niestroj
[not found] ` <9fafa9b0-cc45-6fe9-ddb9-5c933064261c-z3quKL4iOrmQ6ZAhV5LmOA@public.gmane.org>
2016-08-30 9:50 ` Lee Jones
2016-08-31 7:41 ` Marcin Niestroj
2016-08-31 11:17 ` Lee Jones
2016-08-31 11:18 ` Marcin Niestroj
[not found] ` <a1752816-3cee-adb9-79e2-bafce286a5c3-z3quKL4iOrmQ6ZAhV5LmOA@public.gmane.org>
2016-08-31 12:34 ` Sebastian Reichel
2016-08-31 14:31 ` Lee Jones
2016-06-20 10:50 ` [PATCH v4 5/5] Input: Add tps65217 power button driver Marcin Niestroj
2016-06-21 13:17 ` Rob Herring
2016-08-22 10:09 ` Marcin Niestroj
2016-08-29 9:09 ` Marcin Niestroj
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=576D0437.1020800@ti.com \
--to=grygorii.strashko@ti.com \
--cc=dbaryshkov@gmail.com \
--cc=devicetree@vger.kernel.org \
--cc=dwmw2@infradead.org \
--cc=lee.jones@linaro.org \
--cc=linux-input@vger.kernel.org \
--cc=linux-omap@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=m.niestroj@grinn-global.com \
--cc=pawel.moll@arm.com \
--cc=robh+dt@kernel.org \
--cc=sre@kernel.org \
--cc=tony@atomide.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.