Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add QDEC binding and entry in Nordic SoC DTSI files. This closes issue #9364 Jira:DESK-259 Signed-off-by: Pawel Dunaj <pawel.dunaj@nordicsemi.no>
- Loading branch information
1 parent
cb01d09
commit ecae736
Showing
8 changed files
with
142 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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 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 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 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 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 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,73 @@ | ||
# | ||
# Copyright (c) 2018, Nordic Semiconductor ASA | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
# | ||
--- | ||
title: Nordic nRF Family QDEC node | ||
version: 0.1 | ||
|
||
description: > | ||
This is a representation of the Nordic nRF QDEC node | ||
properties: | ||
compatible: | ||
type: string | ||
category: required | ||
description: compatible strings | ||
constraint: "nordic,nrf-qdec" | ||
|
||
reg: | ||
type: array | ||
description: mmio register space | ||
generation: define | ||
category: required | ||
|
||
interrupts: | ||
type: array | ||
category: required | ||
description: required interrupts | ||
generation: define | ||
|
||
a-pin: | ||
type: int | ||
description: A pin | ||
generation: define | ||
category: required | ||
|
||
b-pin: | ||
type: int | ||
description: B pin | ||
generation: define | ||
category: required | ||
|
||
led-pin: | ||
type: int | ||
description: LED pin for light based QDEC device | ||
generation: define | ||
category: optional | ||
|
||
enable-pin: | ||
type: int | ||
description: Enables connected QDEC device | ||
generation: define | ||
category: optional | ||
|
||
led-pre: | ||
type: int | ||
description: Time LED is enabled prior to sampling event (in us) | ||
generation: define | ||
category: required | ||
|
||
steps: | ||
type: int | ||
description: Number of steps on the rotating wheel | ||
generation: define | ||
category: required | ||
|
||
label: | ||
type: string | ||
category: required | ||
description: Human readable string describing the device (used by Zephyr for API name) | ||
generation: define | ||
... |
This file contains 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 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