Skip to content

subsys: Add i2c transport#95

Open
Ayush1325 wants to merge 3 commits intobeagleboard:mainfrom
Ayush1325:i2c-transport
Open

subsys: Add i2c transport#95
Ayush1325 wants to merge 3 commits intobeagleboard:mainfrom
Ayush1325:i2c-transport

Conversation

@Ayush1325
Copy link
Member

The greybus node acts as a slave i2c device with an address selected by Kconfig variable. The goal is to be able to chain multiple greybus nodes over I2C.

Since I2C slave cannot initiate messages to the host, cannot be used with protocols that require the node to initiate messages. Maybe we can use a GPIO to signal to host, but that would not work over grove connector.

@Ayush1325 Ayush1325 force-pushed the i2c-transport branch 2 times, most recently from 7a4c5f0 to eee4eb5 Compare February 25, 2026 03:27
Ayush1325 added a commit to Ayush1325/zephyr that referenced this pull request Mar 5, 2026
- Add support for Zephyr I2C target API, which allows device to act as
  I2C slave device.
- Tested using greybus-i2c transport [0].

[0]: beagleboard/greybus-zephyr#95

Signed-off-by: Ayush Singh <ayush@beagleboard.org>
The greybus node acts as a slave i2c device with an address selected by
Kconfig variable. The goal is to be able to chain multiple greybus nodes
over I2C.

Since I2C slave cannot initiate messages to the host, cannot be used
with protocols that require the node to initiate messages. Maybe we can
use a GPIO to signal to host, but that would not work over grove
connector.

Signed-off-by: Ayush Singh <ayush@beagleboard.org>
- Fits well enough in greybus lights protocol

Signed-off-by: Ayush Singh <ayush@beagleboard.org>
Ayush1325 added a commit to Ayush1325/zephyr that referenced this pull request Mar 9, 2026
- Add support for Zephyr I2C target API, which allows device to act as
  I2C slave device.
- Tested using greybus-i2c transport [0].

[0]: beagleboard/greybus-zephyr#95

Signed-off-by: Ayush Singh <ayush@beagleboard.org>
Ayush1325 added a commit to Ayush1325/zephyr that referenced this pull request Mar 9, 2026
- Add support for Zephyr I2C target API, which allows device to act as
  I2C slave device.
- Tested using greybus-i2c transport [0].

[0]: beagleboard/greybus-zephyr#95

Signed-off-by: Ayush Singh <ayush@beagleboard.org>
Ayush1325 added a commit to Ayush1325/zephyr that referenced this pull request Mar 9, 2026
- Add support for Zephyr I2C target API, which allows device to act as
  I2C slave device.
- Tested using greybus-i2c transport [0].

[0]: beagleboard/greybus-zephyr#95

Signed-off-by: Ayush Singh <ayush@beagleboard.org>
- Each color get's it's own channel.

Signed-off-by: Ayush Singh <ayush@beagleboard.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant