[U-Boot] [PATCH v3 3/5] ARM: dm: mxs: gpio: Add support for DM/DTS in the mxs_gpio.c driver (DM_GPIO)

Marek Vasut marex at denx.de
Tue Jun 18 10:33:35 UTC 2019

On 6/18/19 8:57 AM, Lukasz Majewski wrote:


> To have a consensus regarding the gpio-ranges and mxs_gpio - here is
> my proposition:
> 1. I can provide "gpio-ranges" properties to imx28-u-boot.dtsi
> With support similar to one from drivers/gpio/gpio-rcar.c, which only
> extracts the info regarding pin mapping, but omits the phandle for
> pinmux (pinmux will not be supported).
> 2. I will not upstream those properties to Linux (and adjust the
> working mxs gpio driver in any way) - they would be only U-Boot specific

Why not ?

> 3. The IMX_GPIO_NR() macro will not be defined for i.MX28 GPIO.
> 4. Considering point 3 - all converted boards will have to use dm_gpio*
> API.

That's good.

Best regards,
Marek Vasut

More information about the U-Boot mailing list