diff options
author | Peng Fan <peng.fan@nxp.com> | 2023-10-01 11:27:55 +0300 |
---|---|---|
committer | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2023-10-05 20:53:00 +0300 |
commit | 76bc907b142cca4a043e0a18be4d8a4e6d2df328 (patch) | |
tree | f74664785135aefaebc59ff5b8231ce50689cb12 /scripts | |
parent | 2b575631fe5f4e7948954e70fcff409b67ed42c3 (diff) | |
download | linux-76bc907b142cca4a043e0a18be4d8a4e6d2df328.tar.xz |
gpio: vf610: add i.MX8ULP of_device_id entry
i.MX8ULP/93 GPIO supports similar feature as i.MX7ULP GPIO, but i.MX8ULP is
actually not hardware compatible with i.MX7ULP. i.MX8ULP only has one
register base, not two bases. i.MX8ULP and i.MX93 actually has two
interrupts for each gpio controller, one for Trustzone non-secure world,
one for secure world.
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.
Add a new of_device_id entry for i.MX8ULP. But to make the driver could
also support old bindings, check the compatible string first, before
check the device data.
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions