Re: [PATCH v4 2/7] dt-bindings: gpio: vf610: correct i.MX8ULP and i.MX93

From: Rob Herring
Date: Thu Sep 28 2023 - 12:29:21 EST



On Tue, 26 Sep 2023 11:33:18 +0800, Peng Fan (OSS) wrote:
> From: Peng Fan <peng.fan@xxxxxxx>
>
> i.MX8ULP and i.MX93 actually has two interrupts for each gpio
> controller, one for Trustzone non-secure world, one for secure world.
>
> And they has one register based, not two as i.MX7ULP or VF610.
>
> Although the Linux Kernel driver gpio-vf610.c could work with
> fsl,imx7ulp-gpio compatible, it is based on some tricks did in
> device tree with some offset added to base address.
>
> So actually i.MX8ULP/i.MX93 is not compatible with i.MX7ULP.
>
> Last, i.MX93 is directly derived from i.MX8ULP, so make i.MX93 GPIO
> compatible with i.MX8ULP
>
> Signed-off-by: Peng Fan <peng.fan@xxxxxxx>
> ---
> .../devicetree/bindings/gpio/gpio-vf610.yaml | 36 +++++++++++++++++++---
> 1 file changed, 31 insertions(+), 5 deletions(-)
>

Reviewed-by: Rob Herring <robh@xxxxxxxxxx>