From 2326f36e50dc8916ba66ec00fdc362f1c0500ca6 Mon Sep 17 00:00:00 2001 From: Kuba Birecki Date: Sat, 4 Dec 2021 17:12:28 +0100 Subject: [PATCH] Update animation devicetree bindings --- app/dts/bindings/animations/animation_base.yaml | 6 ++++++ app/dts/bindings/animations/zmk,animation-solid.yaml | 6 ++++++ 2 files changed, 12 insertions(+) create mode 100644 app/dts/bindings/animations/animation_base.yaml diff --git a/app/dts/bindings/animations/animation_base.yaml b/app/dts/bindings/animations/animation_base.yaml new file mode 100644 index 00000000..aa2a5342 --- /dev/null +++ b/app/dts/bindings/animations/animation_base.yaml @@ -0,0 +1,6 @@ +# Copyright (c) 2020, The ZMK Contributors +# SPDX-License-Identifier: MIT + +pixel-cells: + - position_x + - position_y diff --git a/app/dts/bindings/animations/zmk,animation-solid.yaml b/app/dts/bindings/animations/zmk,animation-solid.yaml index 93979561..f84aaeef 100644 --- a/app/dts/bindings/animations/zmk,animation-solid.yaml +++ b/app/dts/bindings/animations/zmk,animation-solid.yaml @@ -6,7 +6,13 @@ description: | compatible: "zmk,animation-solid" +include: animation_base.yaml + properties: + label: + type: string + required: true + duration: type: int required: true