Re: [U-Boot] [PATCH v2 14/41] board: ge: mx53ppd: use DM I2C

2019-10-25 Thread Robert Beckett
On Thu, 2019-10-24 at 09:21 -0300, Fabio Estevam wrote: > Hi Robert, > > On Wed, Oct 23, 2019 at 3:22 PM Robert Beckett > wrote: > > > + > > + { > > + u-boot,dm-pre-reloc; > > For these specific U-Boot properties it is recommended to place them > inside a specifc u-boot.dtsi file. > >

Re: [U-Boot] [PATCH v2 14/41] board: ge: mx53ppd: use DM I2C

2019-10-24 Thread Fabio Estevam
Hi Robert, On Wed, Oct 23, 2019 at 3:22 PM Robert Beckett wrote: > + > + { > + u-boot,dm-pre-reloc; For these specific U-Boot properties it is recommended to place them inside a specifc u-boot.dtsi file. Please refer to arch/arm/dts/imx7ulp-uboot.dtsi as an example. This way you could

[U-Boot] [PATCH v2 14/41] board: ge: mx53ppd: use DM I2C

2019-10-23 Thread Robert Beckett
Remove old (pre-DM) i2c setup code. The old iomux setup was setting up the wrong pins. Enable DM i2c. Enable MXC DM i2c driver. Enable compat i2c api while we migrate other i2c devices to DM i2c. Define CONFIG_SYS_MALLOC_F_LEN so that DM is available in pre-reloc. Make GPIO banks available during