Skip to content

Conversation

@soburi
Copy link
Member

@soburi soburi commented Jan 9, 2023

Support for the measuring the CPU die temperature
for the RaspberryPi Pico.

Signed-off-by: TOKITA Hiroshi [email protected]

@zephyrbot zephyrbot added area: Sensors Sensors area: Devicetree Binding PR modifies or adds a Device Tree binding labels Jan 9, 2023
@zephyrbot zephyrbot requested review from avisconti and teburd January 9, 2023 03:40
@soburi soburi added the platform: Raspberry Pi Pico Raspberry Pi Pico (RPi Pico) label Jan 9, 2023
Copy link
Contributor

@yonsch yonsch left a comment

Choose a reason for hiding this comment

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

Thanks, left a few comments

Comment on lines 7 to 9
Copy link
Member

Choose a reason for hiding this comment

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

Is there a reason you implemented this as an overlay instead of doing it in the board dts?

Copy link
Member Author

Choose a reason for hiding this comment

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

aliase clause move to rp2040.dts.
Still default disabled the die-temp node.
So keeping remain the overlay for enabling it.

Copy link
Member

Choose a reason for hiding this comment

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

You already have a dependency on the dts compatible, so I think you can remove the redundant dependency on the SOC_SERIES

Copy link
Member Author

Choose a reason for hiding this comment

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

It make a sense.
Removed SOC_SERIES_RP2XXX.

Copy link
Member

Choose a reason for hiding this comment

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

Please justify the default value in the description

Copy link
Member Author

Choose a reason for hiding this comment

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

Add short description for clarify it is a spec.

Copy link
Member

Choose a reason for hiding this comment

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

Please justify the default value in the description

Copy link
Member Author

Choose a reason for hiding this comment

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

Add short description for clarify it is a spec.

yonsch
yonsch previously approved these changes Jan 11, 2023
yonsch
yonsch previously approved these changes Jan 12, 2023
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.

Can you please rename the dts alias and sample to be consistent with the sensor channel name? i.e., die temp instead of cpu temp

Support for the measuring the CPU die temperature
for the RaspberryPi Pico.

Signed-off-by: TOKITA Hiroshi <[email protected]>
@soburi
Copy link
Member Author

soburi commented Jan 12, 2023

@MaureenHelm

Can you please rename the dts alias and sample to be consistent with the sensor channel name? i.e., die temp instead of cpu temp

Renamed to die-temp[n].

yonsch
yonsch previously approved these changes Jan 13, 2023
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.

Can you please rename the dts alias and sample to be consistent with the sensor channel name? i.e., die temp instead of cpu temp

Renamed to die-temp[n].

The sample filenames need to be renamed too

Add a polling sample for CPU temperature monitor.
This sample demonstrates how to data fetch and print to the console.

Signed-off-by: TOKITA Hiroshi <[email protected]>
@soburi
Copy link
Member Author

soburi commented Jan 14, 2023

@MaureenHelm

The sample filenames need to be renamed too
Fix done.

@soburi soburi requested a review from MaureenHelm January 14, 2023 15:53
@MaureenHelm MaureenHelm merged commit b70d399 into zephyrproject-rtos:main Jan 19, 2023
@soburi soburi deleted the pico_cpu_temp branch January 19, 2023 22:32
soburi added a commit to soburi/zephyr that referenced this pull request Aug 2, 2023
Add myself as codeowner of previously committed driver.

- zephyrproject-rtos#53591

Signed-off-by: TOKITA Hiroshi <[email protected]>
fabiobaltieri pushed a commit that referenced this pull request Aug 3, 2023
Add myself as codeowner of previously committed driver.

- #53591

Signed-off-by: TOKITA Hiroshi <[email protected]>
kunoh pushed a commit to kunoh/zephyr that referenced this pull request Aug 7, 2023
Add myself as codeowner of previously committed driver.

- zephyrproject-rtos#53591

Signed-off-by: TOKITA Hiroshi <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: Devicetree Binding PR modifies or adds a Device Tree binding area: Sensors Sensors platform: Raspberry Pi Pico Raspberry Pi Pico (RPi Pico)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants