bsp/aarch64/raspberrypi: Add I2C Support

- Implements polling-based I2C communication.
- Supports three independent I2C master controllers.
- Adds support for 10-bit addressing mode.
This commit is contained in:
ShaunakKDatar
2025-01-21 23:52:53 +05:30
committed by Shaunak Datar
parent b00a9d9993
commit fb1d9c8aca
5 changed files with 495 additions and 4 deletions

View File

@@ -67,6 +67,8 @@ links:
uid: objwatchdog
- role: build-dependency
uid: objpwm
- role: build-dependency
uid: obji2c
source:
- bsps/aarch64/raspberrypi/fdt/bsp_fdt.c
- bsps/aarch64/raspberrypi/fdt/rpi4b_dtb.c

View File

@@ -0,0 +1,17 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
build-type: objects
cflags: []
copyrights:
- Copyright (C) 2025 Shaunak Datar
cppflags: []
cxxflags: []
enabled-by: true
includes: []
install:
- destination: ${BSP_INCLUDEDIR}/bsp
source:
- bsps/aarch64/raspberrypi/include/bsp/raspberrypi-i2c.h
links: []
source:
- bsps/aarch64/raspberrypi/i2c/raspberrypi-i2c.c
type: build