690bc1bb44
* Align our driver module layout to properly match Zephyr conventions, allowing proper CMake setup to amend the library for each type of driver.
31 lines
441 B
YAML
31 lines
441 B
YAML
#
|
|
# Copyright (c) 2022 The ZMK Contributors
|
|
#
|
|
# SPDX-License-Identifier: MIT
|
|
#
|
|
|
|
description: >
|
|
This is a representation of the 595 Shift Register.
|
|
|
|
compatible: "zmk,gpio-595"
|
|
|
|
include: [gpio-controller.yaml, spi-device.yaml]
|
|
|
|
properties:
|
|
"#gpio-cells":
|
|
const: 2
|
|
|
|
ngpios:
|
|
type: int
|
|
required: true
|
|
enum:
|
|
- 8
|
|
- 16
|
|
- 24
|
|
- 32
|
|
description: Number of gpios supported
|
|
|
|
gpio-cells:
|
|
- pin
|
|
- flags
|