
Hi Marek,
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:
- 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).
- 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 ?
Because I do not have any interest in doing so.
Do we have agreement?
The IMX_GPIO_NR() macro will not be defined for i.MX28 GPIO.
Considering point 3 - all converted boards will have to use
dm_gpio* API.
That's good.
Best regards,
Lukasz Majewski
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma@denx.de