Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Peng Fan and committed by
Bartosz Golaszewski
8a58cd57 b57587f1

+4 -1
+4 -1
drivers/gpio/gpio-vf610.c
··· 287 287 288 288 dual_base = port->sdata->have_dual_base; 289 289 290 - /* support old compatible strings */ 290 + /* 291 + * Handle legacy compatible combinations which used two reg values 292 + * for the i.MX8ULP and i.MX93. 293 + */ 291 294 if (device_is_compatible(dev, "fsl,imx7ulp-gpio") && 292 295 (device_is_compatible(dev, "fsl,imx93-gpio") || 293 296 (device_is_compatible(dev, "fsl,imx8ulp-gpio"))))