Messages in this thread | | | Date | Tue, 24 Mar 2020 11:05:53 +0000 | From | Lee Jones <> | 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@biamp.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
| |