zmk/app/dts/bindings/zmk,ext-power-generic.yaml
Joel Spadin 05925c72d7 refactor(ext_power): Remove label property
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".
2023-12-04 20:06:54 -06:00

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