blob: 6636b53a9694a08b180fb8769e8797cbf1adef1d (
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
|
/* 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.
*/
/ {
steelix-fw-config {
compatible = "cros-ec,cbi-fw-config";
/*
* FW_CONFIG field to indicate the device is clamshell
* or convertible.
*/
form_factor {
enum-name = "FORM_FACTOR";
start = <13>;
size = <3>;
convertible {
compatible = "cros-ec,cbi-fw-config-value";
enum-name = "CONVERTIBLE";
value = <1>;
};
clamshell {
compatible = "cros-ec,cbi-fw-config-value";
enum-name = "CLAMSHELL";
value = <0>;
};
};
/* FW_CONFIG field to indicate which DB is attached. */
db_config: db {
enum-name = "DB";
start = <0>;
size = <4>;
sub-board-1 {
compatible = "cros-ec,cbi-fw-config-value";
enum-name = "DB_NONE";
value = <0>;
};
sub-board-2 {
compatible = "cros-ec,cbi-fw-config-value";
enum-name = "DB_USBA_HDMI";
value = <1>;
};
sub-board-3 {
compatible = "cros-ec,cbi-fw-config-value";
enum-name = "DB_USBA_HDMI_LTE";
value = <2>;
};
};
};
/* Steelix-specific ssfc fields. */
steelix-ssfc {
compatible = "cros-ec,cbi-ssfc";
/* SSFC field to identify BASE motion sensor. */
base-sensor {
enum-name = "BASE_SENSOR";
size = <3>;
base_sensor_0: bmi323 {
compatible = "cros-ec,cbi-ssfc-value";
status = "okay";
value = <1>;
default;
};
base_sensor_1: lsm6dsm {
compatible = "cros-ec,cbi-ssfc-value";
status = "okay";
value = <2>;
};
};
/* SSFC field to identify LID motion sensor. */
lid-sensor {
enum-name = "LID_SENSOR";
size = <3>;
lid_sensor_0: bma422 {
compatible = "cros-ec,cbi-ssfc-value";
status = "okay";
value = <1>;
default;
};
lid_sensor_1: lis2dw12 {
compatible = "cros-ec,cbi-ssfc-value";
status = "okay";
value = <2>;
};
};
};
};
|