From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bin Meng Date: Sun, 8 Dec 2019 09:59:45 +0800 Subject: [PATCH v6 009/102] i2c: designware: Support use in SPL In-Reply-To: <20191206213936.v6.9.I7e114f1fc9a5e4062ac176a63135c5791dbed927@changeid> References: <20191207044315.51770-1-sjg@chromium.org> <20191206213936.v6.9.I7e114f1fc9a5e4062ac176a63135c5791dbed927@changeid> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 more > correct, and more convenient for the new logic. > > Signed-off-by: Simon Glass > Reviewed-by: Bin Meng > --- > > Changes in v6: > - Move lpss_reset_release() to another commit > > Changes in v5: None > Changes in v4: > - Add new patch to allow designware I2C driver to work in SPL > > Changes in v3: None > Changes in v2: None > > drivers/i2c/designware_i2c_pci.c | 43 +++++++++++++++++++++++++++++--- > 1 file changed, 40 insertions(+), 3 deletions(-) > applied to u-boot-x86/next, thanks!