forked from kofal.net/zmk
21
app/drivers/zephyr/dts/bindings/sensor/alps,ec11.yaml
Normal file
21
app/drivers/zephyr/dts/bindings/sensor/alps,ec11.yaml
Normal file
@@ -0,0 +1,21 @@
|
||||
description: |
|
||||
Sensor driver for the Alps EC11 rotary encoder
|
||||
|
||||
compatible: "alps,ec11"
|
||||
|
||||
properties:
|
||||
label:
|
||||
type: string
|
||||
required: true
|
||||
a-gpios:
|
||||
type: phandle-array
|
||||
required: true
|
||||
description: A pin for the encoder
|
||||
b-gpios:
|
||||
type: phandle-array
|
||||
required: true
|
||||
description: A pin for the encoder
|
||||
resolution:
|
||||
type: int
|
||||
description: Number of pulses per tick
|
||||
required: false
|
||||
@@ -0,0 +1,14 @@
|
||||
# Copyright (c) 2020 The ZMK Contributors
|
||||
# SPDX-License-Identifier: MIT
|
||||
|
||||
description: Battery SoC monitoring using voltage divider
|
||||
|
||||
compatible: "zmk,battery-voltage-divider"
|
||||
|
||||
include: voltage-divider.yaml
|
||||
|
||||
properties:
|
||||
label:
|
||||
required: true
|
||||
type: string
|
||||
|
||||
Reference in New Issue
Block a user