
Hi, this is the second version of my fixes for Turris Omnia. I removed the patches which were already applied or provided a better fix. The other patches I shall describe now here as if this was the first version.
1. removes redundant code done by I2C mvtwsi driver from board file 2. adds XHCI support to defconfig 3. in compliance with driver model use AHCI, SATA and SCSI 4. remove legacy macros from config header 5. move I2C dependencies from header file to Kconfig for TARGET_TURRIS_OMNIA 6. add SCSI as boot target 7. board code refactoring 8. fix checkpatch warnings 9. add ATSHA204A dependency to Kconfig for TARGET_TURRIS_OMNIA 10. more board code refactoring 11. print board information in the same way Turris Mox does 12. remove watchdog header include (in Turris Mox board file as well) 13. fix setting of the regdomain environment variable used on Omnia 14. add code for handling the button on the back side of Omnia, the purpose of which is factory reset 15. fix I2C driver, which sometimes breaks the I2C controller until the device is powered off
Marek
Marek Behún (15): arm: mvebu: turris_omnia: remove redundant code arm: mvebu: turris_omnia: add XHCI to defconfig arm: mvebu: turris_omnia: use AHCI and SATA driver model arm: mvebu: turris_omnia: remove legacy macros from board header arm: mvebu: turris_omnia: move I2C dependencies to Kconfig arm: mvebu: turris_omnia: add SCSI as boot target arm: mvebu: turris_omnia: refactor I2C accessing code arm: mvebu: turris_omnia: fix checkpatch warnings arm: mvebu: turris_omnia: move ATSHA204A from defconfig to Kconfig arm: mvebu: turris_omnia: refactor more code arm: mvebu: turris_omnia: print board info as Turris Mox arm: mvebu: turris_*: remove watchdog include arm: mvebu: turris_omnia: fix regdomain env var setting arm: mvebu: turris_omnia: add RESET button handling i2c: mvtwsi: fix reading status register after interrupt
arch/arm/mach-mvebu/Kconfig | 49 ++++ board/CZ.NIC/turris_mox/turris_mox.c | 4 - board/CZ.NIC/turris_omnia/turris_omnia.c | 333 ++++++++++++----------- configs/turris_omnia_defconfig | 10 +- drivers/i2c/mvtwsi.c | 1 + include/configs/turris_omnia.h | 32 +-- 6 files changed, 236 insertions(+), 193 deletions(-)