mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-30 22:26:55 +00:00
gpio: vf610: update comment for i.MX8ULP and i.MX93 legacy compatibles
i.MX8ULP and i.MX93 legacy compatible strings use dual regs, while new compatible strings use one reg. The "support old compatible strings" is not clear to reflect the fact, so update it. Suggested-by: Marco Felsch <m.felsch@pengutronix.de> Signed-off-by: Peng Fan <peng.fan@nxp.com> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
This commit is contained in:
parent
b57587f11f
commit
8a58cd577f
1 changed files with 4 additions and 1 deletions
|
@ -287,7 +287,10 @@ static int vf610_gpio_probe(struct platform_device *pdev)
|
|||
|
||||
dual_base = port->sdata->have_dual_base;
|
||||
|
||||
/* support old compatible strings */
|
||||
/*
|
||||
* Handle legacy compatible combinations which used two reg values
|
||||
* for the i.MX8ULP and i.MX93.
|
||||
*/
|
||||
if (device_is_compatible(dev, "fsl,imx7ulp-gpio") &&
|
||||
(device_is_compatible(dev, "fsl,imx93-gpio") ||
|
||||
(device_is_compatible(dev, "fsl,imx8ulp-gpio"))))
|
||||
|
|
Loading…
Reference in a new issue