From: Daniel Schwierzeck Date: Thu, 30 Jul 2020 13:55:52 +0200 Subject: [PATCH] i2c: octeon_i2c: Misc fixes for ARM Octeon TX2 support In-Reply-To: <20200723120936.990954-1-sr@denx.de> References: <20200723120936.990954-1-sr@denx.de> Message-ID: <629448dcc425c995f63430f26af59347e79bb26c.camel@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > This patch fixes a few issues noticed, when testing this new driver on > ARM Octeon TX2 again. Here the details: > > - Remove "common.h" header inclusion > - Use correct THP define on Octeon TX2 > - Octeon TX2 uses the same compatible as Octeon TX. We can't distinguish > both platforms this way. Remove the unused "cavium,thunder2-99xx-twsi" > compatible and add a check to the Octeon TX2 specific > "cavium,thunderx-i2c" so that the correct driver data is selected. > - Removed "struct pci_device_id" definition and U_BOOT_PCI_DEVICE() > as its not needed for the PCI based probing on Octeon TX2 > > Signed-off-by: Stefan Roese > Cc: Heiko Schocher > Cc: Daniel Schwierzeck > Cc: Suneel Garapati > Cc: Aaron Williams > Cc: Chandrakala Chavva > --- > drivers/i2c/octeon_i2c.c | 59 ++++++++++++++++++---------------------- > 1 file changed, 26 insertions(+), 33 deletions(-) > > Reviewed-by: Daniel Schwierzeck -- - Daniel