include/uapi/linux/input.h | 1 + 1 file changed, 1 insertion(+)
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
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
© 2016 - 2025 Red Hat, Inc.