2021-01-02 09:37:34 +11:00
|
|
|
# Copyright (c) 2020 The ZMK Contributors
|
2020-10-06 18:52:21 +11:00
|
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
|
|
|
|
description: |
|
|
|
|
Generic driver for controlling the external power output
|
|
|
|
by toggling the control-gpio pin status
|
|
|
|
(Only in supported hardware)
|
|
|
|
|
|
|
|
compatible: "zmk,ext-power-generic"
|
|
|
|
|
|
|
|
properties:
|
|
|
|
control-gpios:
|
|
|
|
type: phandle-array
|
|
|
|
required: true
|
|
|
|
label:
|
|
|
|
type: string
|
|
|
|
required: true
|
2021-02-17 06:43:12 +11:00
|
|
|
init-delay-ms:
|
|
|
|
type: int
|
|
|
|
description: Number of milliseconds to delay after initializing driver
|
|
|
|
required: false
|