Skip to content

Conversation

@pabigot
Copy link
Contributor

@pabigot pabigot commented Dec 21, 2019

This PR includes #21558, which should disappear when that PR is merged and the topic branch is rebased. Only the last commit in the series is specific to the new API.

Copy link
Contributor

Choose a reason for hiding this comment

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

I'm not sure which doc changes are going to win since I see doc changes here and in #21558.

@pabigot pabigot added the DNM This PR should not be merged (Do Not Merge) label Dec 23, 2019
@pabigot
Copy link
Contributor Author

pabigot commented Dec 23, 2019

DNM until #21558 is merged to master and the topic branch has been rebased on it.

@zephyrbot
Copy link

zephyrbot commented Jan 3, 2020

All checks are passing now.

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 removed the DNM This PR should not be merged (Do Not Merge) label Jan 16, 2020
@MaureenHelm MaureenHelm requested a review from mnkp January 21, 2020 23:33
@MaureenHelm MaureenHelm dismissed dbkinder’s stale review January 21, 2020 23:34

doc changes no longer part of this PR

Copy link
Member

Choose a reason for hiding this comment

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

int_label as a name is not very meaningful. drivers/sensor/lsm6dso/lsm6dso_trigger.c is using int_gpio_port, other drivers tend to use _name, not _label. Let's use one of the existing conventions. Otherwise, if we prefer to use a new one, let's come up with a better naming scheme.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

There is no consistency, but _name seems to be somewhat more common than others when referring to a specific signal, so I've added this sensor to that group.

Update sample overlays.  Add GPIO flags to configuration state.
Refactor to split out setup/handle/process phases.  Switch to new API
replacing callback dis/enable with interrupt dis/enable.

Signed-off-by: Peter Bigot <[email protected]>
@MaureenHelm MaureenHelm merged commit 60262f4 into zephyrproject-rtos:topic-gpio Jan 23, 2020
@pabigot pabigot deleted the gpio/adt7420 branch January 25, 2020 22:45
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.

5 participants