Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Commit the i2c driver and its test case #118

Merged
merged 3 commits into from
Jul 2, 2024

Conversation

warp5tw
Copy link
Collaborator

@warp5tw warp5tw commented Jul 2, 2024

No description provided.

Signed-off-by: Tyrone Ting <[email protected]>
The NPCM SMB modules provides full support for a two-wire SMBus/I2C
synchronous serial interface. Each SMBus/I2C interface is a two-wire
serial interface that is compatible with both Intel SMBus and Philips
I2C physical layer. There are 12 SMBus modules and 15 buses in NPCM4
series.

In NPCM4 series, the SMB1, SMB4 and SMB6 modules contain a two-way
switch to support two separate SMBus/I2C buses (ports) with one SMB
module (controller). Please refer Section 4.7.1 in the datasheet.

All of modules have separate 32-byte transmit FIFO and 32-byte receive
FIFO buffers. These FIFO buffers reduce firmware overhead during long
SMBus transactions by allowing the Core to write or read more than one
data byte at a time to/from the SMB module.

The CL includes:
— Add npcm i2c device tree declarations.
— Zephyr i2c api implementation.

Signed-off-by: Tyrone Ting <[email protected]>
Adds necessary overlay npcm400f_evb in i2c_target_api test case
to enables the board

Signed-off-by: Tyrone Ting <[email protected]>
@maxdog988 maxdog988 merged commit b2f5d65 into Nuvoton-Israel:npcm-main Jul 2, 2024
7 of 8 checks passed
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.

2 participants