-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Wip/bl/ad35xxr qspi axi #2407
base: main
Are you sure you want to change the base?
Wip/bl/ad35xxr qspi axi #2407
Conversation
Add support for ad354xr using last updated HDL. Signed-off-by: Angelo Dureghello <[email protected]>
Fix default drive strength. Signed-off-by: Angelo Dureghello <[email protected]>
Add support to change axi IO mode between simple SPI, DUAL or QUAD. Signed-off-by: Angelo Dureghello <[email protected]>
Add high speed support for ad354xr using last updated HDL: commit a62f97280e52f923f7a3ec1bae4f799be8420a6d Author: caosjr <[email protected]> Signed-off-by: Angelo Dureghello <[email protected]>
Cleanup reset error flag, so that the error status is clean and ready for new errors. Signed-off-by: Angelo Dureghello <[email protected]>
Setting instruction mode for initial configuration operartions, as suggested as safer from HDL team. Streaming mode is actually enabled only for DMA data streaming. Signed-off-by: Angelo Dureghello <[email protected]>
eaf675f
to
2fe3c99
Compare
Hi all, |
Hi, not related to your modifications. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
minor comments, otherwise looks good.
@@ -1417,6 +1442,12 @@ int32_t ad3552r_init(struct ad3552r_desc **desc, | |||
} | |||
ldesc->chip_id = param->chip_id; | |||
ldesc->is_simultaneous = param->is_simultaneous; | |||
if (ldesc->chip_id == AD3542R_ID || ldesc->chip_id == AD3541R_ID) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: drop brackets if only one expression is guarded.
Also you swap to a switch case statement. It's easier to extend if new chips are added.
ret = ad3552r_write_reg(desc, AD3552R_REG_ADDR_STREAM_MODE, loop_len); | ||
if (ret) | ||
return ret; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
drop extra line.
Pull Request Description
Add support for ad354xr in high-speed mode using last HDL provided from Carlos:
commit a62f97280e52f923f7a3ec1bae4f799be8420a6d
Author: caosjr [email protected]
PR Type
PR Checklist