linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH input] input: add BUS_I3C definition to input.h
@ 2025-02-15 14:20 Yunli Liu
  2025-02-25  6:23 ` Dmitry Torokhov
  0 siblings, 1 reply; 2+ messages in thread
From: Yunli Liu @ 2025-02-15 14:20 UTC (permalink / raw)
  To: linux-input; +Cc: linux-kernel, dmitry.torokhov, Yunli Liu

Add BUS_I3C (0x21) bus type definition to the input subsystem header.
This value is reserved for devices utilizing the I3C bus, which is
increasingly adopted in modern embedded systems due to its enhanced
capabilities over I2C/SPI.

Signed-off-by: Yunli Liu <ylliu3788@163.com>
---
 include/uapi/linux/input.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/uapi/linux/input.h b/include/uapi/linux/input.h
index 2557eb7b0561..c6fbcbad5b7c 100644
--- a/include/uapi/linux/input.h
+++ b/include/uapi/linux/input.h
@@ -275,6 +275,7 @@ struct input_mask {
 #define BUS_CEC			0x1E
 #define BUS_INTEL_ISHTP		0x1F
 #define BUS_AMD_SFH		0x20
+#define BUS_I3C			0x21
 
 /*
  * MT_TOOL types
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH input] input: add BUS_I3C definition to input.h
  2025-02-15 14:20 [PATCH input] input: add BUS_I3C definition to input.h Yunli Liu
@ 2025-02-25  6:23 ` Dmitry Torokhov
  0 siblings, 0 replies; 2+ messages in thread
From: Dmitry Torokhov @ 2025-02-25  6:23 UTC (permalink / raw)
  To: Yunli Liu; +Cc: linux-input, linux-kernel

Hi Yunli,

On Sat, Feb 15, 2025 at 10:20:35PM +0800, Yunli Liu wrote:
> Add BUS_I3C (0x21) bus type definition to the input subsystem header.
> This value is reserved for devices utilizing the I3C bus, which is
> increasingly adopted in modern embedded systems due to its enhanced
> capabilities over I2C/SPI.

I would like to see a user of this #define before adding it to the
kernel.

> 
> Signed-off-by: Yunli Liu <ylliu3788@163.com>
> ---
>  include/uapi/linux/input.h | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/include/uapi/linux/input.h b/include/uapi/linux/input.h
> index 2557eb7b0561..c6fbcbad5b7c 100644
> --- a/include/uapi/linux/input.h
> +++ b/include/uapi/linux/input.h
> @@ -275,6 +275,7 @@ struct input_mask {
>  #define BUS_CEC			0x1E
>  #define BUS_INTEL_ISHTP		0x1F
>  #define BUS_AMD_SFH		0x20
> +#define BUS_I3C			0x21
>  
>  /*
>   * MT_TOOL types
> -- 
> 2.34.1
> 

Thanks.

-- 
Dmitry

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-02-25  6:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-15 14:20 [PATCH input] input: add BUS_I3C definition to input.h Yunli Liu
2025-02-25  6:23 ` Dmitry Torokhov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).