[PATCH 1/1] usb_kbd: remove match string

Marek Vasut marek.vasut at mailbox.org
Fri Jan 2 17:21:48 CET 2026


On 1/2/26 4:15 PM, Heinrich Schuchardt wrote:

[...]

> Looking at https://gitlab.com/CalcProgrammer1/OpenRGB/ the protocols 
> used to control keyboard backlights vary a lot between vendors.

openrgb seems to be meant to control various fancy vendor LEDs and such, 
I'm talking about the boring 1-color keyboard backlight on laptop keyboards.

> But anyway the vendor ID and product ID is used to identify the USB 
> keyboard and to look up which protocol it uses. There is no need for a 
> device-tree description.

It is in fact the other way around -- if it is a HID keyboard device 
according to USB descriptor, it doesn't matter which VID/PID it has. The 
few keyboards described in the usb_kbd.c driver are there because they 
need quirks.

So, to move the discussion along. I can see why an USB keyboard might 
have to be described in DT. It seems the usb-keyboard DT compatible is 
not standard. If it should be removed, the commit message needs much 
better justification for doing so.


More information about the U-Boot mailing list