[PATCH v6 009/102] i2c: designware: Support use in SPL

2019-12-06 Thread Simon Glass
Allow this driver to set up an IO address in SPL using an 'early-regs' property. This allows SPL to use the I2C driver without having to enable the full PCI stack. Also split out ofdata_to_platdata in designware driver since this is more correct, and more convenient for the new logic. Signed-off-

Re: [PATCH v6 009/102] i2c: designware: Support use in SPL

2019-12-07 Thread Bin Meng
On Sat, Dec 7, 2019 at 12:46 PM Simon Glass wrote: > > Allow this driver to set up an IO address in SPL using an 'early-regs' > property. This allows SPL to use the I2C driver without having to enable > the full PCI stack. > > Also split out ofdata_to_platdata in designware driver since this is mo