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

support i3c auto hot-join and fix wrong gpio setting #134

Merged
merged 5 commits into from
Sep 20, 2024

Commits on Sep 18, 2024

  1. drivers: i3c: add npcm4xx i3c reset function

    add npcm4xx i3c reset function.
    
    Signed-off-by: James Chiang <[email protected]>
    James Chiang committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    233cc72 View commit details
    Browse the repository at this point in the history
  2. drivers: i3c: enhance i3c hot-join request flow

    enhance i3c hot-join request flow.
    
    i3c hw fail to generate hot-join event when bus is not in the idle
    status, and the fail would lead hw into stuck state.
    
    (1) check dynamic address present or not before generate hot-join
        event.
    (2) check entdaa progress before generate hot-join event.
    (3) after wait util bus idle, check dynamic address present or not.
    (4) remove disable slave mode since hot-join event could generate
        even if slave mode enabled.
    (5) if ctrl keep hot-join event for a while, check dynamic address
        present or not.
    (6) reset i3c controller after timeout and retry generate hot-join
        event.
    
    Signed-off-by: James Chiang <[email protected]>
    James Chiang committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    10cb75e View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2024

  1. drivers: i3c: support auto hot-join request

    support auto hot-join request.
    
    use software to simulate auto hot-join flow.
    
    (1) system power up, monitor bus status in interrupt, and generate
    hot-join event when received stop message.
    
    (2) watchdog or software reset, generate hot-join event immediately.
    
    Signed-off-by: James Chiang <[email protected]>
    James Chiang committed Sep 19, 2024
    Configuration menu
    Copy the full SHA
    62034d9 View commit details
    Browse the repository at this point in the history
  2. drivers: i3c: npcm4xx: add error handling when master read timeout

    add error handling when master read timeout.
    
    Signed-off-by: James Chiang <[email protected]>
    James Chiang committed Sep 19, 2024
    Configuration menu
    Copy the full SHA
    4ab8d44 View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2024

  1. drivers: gpio: npcm4xx: fix wrong setting when setup gpio open drain …

    …mode
    
    fix wrong setting when setup gpio open drain mode.
    
    only output open drain mode with pull-up setting need enable DEVALTCX bit.
    
    Signed-off-by: James Chiang <[email protected]>
    James Chiang committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    7682c10 View commit details
    Browse the repository at this point in the history