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

i2c: stm32: dma enhancement #81814

Draft
wants to merge 11 commits into
base: main
Choose a base branch
from

Commits on Nov 26, 2024

  1. i2c: stm32: Add config option to enable DMA support

    Add option to enable DMA support
    
    Signed-off-by: Simon Gilbert <[email protected]>
    sgilbert182 committed Nov 26, 2024
    Configuration menu
    Copy the full SHA
    5ebd513 View commit details
    Browse the repository at this point in the history
  2. i2c: stm32: Add dma settings structs to config and data structs

    Add initial DMA settings structs to stm32 i2c config and data structs
    
    Signed-off-by: Simon Gilbert <[email protected]>
    sgilbert182 committed Nov 26, 2024
    Configuration menu
    Copy the full SHA
    253557b View commit details
    Browse the repository at this point in the history
  3. i2c: stm32: Add macros to get settings from device tree

    Add macrobatics to pull DMA settings from device tree
    
    Signed-off-by: Simon Gilbert <[email protected]>
    sgilbert182 committed Nov 26, 2024
    Configuration menu
    Copy the full SHA
    ee3915e View commit details
    Browse the repository at this point in the history
  4. i2c: stm32: Add dma header files

    Add DMA header files
    
    Signed-off-by: Simon Gilbert <[email protected]>
    sgilbert182 committed Nov 26, 2024
    Configuration menu
    Copy the full SHA
    5b8e89f View commit details
    Browse the repository at this point in the history
  5. i2c: stm32: Add DMA settings to yaml file

    Add DMA options (phandle-array and names) to yaml file
    
    Signed-off-by: Simon Gilbert <[email protected]>
    sgilbert182 committed Nov 26, 2024
    Configuration menu
    Copy the full SHA
    63538cc View commit details
    Browse the repository at this point in the history
  6. i2c: stm32: Minor refactor of i2c_stm32_transfer function

    Tidy up of i2c_stm32_transfer and added TX and RX semaphore inits
    sgilbert182 committed Nov 26, 2024
    Configuration menu
    Copy the full SHA
    ff5602b View commit details
    Browse the repository at this point in the history
  7. i2c: stm32: Added DMA stop for various i2c comms conditions

    Added stop DMA fot transmit complete or other master end conditions
    sgilbert182 committed Nov 26, 2024
    Configuration menu
    Copy the full SHA
    207cf56 View commit details
    Browse the repository at this point in the history
  8. i2c: stm32: Clang format

    Clang format
    
    Signed-off-by: Simon Gilbert <[email protected]>
    sgilbert182 committed Nov 26, 2024
    Configuration menu
    Copy the full SHA
    b394ecb View commit details
    Browse the repository at this point in the history

Commits on Nov 27, 2024

  1. i2c: stm32: Add assert catches in callbacks

    Add assert catches in DMA callbacks
    
    Signed-off-by: Simon Gilbert <[email protected]>
    sgilbert182 committed Nov 27, 2024
    Configuration menu
    Copy the full SHA
    dee3c6e View commit details
    Browse the repository at this point in the history
  2. i2c: stm32: refactor use of DMA device config and settings

    use structs to pass dma device and config settings more easily
    
    Signed-off-by: Simon Gilbert <[email protected]>
    sgilbert182 committed Nov 27, 2024
    Configuration menu
    Copy the full SHA
    9a6a2f5 View commit details
    Browse the repository at this point in the history
  3. i2c: stm32: Clang format

    Second pass at applying Clang Format
    
    Signed-off-by: Simon Gilbert <[email protected]>
    sgilbert182 committed Nov 27, 2024
    Configuration menu
    Copy the full SHA
    8c030ea View commit details
    Browse the repository at this point in the history