-
Notifications
You must be signed in to change notification settings - Fork 6.9k
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
drivers: sdhc: Add MAX32 SDHC driver #83464
base: main
Are you sure you want to change the base?
Conversation
9d6a657
to
d0b3a61
Compare
The following west manifest projects have changed revision in this Pull Request:
✅ All manifest checks OK Note: This message is automatically posted and updated by the Manifest GitHub Action. |
137184f
to
e474287
Compare
* remove this with a better solution in future. | ||
*/ | ||
k_sleep(K_MSEC(1)); | ||
ret = MXC_SDHC_SendCommand(&sd_cmd_cfg); |
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.
Question here- is this function blocking? Or does it use interrupts within the HAL layer?
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.
yes it's blocking. it loops in while() until register is complete/timeout. we'll try to add interrupt functionality in future.
167ff00
to
5281727
Compare
samples/subsys/fs/fs_sample/boards/max32666fthr_max32666_cpu0.overlay
Outdated
Show resolved
Hide resolved
tests/drivers/disk/disk_performance/boards/max32666fthr_max32666_cpu0.overlay
Outdated
Show resolved
Hide resolved
5281727
to
3360ad1
Compare
f8746da
to
f846402
Compare
yes i rebased wrong, should be good now. thanks! :) |
f846402
to
e890027
Compare
96adc08
to
005d7c2
Compare
005d7c2
to
a58c185
Compare
west.yml
Outdated
revision: a9ca7d172152789a02439bbdfb94feb72e30553d | ||
revision: pull/12/head |
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.
zephyrproject-rtos/hal_adi#12 has been merged, so you can update this to the new SHA
Pull in support that adds sdhc header from hal_adi Signed-off-by: Mert Ekren <mert.ekren@analog.com>
Include sdhc0 in MAX32666 devicetree and add devicetree bindings for MAX32 SDHC driver Signed-off-by: Mert Ekren <mert.ekren@analog.com>
This commit adds MAX32666 SDHC driver. Co-Authored-By: Anil Kara <Anil.Kara@analog.com> Co-Authored-By: Tahsin Mutlugun <Tahsin.Mutlugun@analog.com> Signed-off-by: Mert Ekren <mert.ekren@analog.com>
Add SDHC to supported list for MAX32666FTHR Signed-off-by: Mert Ekren <mert.ekren@analog.com>
Add MAX32666fthr for fs_sample testing Signed-off-by: Mert Ekren <mert.ekren@analog.com>
Add MAX32666fthr sdhc to tests/drivers/disk/disk_performance Signed-off-by: Mert Ekren <mert.ekren@analog.com>
a58c185
to
7536b2d
Compare
This PR adds SDHC support for max32666fthr.
Implement SDHC driver for MAX32666fthr
Add sdhc0 instances for MAX32666 .dtsi file
Add SDHC to MAX32666fthr board driver list
tests:
![image](https://private-user-images.githubusercontent.com/29754711/399434646-2ed384b4-3d4c-4c76-8591-32019a80d47c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxMTUwNzgsIm5iZiI6MTczOTExNDc3OCwicGF0aCI6Ii8yOTc1NDcxMS8zOTk0MzQ2NDYtMmVkMzg0YjQtM2Q0Yy00Yzc2LTg1OTEtMzIwMTlhODBkNDdjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA5VDE1MjYxOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWQ5NzVjZGQ1M2FkMDUwYjUzZmY4YmM3YmU5MGFlYTlmZGY1Yjk4Yjg5NDQ5OWE1YTU2NWEwZGFmMGQ1NDBiY2ImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.iZxgDHfjUE287Zddf-C0QIoAZ-HVj7wALMeFxRjry5A)
.\tests\drivers\sdhc
.\samples\subsys\fs\fs_sample\
.\tests\drivers\disk\disk_performance
![image](https://private-user-images.githubusercontent.com/29754711/401412378-3098e85b-2c1c-4269-a3db-703fa02d54f9.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxMTUwNzgsIm5iZiI6MTczOTExNDc3OCwicGF0aCI6Ii8yOTc1NDcxMS80MDE0MTIzNzgtMzA5OGU4NWItMmMxYy00MjY5LWEzZGItNzAzZmEwMmQ1NGY5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA5VDE1MjYxOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTVkODg2MjQyM2UxMzgzMmE2NTc4OTA0MDA3MjE3ZTI2MzZiZWU2OGMzZTkxNWYyZjhmMWQ0NjBlZDcyYmUzYmEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.uipXMNw27jpjnEXMvySJeOaLDCRuTjGjZhhEYNE3U5o)
Dependencies: