summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZbigniew Lukwinski <zbigniew.lukwinski@linux.intel.com>2022-03-10 12:26:59 +0300
committerZbigniew Lukwinski <zbigniew.lukwinski@linux.intel.com>2022-04-13 10:00:06 +0300
commitf7154c2a48cecbe83a2182971c11b80d2b634248 (patch)
tree24deec2bd63edc931fedf48ea076d1d3a726dbdf
parent75c368db3b4ba1a5b29a0c5e4bc594fa07152e84 (diff)
downloadlinux-f7154c2a48cecbe83a2182971c11b80d2b634248.tar.xz
i3c: Add new DCR value for I3C HUB
Adding DCR for I3C HUB. Value taken from https://www.mipi.org/MIPI_I3C_device_characteristics_register Signed-off-by: Zbigniew Lukwinski <zbigniew.lukwinski@linux.intel.com>
-rw-r--r--include/linux/i3c/device.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/i3c/device.h b/include/linux/i3c/device.h
index e632941575bd..e036a30f8c7e 100644
--- a/include/linux/i3c/device.h
+++ b/include/linux/i3c/device.h
@@ -71,9 +71,11 @@ struct i3c_priv_xfer {
/**
* enum i3c_dcr - I3C DCR values
* @I3C_DCR_GENERIC_DEVICE: generic I3C device
+ * @I3C_DCR_HUB: I3C HUB device
*/
enum i3c_dcr {
I3C_DCR_GENERIC_DEVICE = 0,
+ I3C_DCR_HUB = 0xC2,
};
#define I3C_PID_MANUF_ID(pid) (((pid) & GENMASK_ULL(47, 33)) >> 33)