Skip to main content

Section outline

    • Introduction to I2C Protocol and Registers
    • Writing a framework-independent I2C controller driver.
    • Exercises:
      • Write an I2C controller driver.
      • Send multiple bytes on the I2C bus.
      • Read and write to an I2C EEPROM.
    • Linux Device Model Overview:

      • Device Model Goals and Platform Drivers.
      • Transition from Platform Devices to DTB.
    • Linux I2C Framework Components:

      • Adapter, Client, Algorithm interaction.
      • Adapter and Client Registration Process.
    • Exercises:

      • Write a platform driver and device.
      • Integrate a low-level driver with the I2C framework.
      • Register a dummy adapter and client driver.
      • Add device tree nodes for I2C devices.
    • Introduction to SPI Protocol and Registers.
    • Character Driver Framework for SPI Drivers.
    • AM335x SPI Registers and Data Flow.
    • Exercises:
      • Write a low-level SPI driver.
      • Develop a loopback SPI driver.
      • Integrate Device Tree Binary (DTB) for SPI drivers.
    • Linux SPI Framework Overview:
      • Master and Client Driver Registration.
      • SPI Probing Mechanisms.
    • Integrating Platform Drivers with SPI Framework.
    • Exercises:
      • Write a dummy SPI client and master driver.
      • Integrate the driver using the Device Tree Blob (DTB).
      • Test and debug the SPI driver.