blob: cce0fff199dc4ef8e57799f6901a1898ec58e187 (
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
64
65
66
67
68
69
70
71
72
73
74
|
/* Copyright 2022 The ChromiumOS Authors
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
/ {
/* tentacruel-specific fw_config fields. */
tentacruel-fw-config {
compatible = "cros-ec,cbi-fw-config";
/*
* FW_CONFIG field to describe mainboard orientation in chassis.
*/
form_factor {
enum-name = "FORM_FACTOR";
start = <7>;
size = <1>;
clamshell {
compatible = "cros-ec,cbi-fw-config-value";
enum-name = "CLAMSHELL";
value = <0>;
};
convertible {
compatible = "cros-ec,cbi-fw-config-value";
enum-name = "CONVERTIBLE";
value = <1>;
};
};
base-sensor {
enum-name = "BASE_SENSOR";
start = <8>;
size = <2>;
none {
compatible = "cros-ec,cbi-fw-config-value";
enum-name = "BASE_NONE";
value = <0>;
default;
};
icm42607 {
compatible = "cros-ec,cbi-fw-config-value";
enum-name = "BASE_ICM42607";
value = <1>;
};
bmi323 {
compatible = "cros-ec,cbi-fw-config-value";
enum-name = "BASE_BMI323";
value = <2>;
};
};
lid-sensor {
enum-name = "LID_SENSOR";
start = <10>;
size = <2>;
none {
compatible = "cros-ec,cbi-fw-config-value";
enum-name = "LID_NONE";
value = <0>;
default;
};
lis2dwltr {
compatible = "cros-ec,cbi-fw-config-value";
enum-name = "LID_LIS2DWLTR";
value = <1>;
};
bma422 {
compatible = "cros-ec,cbi-fw-config-value";
enum-name = "LID_BMA422";
value = <2>;
};
};
};
};
|