blob: 4204a63cff1f5e2fc28dc6e9f4c5716001584895 (
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
# 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 rgb_calibration_t in accelgyro.h
compatible: "cros-ec,accelgyro-rgb-calibration"
properties:
irt:
type: int
required: true
description: incandecent scaling factor
child-binding:
description: RGB ALS Calibration Data
properties:
offset:
type: int
required: true
description: Any offset to add to raw channel data
coeff:
type: array
required: true
description: Clear, R, G, and B coefficients for this channel
#
# examples:
#
# rgb_calibration {
# compatible = "cros-ec,accelgyro-rgb-calibration";
#
# irt = <1>;
#
# rgb-cal-x {
# offset = <0>;
# coeff = <0 0 0 0>;
# als-channel-scale {
# compatible = "cros-ec,accelgyro-als-channel-scale";
# k-channel-scale = <1>;
# cover-scale = <1>;
# };
# };
# rgb-cal-y {
# offset = <0>;
# coeff = <0 0 0 0>;
# als-channel-scale {
# compatible = "cros-ec,accelgyro-als-channel-scale";
# k-channel-scale = <1>;
# cover-scale = <1>;
# };
# };
# rgb-cal-z {
# offset = <0>;
# coeff = <0 0 0 0>;
# als-channel-scale {
# compatible = "cros-ec,accelgyro-als-channel-scale";
# k-channel-scale = <1>;
# cover-scale = <1>;
# };
# };
# };
#
|