summaryrefslogtreecommitdiff
path: root/zephyr/dts/bindings/motionsense/drvdata/cros-ec,accelgyro-als-channel-scale.yaml
blob: 753edc7ea83d0ced510e4e5f1669b0ffc38cd767 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Copyright 2021 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

description: |
  Bindings for als_channel_scale_t in accelgyro.h.
  Each channel has scaling factor for normalization & cover

compatible: cros-ec,accelgyro-als-channel-scale

properties:
  k-channel-scale:
    type: int
    required: true
    description: Channel scale factor
  cover-scale:
    type: int
    required: true
    description: Cover compensation scale factor

#
# examples:
#
# als-channel-scale {
#        compatible = "cros-ec,accelgyro-als-channel-scale";
#        k-channel-scale = <1>;
#        cover-scale = <1>;
# };
#