Skip to content

fix(ast10x0-spim): correct control bits and mux polarity#336

Draft
pojuiatwork3881154 wants to merge 1 commit into
mainfrom
fix/ast10x0-spim
Draft

fix(ast10x0-spim): correct control bits and mux polarity#336
pojuiatwork3881154 wants to merge 1 commit into
mainfrom
fix/ast10x0-spim

Conversation

@pojuiatwork3881154

Copy link
Copy Markdown
Collaborator

Correct SPI-monitor driver defects on the AST1060 flash-routing path.

  • Fix SPIPF000 control bits: enable [0]->[2], passthrough [1]->[0].
  • Fix inverted RoT/host mux polarity in the board monitor (Cypress).
  • Mux the MISO pin on enable/disable; add sw_reset (sweng_rst).
  • Replace the guessed filter encoding with confirmed SPIPFWA (addr_priv) and SPIPFWT (cmd_table) tables.
  • Add set_spim_scu_monitor_enable and spim_disable_cs_internal_pd.

Correct SPI-monitor driver defects on the AST1060 flash-routing path.

- Fix SPIPF000 control bits: enable [0]->[2], passthrough [1]->[0].
- Fix inverted RoT/host mux polarity in the board monitor (Cypress).
- Mux the MISO pin on enable/disable; add sw_reset (sweng_rst).
- Replace the guessed filter encoding with confirmed SPIPFWA
  (addr_priv) and SPIPFWT (cmd_table) tables.
- Add set_spim_scu_monitor_enable and spim_disable_cs_internal_pd.

Signed-off-by: PojuiLiu <pojui_liu@jabil.com>
@linux-foundation-easycla

Copy link
Copy Markdown

CLA Not Signed

@yvettewu1

yvettewu1 commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

There has been a review pending , which has more spim changes, your changes might need to base on the new code: #306, these changes have been tested on AST1060 PRoT board. please see
https://github.com/OpenPRoT/openprot/tree/spim-test/target/ast10x0/tests/spimonitor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants