]> Git Repo - J-u-boot.git/commit
i2c: octeon_i2c: Misc fixes for ARM Octeon TX2 support
authorStefan Roese <[email protected]>
Thu, 23 Jul 2020 12:09:36 +0000 (14:09 +0200)
committerHeiko Schocher <[email protected]>
Tue, 25 Aug 2020 04:21:23 +0000 (06:21 +0200)
commitaf03bde0fa69c5287854b12badafc75b92dc84c3
tree4ff631fd9d420e85d5edb4eb80904628ff8b4cb5
parent1aa3966173fe92fa3c46638ee8eb8b8491f521d6
i2c: octeon_i2c: Misc fixes for ARM Octeon TX2 support

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 <[email protected]>
Cc: Heiko Schocher <[email protected]>
Cc: Daniel Schwierzeck <[email protected]>
Cc: Suneel Garapati <[email protected]>
Cc: Aaron Williams <[email protected]>
Cc: Chandrakala Chavva <[email protected]>
Reviewed-by: Daniel Schwierzeck <[email protected]>
Reviewed-by: Heiko Schocher <[email protected]>
drivers/i2c/octeon_i2c.c
This page took 0.027392 seconds and 4 git commands to generate.