summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCarlos Song <carlos.song@nxp.com>2024-07-16 01:53:51 +0300
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2024-07-26 15:21:30 +0300
commit24168c5e6dfbdd5b414f048f47f75d64533296ca (patch)
tree45b1d932d6bdd3757b6b5b36880511aeb082015c /include
parentb73c983491e0a61331611d2dab1dfccd4464b060 (diff)
downloadlinux-24168c5e6dfbdd5b414f048f47f75d64533296ca.tar.xz
dt-bindings: i3c: add header for generic I3C flags
Add header file for generic I3C flags to avoid hard code in dts file. Signed-off-by: Carlos Song <carlos.song@nxp.com> Reviewed-by: Frank Li <frank.li@nxp.com> Acked-by: Jason Liu <jason.hui.liu@nxp.com> Signed-off-by: Frank Li <Frank.Li@nxp.com> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20240715225351.3237284-1-Frank.Li@nxp.com Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'include')
-rw-r--r--include/dt-bindings/i3c/i3c.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/include/dt-bindings/i3c/i3c.h b/include/dt-bindings/i3c/i3c.h
new file mode 100644
index 000000000000..373439218bba
--- /dev/null
+++ b/include/dt-bindings/i3c/i3c.h
@@ -0,0 +1,16 @@
+/* SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause */
+/*
+ * Copyright 2024 NXP
+ */
+
+#ifndef _DT_BINDINGS_I3C_I3C_H
+#define _DT_BINDINGS_I3C_I3C_H
+
+#define I2C_FM (1 << 4)
+#define I2C_FM_PLUS (0 << 4)
+
+#define I2C_FILTER (0 << 5)
+#define I2C_NO_FILTER_HIGH_FREQUENCY (1 << 5)
+#define I2C_NO_FILTER_LOW_FREQUENCY (2 << 5)
+
+#endif