gpio: Introduce mcux igpio shim driver
Adds a new gpio driver for the NXP i.MX family of SoCs. Read, write, configure, and callback API functions are all implemented. Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
This commit is contained in:
parent
0f3b490905
commit
6043c74fd3
7 changed files with 426 additions and 0 deletions
43
dts/bindings/gpio/nxp,imx-gpio.yaml
Normal file
43
dts/bindings/gpio/nxp,imx-gpio.yaml
Normal file
|
@ -0,0 +1,43 @@
|
|||
#
|
||||
# Copyright (c) 2017, NXP
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
---
|
||||
title: i.MX GPIO
|
||||
version: 0.1
|
||||
|
||||
description: >
|
||||
This is a representation of the i.MX GPIO nodes
|
||||
|
||||
properties:
|
||||
- compatible:
|
||||
type: string
|
||||
category: required
|
||||
description: compatible strings
|
||||
constraint: "nxp,imx-gpio"
|
||||
|
||||
- reg:
|
||||
type: int
|
||||
description: mmio register space
|
||||
generation: define
|
||||
category: required
|
||||
|
||||
- interrupts:
|
||||
type: compound
|
||||
category: required
|
||||
description: required interrupts
|
||||
generation: define
|
||||
|
||||
- label:
|
||||
type: string
|
||||
category: required
|
||||
description: Human readable string describing the device (used by Zephyr for API name)
|
||||
generation: define
|
||||
|
||||
cell_string: GPIO
|
||||
|
||||
"#cells":
|
||||
- pin
|
||||
- flags
|
||||
...
|
Loading…
Add table
Add a link
Reference in a new issue