Haibo Chen
4e9d730341
dt-bindings: gpio: vf610: add ngpios and gpio-reserved-ranges
...
Add optional ngpios and gpio-reserved-ranges property.
Reviewed-by: Frank Li <Frank.Li@nxp.com >
Signed-off-by: Haibo Chen <haibo.chen@nxp.com >
Acked-by: Conor Dooley <conor.dooley@microchip.com >
Reviewed-by: Linus Walleij <linus.walleij@linaro.org >
Link: https://lore.kernel.org/r/20250520-gpio-dts-v3-1-04771c6cf325@nxp.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org >
2025-05-21 17:51:14 +02:00
Frank Li
e931609425
dt-bindings: gpio: vf610: Add i.MX94 support
...
Add compatible string "fsl,imx94-gpio" for the i.MX94 chip, which is
backward compatible with i.MX8ULP. Set it to fall back to
"fsl,imx8ulp-gpio".
Signed-off-by: Frank Li <Frank.Li@nxp.com >
Acked-by: Conor Dooley <conor.dooley@microchip.com >
Link: https://lore.kernel.org/r/20250306170921.241690-1-Frank.Li@nxp.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org >
2025-03-10 11:20:38 +01:00
Frieder Schrempf
8060be2489
dt-bindings: gpio: vf610: Allow gpio-line-names to be set
...
Describe common "gpio-line-names" property to allow DTs to
specify names for GPIO lines.
Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de >
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/20240708084107.38986-2-frieder@fris.de
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org >
2024-07-08 16:53:24 +02:00
Peng Fan
2b575631fe
dt-bindings: gpio: vf610: add i.MX95 compatible
...
Add i.MX95 compatible string which is compatible with i.MX8ULP
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Signed-off-by: Peng Fan <peng.fan@nxp.com >
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org >
2023-10-05 19:52:58 +02:00
Peng Fan
1619a09444
dt-bindings: gpio: vf610: correct i.MX8ULP and i.MX93
...
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
Reviewed-by: Rob Herring <robh@kernel.org >
Signed-off-by: Peng Fan <peng.fan@nxp.com >
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org >
2023-10-05 19:52:57 +02:00
Peng Fan
690acef3c4
dt-bindings: gpio: vf610: update gpio-ranges
...
i.MX93 supports four gpio-ranges at max. To fix below issue:
"gpio@43820080: gpio-ranges: [[30, 0, 84, 8], [30, 8, 66, 18],
[30, 26, 34, 2], [30, 28, 0, 4]] is too long"
Update the gpio-ranges property
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Reviewed-by: Fabio Estevam <festevam@gmail.com >
Reviewed-by: Linus Walleij <linus.walleij@linaro.org >
Signed-off-by: Peng Fan <peng.fan@nxp.com >
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org >
2023-10-05 19:52:55 +02:00
Alexander Stein
0ea22c4669
dt-bindings: gpio: gpio-vf610: Add parsing of hogs
...
Allow parsing GPIO controller children nodes with GPIO hogs.
Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com >
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org >
2023-06-19 14:48:07 +02:00
Peng Fan
4f351edd26
dt-bindings: gpio: gpio-vf610: Add imx93 compatible string
...
Add the compatible string for i.MX93
Signed-off-by: Peng Fan <peng.fan@nxp.com >
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl >
2022-02-08 10:41:47 +01:00
Jacky Bai
c61d8b5791
dt-bindings: gpio: gpio-vf610: Add imx8ulp compatible string
...
Add the compatible string for i.MX8ULP.
Reviewed-by: Linus Walleij <linus.walleij@linaro.org >
Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com >
Acked-by: Rob Herring <robh@kernel.org >
Signed-off-by: Jacky Bai <ping.bai@nxp.com >
Signed-off-by: Peng Fan <peng.fan@nxp.com >
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl >
2021-11-15 11:50:21 +01:00
Krzysztof Kozlowski
1c36e50f05
dt-bindings: gpio: gpio-vf610: fix iMX 7ULP compatible matching
...
The i.MX 7ULP DTSes use two compatibles so update the binding to fix
dtbs_check warnings like:
arch/arm/boot/dts/imx7ulp-com.dt.yaml: gpio@40ae0000:
compatible: ['fsl,imx7ulp-gpio', 'fsl,vf610-gpio'] is too long
arch/arm/boot/dts/imx7ulp-com.dt.yaml: gpio@40ae0000:
compatible: Additional items are not allowed ('fsl,vf610-gpio' was unexpected)
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org >
Signed-off-by: Rob Herring <robh@kernel.org >
2020-09-29 09:02:01 -05:00
Anson Huang
1c5711876b
dt-bindings: gpio: Convert vf610 to json-schema
...
Convert the vf610 gpio binding to DT schema format using json-schema.
Signed-off-by: Anson Huang <Anson.Huang@nxp.com >
Link: https://lore.kernel.org/r/1597218741-24899-1-git-send-email-Anson.Huang@nxp.com
Signed-off-by: Rob Herring <robh@kernel.org >
2020-08-17 20:19:35 -06:00