-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Iis2iclx sensor: move odr and range into dts #32168
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
Merged
nashif
merged 4 commits into
zephyrproject-rtos:master
from
avisconti:iis2iclx-move-odr-range-into-dts
Feb 15, 2021
Merged
Changes from 1 commit
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
f02e710
dts/bindings: iis2iclx: create a common st,iis2iclx-common.yaml
avisconti 450c61c
drivers/sensor: iis2iclx: Move range Kconfig property into dts
avisconti 85353d0
drivers/sensor: iis2iclx: Move odr Kconfig property into dts
avisconti d144f64
drivers/sensor: iis2iclx: modify int-pin type in DT
avisconti File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| # Copyright (c) 2020 STMicroelectronics | ||
| # SPDX-License-Identifier: Apache-2.0 | ||
|
|
||
| properties: | ||
| drdy-gpios: | ||
| type: phandle-array | ||
| required: false | ||
| description: DRDY pin | ||
|
|
||
| This pin defaults to active high when produced by the sensor. | ||
| The property value should ensure the flags properly describe | ||
| the signal that is presented to the driver. | ||
|
|
||
| int-pin: | ||
| type: int | ||
| required: false | ||
| default: 1 | ||
| description: Device INT pin number (1 or 2) | ||
|
|
||
| This number represents which of the two interrupt pins | ||
| (INT1 or INT2) the line is attached to. This property is not | ||
| mandatory and if not present it defaults to 1. | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's out of the PR's intended scope, and the same problem occurs elsewhere so won't block on this, but:
In another PR please review all uses of similar properties in ST devicetree bindings and make this and the others you'll find an
enumtoo, likest,iis2dlpc'sdrdy-intproperty.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@pabigot
Yes, that's a good point. I'll do it in a separate PR.
Thanks