Skip to content
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

Add mcxa156 i3c support #83012

Merged
merged 4 commits into from
Mar 25, 2025

Conversation

NeilChen93
Copy link
Collaborator

Add mcxa156 i3c support

@@ -10,6 +10,7 @@ tests:
- robokit1 # ntc_thermistor
- adi_eval_adin1110ebz # adt7420
- frdm_mcxn947/mcxn947/cpu0 # p3t1755
- frdm_mcxa156 # p3t1755
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Drop. There is no need to add to CI load as this will not be testing anything that isn't already tested elsewhere (i3c driver tests, sensor driver test, or even the line just above--even if it should likely also go away)
https://docs.zephyrproject.org/latest/samples/sample_definition_and_criteria.html#twister-should-be-able-to-build-every-sample

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This shouldn't be defined in an overlay if it's an on-board sensor. Move to board dts

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks reminder, Updated.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @kartben , after move this to board dts, CI compilation report error, samples/sensor/thermometer build fail. This example also use aliases ambient-temp0, but frdm_mcxa156 don't support it. So cancel this update.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't quite understand. It sounds like that might have been a legitimate build failure. Can you post a link to the CI run or paste the console output from a failed build?

Copy link
Member

@ubieda ubieda Dec 30, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looked over this PR and I agree this should be moved to the board. The rest of the patches look good to me.
image

@NeilChen93 NeilChen93 force-pushed the add_mcxa156_i3c_support branch from 4fd84e1 to 45d23c9 Compare December 16, 2024 06:02
@NeilChen93 NeilChen93 requested a review from kartben December 16, 2024 09:07
Copy link
Member

@MaureenHelm MaureenHelm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code changes look ok, but need to address the CI failures.

@NeilChen93 NeilChen93 force-pushed the add_mcxa156_i3c_support branch from 45d23c9 to bf858a7 Compare December 18, 2024 02:24
@NeilChen93 NeilChen93 force-pushed the add_mcxa156_i3c_support branch 2 times, most recently from 8a1c0c2 to 97c0d1e Compare January 8, 2025 03:37
@NeilChen93 NeilChen93 force-pushed the add_mcxa156_i3c_support branch from 97c0d1e to ff9c502 Compare January 22, 2025 07:20
Add mcxa156 i3c clock support

Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
Add i3c nodes to NXP MCXA156 dtsi file

Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
Support i3c for NXP frdm_mcxa156 board.
Test it using samples/sensor/thermometer.

Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
@NeilChen93 NeilChen93 force-pushed the add_mcxa156_i3c_support branch from ff9c502 to b304c89 Compare February 17, 2025 08:43
Add config TEST_RANDOM_GENERATOR to support function sys_rand_get

Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
@kartben kartben added this to the v4.2.0 milestone Feb 18, 2025
@kartben kartben merged commit 41d5eed into zephyrproject-rtos:main Mar 25, 2025
22 checks passed
@@ -10,3 +10,4 @@ CONFIG_SERIAL=y
CONFIG_UART_INTERRUPT_DRIVEN=y
CONFIG_GPIO=y
CONFIG_LPADC_DO_OFFSET_CALIBRATION=y
CONFIG_TEST_RANDOM_GENERATOR=y
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should not be enabled for real hardware by default. How come this was added?

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

Successfully merging this pull request may close these issues.

7 participants