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

Enable CAN peripheral on STM32G0 #34963

Closed
wants to merge 7 commits into from

Commits on Jun 19, 2021

  1. drivers: shared_irq: add devicetree helper macros

    This commit adds helper macros to reduce boilerplate code in drivers
    that (conditionally) use the shared irq driver.
    
    Signed-off-by: Thomas Stranger <thomas.stranger@outlook.com>
    str4t0m committed Jun 19, 2021
    Configuration menu
    Copy the full SHA
    2b67405 View commit details
    Browse the repository at this point in the history
  2. drivers: intc: shared_irq: CONFIG_SHARED_IRQ for any enabled compatible

    This commit enables SHARED_IRQ config option per default if any
    shared_irq node is enabled.
    
    Signed-off-by: Thomas Stranger <thomas.stranger@outlook.com>
    str4t0m committed Jun 19, 2021
    Configuration menu
    Copy the full SHA
    566df20 View commit details
    Browse the repository at this point in the history
  3. drivers/can: add shared_irq support to can_stm32fd driver

    This commit adds shared_irq support to can_stm32fd driver, such that
    two can instances can be used on stm32g0.
    
    Additinally to the necessary code changes, bindings are added to
    st,stm32-fdacn.yaml,
    and the SHARED_IRQ is automatically enabled in KConfig if the can
    devices define a shared-irqs phandle-array.
    
    Signed-off-by: Thomas Stranger <thomas.stranger@outlook.com>
    str4t0m committed Jun 19, 2021
    Configuration menu
    Copy the full SHA
    c2f31b2 View commit details
    Browse the repository at this point in the history
  4. dts: arm: stm32g0: add shared_irq nodes for irq 21 and 22

    The shared-irq nodes are necessary to use the shared irq-driver
    This commit adds the necessary nodes for can1, can2, tim16, and tim17.
    
    Signed-off-by: Thomas Stranger <thomas.stranger@outlook.com>
    str4t0m committed Jun 19, 2021
    Configuration menu
    Copy the full SHA
    583cbd1 View commit details
    Browse the repository at this point in the history
  5. dts: arm: stm32g0: add can bindings for stm32g0b1 soc

    In stm32g0 series only stm32g0b1 and stm32g0c1 socs support can.
    This commit adds the CAN nodes to the stm32g0b1 soc.
    
    Signed-off-by: Thomas Stranger <thomas.stranger@outlook.com>
    str4t0m committed Jun 19, 2021
    Configuration menu
    Copy the full SHA
    0841be5 View commit details
    Browse the repository at this point in the history
  6. board: nucleo_g0b1re: add CAN support

    This commit adds CAN support to the nucleo_g0b1re board.
    
    Signed-off-by: Thomas Stranger <thomas.stranger@outlook.com>
    str4t0m committed Jun 19, 2021
    Configuration menu
    Copy the full SHA
    94b215e View commit details
    Browse the repository at this point in the history
  7. dnm: additional dts definitions for draft evaluation.

    This commit should be removed once the pr is not in draft status
    anymore.
    It adds some additionl definitions which are not intended to be merged.
    Those definitions enable 2 can instances and the shared irq driver
    on the nucleo_g0b1re board.
    
    Signed-off-by: Thomas Stranger <thomas.stranger@outlook.com>
    str4t0m committed Jun 19, 2021
    Configuration menu
    Copy the full SHA
    ececbf8 View commit details
    Browse the repository at this point in the history