File tree Expand file tree Collapse file tree 3 files changed +21
-1
lines changed
Documentation/devicetree/bindings/i3c Expand file tree Collapse file tree 3 files changed +21
-1
lines changed Original file line number Diff line number Diff line change @@ -91,6 +91,7 @@ patternProperties:
91
91
- const : 0
92
92
- description : |
93
93
Shall encode the I3C LVR (Legacy Virtual Register):
94
+ See include/dt-bindings/i3c/i3c.h
94
95
bit[31:8]: unused/ignored
95
96
bit[7:5]: I2C device index. Possible values:
96
97
* 0: I2C device has a 50 ns spike filter
@@ -153,6 +154,8 @@ additionalProperties: true
153
154
154
155
examples :
155
156
- |
157
+ #include <dt-bindings/i3c/i3c.h>
158
+
156
159
i3c@d040000 {
157
160
compatible = "cdns,i3c-master";
158
161
clocks = <&coreclock>, <&i3csysclock>;
@@ -166,7 +169,7 @@ examples:
166
169
/* I2C device. */
167
170
eeprom@57 {
168
171
compatible = "atmel,24c01";
169
- reg = <0x57 0x0 0x10 >;
172
+ reg = <0x57 0x0 (I2C_FM | I2C_FILTER) >;
170
173
pagesize = <0x8>;
171
174
};
172
175
Original file line number Diff line number Diff line change @@ -10479,6 +10479,7 @@ F: Documentation/ABI/testing/sysfs-bus-i3c
10479
10479
F: Documentation/devicetree/bindings/i3c/
10480
10480
F: Documentation/driver-api/i3c
10481
10481
F: drivers/i3c/
10482
+ F: include/dt-bindings/i3c/
10482
10483
F: include/linux/i3c/
10483
10484
10484
10485
IBM Operation Panel Input Driver
Original file line number Diff line number Diff line change
1
+ /* SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause */
2
+ /*
3
+ * Copyright 2024 NXP
4
+ */
5
+
6
+ #ifndef _DT_BINDINGS_I3C_I3C_H
7
+ #define _DT_BINDINGS_I3C_I3C_H
8
+
9
+ #define I2C_FM (1 << 4)
10
+ #define I2C_FM_PLUS (0 << 4)
11
+
12
+ #define I2C_FILTER (0 << 5)
13
+ #define I2C_NO_FILTER_HIGH_FREQUENCY (1 << 5)
14
+ #define I2C_NO_FILTER_LOW_FREQUENCY (2 << 5)
15
+
16
+ #endif
You can’t perform that action at this time.
0 commit comments