b69d3363f1
Build / Build app and tests (ubuntu-22.04) (push) Failing after 1m22s
Documentation / Build (1.14.0) (push) Failing after 22s
Documentation / Build (1.9.6) (push) Failing after 12s
Documentation / Deploy (push) Has been skipped
Build / Build app and tests (macos-14) (push) Has been cancelled
Build / Build app and tests (windows-2022) (push) Has been cancelled
29 lines
691 B
YAML
29 lines
691 B
YAML
# Copyright (c) 2024 Nordic Semiconductor ASA
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
description: |
|
|
A generic binding for a GPIO-controlled blinking LED. Note that this binding
|
|
has no vendor prefix, as it does not target a specific device or vendor.
|
|
|
|
Example definition in devicetree:
|
|
|
|
blink-gpio-led {
|
|
compatible = "blink-gpio-led";
|
|
led-gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>;
|
|
blink-period-ms = <1000>;
|
|
};
|
|
|
|
compatible: "blink-gpio-led"
|
|
|
|
include: base.yaml
|
|
|
|
properties:
|
|
led-gpios:
|
|
type: phandle-array
|
|
required: true
|
|
description: GPIO-controlled LED.
|
|
|
|
blink-period-ms:
|
|
type: int
|
|
description: Initial blinking period in milliseconds.
|