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

Adds read-only property for the I2C EEPROM Target #75777

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Commits on Nov 14, 2024

  1. i2c: target: eeprom_target: add read-only property

    In case the EEPROM data stored in the buffer shall be not writable from the
    I2C interface, the read-only property can now be set in the device tree.
    
    Signed-off-by: Manuel Aebischer <[email protected]>
    Manuel Aebischer committed Nov 14, 2024
    Configuration menu
    Copy the full SHA
    c172b4b View commit details
    Browse the repository at this point in the history
  2. tests: i2c: i2c_target_api: Add test for read-only eeprom target

    This additional test case verifies that an i2c_eeprom_target, which is
    set as read-only in the device tree cannot be written from the I2C bus.
    
    Signed-off-by: Manuel Aebischer <[email protected]>
    Manuel Aebischer committed Nov 14, 2024
    Configuration menu
    Copy the full SHA
    800ce8d View commit details
    Browse the repository at this point in the history