parent
177b28f01d
commit
8d9ae1fdf3
24 changed files with 79 additions and 46 deletions
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
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue