05925c72d7
Changed the label property on zmk,ext-power-generic to be optional and removed it from existing uses. Renamed the nodes for all non-development boards to "EXT_POWER" to preserve user settings. rgb_underglow.c now finds the correct device by finding the first instance of zmk,ext-power-generic instead of looking for a node named "EXT_POWER".
23 lines
524 B
YAML
23 lines
524 B
YAML
# Copyright (c) 2020 The ZMK Contributors
|
|
# 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: false
|
|
deprecated: true
|
|
init-delay-ms:
|
|
type: int
|
|
description: Number of milliseconds to delay after initializing driver
|
|
required: false
|