Re: [PATCH V6] mfd: da9062: Add support for interrupt polarity defined in device tree

From: Linus Walleij
Date: Fri Feb 28 2020 - 12:04:42 EST


On Wed, Feb 26, 2020 at 2:08 AM Shreyas Joshi <shreyasjoshi15@xxxxxxxxx> 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@xxxxxxxxx>
> ---
>
> V6:
> Changed regmap_reg_range to exclude DA9062AA_CONFIG_B for writeable
> Added regmap_reg_range DA9062AA_CONFIG_A for readable

Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Yours,
Linus Walleij