-
Notifications
You must be signed in to change notification settings - Fork 7.1k
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: dac: Add support DAC for Renesas RA4 #86695
drivers: dac: Add support DAC for Renesas RA4 #86695
Conversation
38c32ee
to
67a3487
Compare
67a3487
to
c52a99e
Compare
Apologies for the multiple force pushes to correct the PR. It's now ready for review. |
.buffered = true | ||
.channel_id = DAC_CHANNEL_ID, | ||
.resolution = DAC_RESOLUTION, | ||
#if defined(CONFIG_BOARD_EK_RA4L1) || defined(CONFIG_BOARD_EK_RA4M1) || \ |
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 think this situation may occur on other boards as well.
It seems better to add config to Kconfig.
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.
Thank for your suggestion, I have updated it
defined(CONFIG_BOARD_EK_RA4W1) | ||
.buffered = false, | ||
#else | ||
.buffered = true, |
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.
ditto
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.
Thank you, I have updated it
95c58f8
to
da1d271
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.
LGTM
Update Renesas DAC driver to support DAC for RA4 Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
Add support DAC for Renesas ra4-cm4 (RA4M1, RA4W1), RA4E1, RA4L1 Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
Add support DAC for Renesas ek_ra4m1, ek_ra4w1, fpb_ra4e1, voice_ra4e1, ek_ra4l1 Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
Add support test app dac_api, dac_loopback for Renesas ek_ra4l1, ek_ra4w1, ek_ra4m1 Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
Add support DAC for ek_ra4m1, ek_ra4w1, fpb_ra4e1, voice_ra4e1, ek_ra4l1 Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
da1d271
to
3173273
Compare
rebase to solve the conflicts |
hi @martinjaeger, can you please take a look at this PR? |
@@ -10,16 +10,24 @@ include: [base.yaml] | |||
properties: | |||
has-internal-output: | |||
type: boolean | |||
description: True if the SoC supports the internal output feature in the DAC HWIP | |||
description: | | |||
True if the SoC supports the "internal output" feature in the DAC HWIP. |
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: using "True..." terminology is a bit ackward given this can't really be false.
True if the SoC supports the "internal output" feature in the DAC HWIP. | |
Set if the SoC supports the "internal output" feature in the DAC HWIP. |
ditto for others
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.
Thank you, I will update this in future DAC PR
Add support DAC for Renesas:
ek_ra4m1
ek_ra4w1
ek_ra4l1
fpb_ra4e1
voice_ra4e1
This PR need boards: renesas: Modify the default pinsel for adc0 on ek_ra4l1 #86602 to be merged first