Re: [PATCH v3] pinctrl: qcom: use scm_call to route GPIO irq to Apps

From: Linus Walleij
Date: Fri Mar 27 2020 - 19:33:59 EST


On Fri, Mar 27, 2020 at 11:32 PM Ansuel Smith <ansuelsmth@xxxxxxxxx> wrote:

> From: Ajay Kishore <akisho@xxxxxxxxxxxxxx>
>
> For IPQ806x targets, TZ protects the registers that are used to
> configure the routing of interrupts to a target processor.
> To resolve this, this patch uses scm call to route GPIO interrupts
> to application processor. Also the scm call interface is changed.
>
> Signed-off-by: Ajay Kishore <akisho@xxxxxxxxxxxxxx>
> Signed-off-by: Ansuel Smith <ansuelsmth@xxxxxxxxx>
> ---
> v3:
> * Rename route_to_apps to intr_target_use_scm
> * Follow standard design and rename base_reg to phys_base
> * Add additional comments in route interrupts condition

Patch applied with BjÃrn's review tag.

Yours,
Linus Walleij