Skip to content

Add rt700 i3c support on cm33_cpu1 core #86833

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

lucien-nxp
Copy link
Contributor

Add support for p3t1755 temperature sensor on RT700 cm33_cpu1 core

Comment on lines 9 to 27
/ {
aliases {
ambient-temp0 = &p3t1755;
};
};

&i3c3 {
status = "okay";

i2c-scl-hz = <DT_FREQ_K(400)>;
i3c-scl-hz = <DT_FREQ_M(4)>;
i3c-od-scl-hz = <DT_FREQ_K(1500)>;

p3t1755: p3t1755@4800000236152a0090 {
compatible = "nxp,p3t1755";
reg = <0x48 0x0236 0x152a0090>;
status = "okay";
};
};
Copy link
Member

Choose a reason for hiding this comment

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

No need for an overlay, this can go in the board's dts

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Move content from .overlay to board's dts. Thank you

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ambient-temp0 still need to be defined in .overlay. Otherwise secure_mqtt_sensor_actuator will be included into CI because the filter condition is "ambient-temp0".
tests: sample.net.secure_mqtt_sensor_actuator: harness: net tags: - net - mqtt - sensors filter: dt_alias_exists("ambient-temp0") integration_platforms: - adi_eval_adin1110ebz

Copy link
Member

Choose a reason for hiding this comment

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

Otherwise secure_mqtt_sensor_actuator will be included into CI because the filter condition is "ambient-temp0".

Why is this a problem?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

At first, I moved all overlay related content into the board level, but CI could not compile successfully on "secure_mqtt_sensor_actuator" case because this case was not supported now, but this case filter only whether there was any ambient_temp0 enabled.
image

@lucien-nxp lucien-nxp force-pushed the add_rt700_i3c_support branch 2 times, most recently from 57b3dd1 to 96e894c Compare March 11, 2025 14:05
@lucien-nxp lucien-nxp closed this Mar 25, 2025
@lucien-nxp lucien-nxp force-pushed the add_rt700_i3c_support branch from 96e894c to 3d9ac79 Compare March 25, 2025 06:15
@lucien-nxp lucien-nxp reopened this Mar 25, 2025
@lucien-nxp lucien-nxp force-pushed the add_rt700_i3c_support branch from f5b8edc to dd30fc4 Compare April 14, 2025 05:59
@lucien-nxp
Copy link
Contributor Author

Blocked by #88305, waiting for merge.

add i3c2/3 instances for cm33_cpu1

Signed-off-by: Lucien Zhao <[email protected]>
Add support for p3t1755 temperature sensor on RT700 cm33_cpu1 core

Signed-off-by: Lucien Zhao <[email protected]>
@lucien-nxp lucien-nxp force-pushed the add_rt700_i3c_support branch from dd30fc4 to bcef22f Compare April 30, 2025 07:03
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.

3 participants