Thread (28 messages) 28 messages, 5 authors, 2025-03-31

Re: [PATCH v2 2/3] i3c: master: Add Qualcomm I3C controller driver

From: Mukesh Kumar Savaliya <hidden>
Date: 2025-03-28 14:29:54
Also in: linux-arm-msm, linux-i3c, lkml

Hi Markus, Thanks for review !

On 3/28/2025 6:58 PM, Markus Elfring wrote:
quoted
+++ b/drivers/i3c/master/qcom-i3c-master.c
@@ -0,0 +1,1107 @@
quoted
+/* M_CMD OP codes for I2C/I3C */
+#define I3C_READ_IBI_HW          0
+#define I2C_WRITE                1
+#define I2C_READ                 2
…

Can an enumeration become helpful here?
No, these are hardware program defined op-codes not created for any 
software purpose. so Macro define looks fine to me.
Regards,
Markus
  
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help