From: Simon Goldschmidt Date: Tue, 9 Apr 2019 21:38:13 +0200 Subject: [U-Boot] [PATCH v2 1/4] arm: socfpga: move vining_fpga to DM_I2C In-Reply-To: <1b592862-8a6f-046c-1789-ef1fc869db67@denx.de> References: <20190409185259.19052-1-simon.k.r.goldschmidt@gmail.com> <20190409185259.19052-2-simon.k.r.goldschmidt@gmail.com> <1b592862-8a6f-046c-1789-ef1fc869db67@denx.de> 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 Am 09.04.2019 um 21:27 schrieb Marek Vasut: > On 4/9/19 8:52 PM, Simon Goldschmidt wrote: >> All socfpga boards except for vining_fpga use DM_I2C. Enable >> DM_I2C for this board and set the EEPROM defines via Kconfig >> (enabling CONFIG_I2C_EEPROM from MISC). >> >> Signed-off-by: Simon Goldschmidt >> --- >> >> Changes in v2: >> - added (this) patch to move socfpga_vining to DM_I2C >> >> configs/socfpga_vining_fpga_defconfig | 8 +++++++- >> include/configs/socfpga_common.h | 26 -------------------------- >> include/configs/socfpga_vining_fpga.h | 9 --------- >> 3 files changed, 7 insertions(+), 36 deletions(-) > > Isn't this missing some DT bit which would enable the I2C controller ? > Or is that already in the DT for this platform ? > Well, I don't have the board (I tested with socfpga_socrates + Phy1 addon board which does have an i2c eeprom but needs an FPGA config to work), but to me it seems 'socfpga_cyclone5_vining_fpga.dts' should have everything we need, or what do you think is missing? Having this tested on a real socfpga_vining board would be great of course... Regards, Simon