Skip to content

Commit

Permalink
Added iic support for MT7620, MT7621, MT76[2|8]8, RT5350
Browse files Browse the repository at this point in the history
When scanning slave devices with the MTK_IIC v1 driver, not all slave devices are found. Example BME680. Support up to 64 read sequential bytes. Max  sequential byte write is depends device addressing width. It support together address and data up to 64 bytes sequential. Example: 2 bytes address + 62 data bytes.

Tested with WyBox-7620(MT7620) and RT5350F-OLINUXINO-EVB(RT5350F) with lm75 and AT24C1

MTK_IIC v2 driver is tested with U7621(MT7621), BOJINGnet(MT7688) and lm75 and AT24C12
8 EEPROM.
  • Loading branch information
priittrees committed May 18, 2021
1 parent b6be956 commit 16c366c
Show file tree
Hide file tree
Showing 5 changed files with 1,004 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sys/mips/mediatek/files.mediatek
Expand Up @@ -22,6 +22,8 @@ mips/mediatek/mtk_pcie.c optional pci
mips/mediatek/mtk_gpio_v1.c optional gpio mtk_gpio_v1
mips/mediatek/mtk_gpio_v2.c optional gpio mtk_gpio_v2
#mips/mediatek/mtk_mmc.c optional mmc
mips/mediatek/mtk_iic_v1.c optional gpio mtk_iic_v1
mips/mediatek/mtk_iic_v2.c optional gpio mtk_iic_v2

# Ralink/Mediatek Ethernet driver
dev/rt/if_rt.c optional rt
Expand Down

0 comments on commit 16c366c

Please sign in to comment.