-
Notifications
You must be signed in to change notification settings - Fork 1.7k
drivers: dac: ad3552r : Add README documentation for AD3552R #2535
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
base: main
Are you sure you want to change the base?
Conversation
drivers/dac/ad3552r/README.rst
Outdated
static struct ad3552r_init_param default_ad3552r_param = { | ||
.chip_id = AD3552R_ID, | ||
.spi_param = { | ||
.device_id = SPI_DEVICE_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.
please expand these macros, this SPI_DEVICE_ID or SPI_EXTRA are app defined macros, so give an actual number or real example for it
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.
Hello Darius, we tried looking for the correct values for .chip_id but we cant find it
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.
i would modify the line to something like this:
.device_id = 1, // corresponds to SPI1
drivers/dac/ad3552r/README.rst
Outdated
#include "ad3552r.h" | ||
|
||
static struct ad3552r_init_param default_ad3552r_param = { | ||
.chip_id = AD3552R_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.
same here, put an actual value
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.
Also same concern as above. Cannot find correct values for .chip_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.
pick any one you want from here for the example:
no-OS/drivers/dac/ad3552r/ad3552r.h
Line 163 in 2ab8488
enum ad3552r_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.
please drop the merge commit
4f92295
to
81824b4
Compare
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.
please squash the two commits and rebase with main branch. there are some other strange changes included in this PR.
Signed-off-by: Ramos <[email protected]>
81824b4
to
b91a917
Compare
This was done, kindly check. |
Pull Request Description
This is to add README documentation for AD3552R
PR Type
PR Checklist