[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200324110553.GK5477@dell>
Date: Tue, 24 Mar 2020 11:05:53 +0000
From: Lee Jones <lee.jones@...aro.org>
To: Shreyas Joshi <shreyasjoshi15@...il.com>
Cc: Support.Opensource@...semi.com,
Adam.Thomson.Opensource@...semi.com, linus.walleij@...aro.org,
linux-kernel@...r.kernel.org,
Shreyas Joshi <shreyas.joshi@...mp.com>
Subject: Re: [PATCH V6] mfd: da9062: Add support for interrupt polarity
defined in device tree
On Wed, 26 Feb 2020, Shreyas Joshi wrote:
> The da9062 interrupt handler cannot necessarily be low active.
> Add a function to configure the interrupt type based on what is defined in the device tree.
> The allowable interrupt type is either low or high level trigger.
>
> Signed-off-by: Shreyas Joshi <shreyas.joshi@...mp.com>
> ---
>
> V6:
> Changed regmap_reg_range to exclude DA9062AA_CONFIG_B for writeable
> Added regmap_reg_range DA9062AA_CONFIG_A for readable
>
> V5:
> Added #define for DA9062_IRQ_HIGH and DA9062_IRQ_LOW
>
> V4:
> Changed return code to EINVAL rather than EIO for incorrect irq type
> Corrected regmap_update_bits usage
>
> V3:
> Changed regmap_write to regmap_update_bits
>
> V2:
> Added function to update the polarity of CONFIG_A IRQ_TYPE
>
> drivers/mfd/da9062-core.c | 44 ++++++++++++++++++++++++++++++++++++---
> 1 file changed, 41 insertions(+), 3 deletions(-)
Applied, thanks.
--
Lee Jones [李琼斯]
Linaro Services Technical Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
Powered by blists - more mailing lists