Skip to content

Conversation

@pabigot
Copy link
Contributor

@pabigot pabigot commented Oct 15, 2019

Correct DRDY active level to default active-high, switch to new interrupt configuration.

Tested on nrf52_pca20020 (Thingy:52) and (after much pain unrelated to this change) frdm_k64f with the x_nucleo_iks01a2 shield.

NOTE: This PR also contains #19862 and #19870 on which it depends.

@zephyrbot
Copy link

zephyrbot commented Oct 15, 2019

All checks passed.

Tip: The bot edits this comment instead of posting a new one, so you can check the comment's history to see earlier messages.

@pabigot pabigot force-pushed the gpio/hts221 branch 3 times, most recently from 40747f1 to f2c572a Compare October 15, 2019 17:48
@pabigot
Copy link
Contributor Author

pabigot commented Oct 16, 2019

@mnkp Updated to use the device-tree specified active level.

As a best practice I'm also documenting in the device yaml file what the sensor-provided active level is, as deviations from that must be handled properly. Note that two existing boards specified the wrong active level in their devicetree nodes.

@pabigot pabigot requested a review from nashif as a code owner October 16, 2019 17:52
@zephyrbot zephyrbot added the area: Tests Issues related to a particular existing or missing test label Oct 16, 2019
@mnkp
Copy link
Member

mnkp commented Oct 17, 2019

Maybe we should add DNM label to make sure this PR will not get merged before #19862 and #19870?

@pabigot pabigot added the DNM This PR should not be merged (Do Not Merge) label Oct 17, 2019
Correct DRDY active level to default active-high, switch to new
interrupt configuration.

Also fix a common bug where an already-active DRDY signal is not
properly handled.

Signed-off-by: Peter Bigot <[email protected]>
@galak galak merged commit 37da54e into zephyrproject-rtos:topic-gpio Oct 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: Boards area: Devicetree area: Sensors Sensors area: Tests Issues related to a particular existing or missing test DNM This PR should not be merged (Do Not Merge)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants