[0/5] gpio: update i.MX93/8ULP and support i.MX95

Message ID 20230914-vf610-gpio-v1-0-3ed418182a6a@nxp.com
Headers
Series gpio: update i.MX93/8ULP and support i.MX95 |

Message

Peng Fan (OSS) Sept. 14, 2023, 2:20 a.m. UTC
  From hardware perspective i.MX8ULP GPIO supports two interrupts,
1st for Trustzone non-secure irq, 2nd for Trustzone secure irq.

While i.MX7ULP GPIO only supports one interrupt, so i.MX8ULP is not
compatible with i.MX7ULP.

i.MX93 GPIO is directly derived from i.MX8ULP, so make i.MX93 compatible
with i.MX8ULP. i.MX95 GPIO is same as i.MX93, so also compatible with
i.MX8ULP

There maybe dtbs_check failure if only test the 1st patch. After
the patchset applied, no failure.

---
Peng Fan (5):
      dt-bindings: gpio: vf610: correct i.MX8ULP and i.MX93 interrupts
      dt-bindings: gpio: vf610: add i.MX95 compatible
      gpio: vf610: add i.MX8ULP of_device_id entry
      arm64: dts: imx8ulp: update gpio node
      arm64: dts: imx93: update gpio node

 .../devicetree/bindings/gpio/gpio-vf610.yaml       | 25 +++++++++++++++++++---
 arch/arm64/boot/dts/freescale/imx8ulp.dtsi         | 15 +++++++------
 arch/arm64/boot/dts/freescale/imx93.dtsi           | 20 ++++++++++-------
 drivers/gpio/gpio-vf610.c                          |  1 +
 4 files changed, 44 insertions(+), 17 deletions(-)
---
base-commit: e143016b56ecb0fcda5bb6026b0a25fe55274f56
change-id: 20230914-vf610-gpio-46edacd2b513

Best regards,
  

Comments

Krzysztof Kozlowski Sept. 14, 2023, 5:48 a.m. UTC | #1
On 14/09/2023 04:20, Peng Fan (OSS) wrote:
> From: Peng Fan <peng.fan@nxp.com>
> 
> Add i.MX95 compatible string which is compatible with i.MX8ULP
> 
> Signed-off-by: Peng Fan <peng.fan@nxp.com>
> ---
>  Documentation/devicetree/bindings/gpio/gpio-vf610.yaml | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/Documentation/devicetree/bindings/gpio/gpio-vf610.yaml b/Documentation/devicetree/bindings/gpio/gpio-vf610.yaml
> index 2593cc96fcbb..d0db2089cfab 100644
> --- a/Documentation/devicetree/bindings/gpio/gpio-vf610.yaml
> +++ b/Documentation/devicetree/bindings/gpio/gpio-vf610.yaml
> @@ -26,7 +26,9 @@ properties:
>            - const: fsl,imx7ulp-gpio
>            - const: fsl,vf610-gpio
>        - items:
> -          - const: fsl,imx93-gpio
> +          - enum:

Just make it an enum in your previous patch, so you won't change this
line twice.

> +              - fsl,imx93-gpio

Best regards,
Krzysztof