From 1625ddcfb4cfbb490542dd895d8582d674675d85 Mon Sep 17 00:00:00 2001 From: CoolStar Date: Sun, 29 Oct 2023 15:22:32 -0700 Subject: [PATCH] Add i2c driver --- .gitmodules | 3 +++ README.md | 2 +- drivers/i2c | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 .gitmodules create mode 160000 drivers/i2c diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..78aa037 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "drivers/i2c"] + path = drivers/i2c + url = https://github.com/coolstar/rk3xi2c diff --git a/README.md b/README.md index 8eb12c8..e2056b3 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ This repository contains drivers for RK35xx-based platforms, with a focus on RK3 |GMAC Ethernet||🔴 Not working|| |UART||🔴 Not working|No OS driver but debugging does work on UART2, being configured by UEFI.| |GPIO||🔴 Not working|| -|I2C||🔴 Not working|| +|I2C|[rk3xi2c](https://github.com/coolstar/rk3xi2c)|🟢 Working|| |I2S||🔴 Not working|| |SPI||🔴 Not working|| |CAN bus||🔴 Not working|| diff --git a/drivers/i2c b/drivers/i2c new file mode 160000 index 0000000..992d536 --- /dev/null +++ b/drivers/i2c @@ -0,0 +1 @@ +Subproject commit 992d53671faa167e853ab00f80876fa58beba70c