[PATCH] i2c: octeon_i2c: Misc fixes for ARM Octeon TX2 support
Daniel Schwierzeck
daniel.schwierzeck at gmail.com
Thu Jul 30 13:55:52 CEST 2020
> 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 <sr at denx.de>
> Cc: Heiko Schocher <hs at denx.de>
> Cc: Daniel Schwierzeck <daniel.schwierzeck at gmail.com>
> Cc: Suneel Garapati <sgarapati at marvell.com>
> Cc: Aaron Williams <awilliams at marvell.com>
> Cc: Chandrakala Chavva <cchavva at marvell.com>
> ---
> drivers/i2c/octeon_i2c.c | 59 ++++++++++++++++++----------------------
> 1 file changed, 26 insertions(+), 33 deletions(-)
>
>
Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck at gmail.com>
--
- Daniel
More information about the U-Boot
mailing list