[PATCH 1/1] usb_kbd: remove match string

Marek Vasut marek.vasut at mailbox.org
Fri Jan 2 15:36:28 CET 2026


On 1/2/26 3:22 PM, Peter Robinson wrote:
> On Fri, 2 Jan 2026 at 13:47, Marek Vasut <marek.vasut at mailbox.org> wrote:
>>
>> On 1/2/26 1:56 PM, Heinrich Schuchardt wrote:
>>> USB keyboards are identified via a USB interface descriptor or via USB
>>> vendor and product IDs but never via the device-tree.
>>>
>>> Remove the device-tree match string.
>> The commit message is wrong, you can actually describe USB devices in
>> DT, see e.g. Linux:
>>
>> arch/arm/boot/dts/st/stm32mp15xx-dkx.dtsi:              compatible =
>> "usb424,2514";
>>
>> Documentation/devicetree/bindings/usb/microchip,usb2514.yaml:          -
>> usb424,2514
> 
> I think there's nuance there because I think those USB hubs at times
> can have a GPIO to control power or something like that and hence the
> compat.

I can imagine laptop keyboard can have the same thing, either for power 
regulator or for backlight under keys.

>> However, it seems this particular compatible string is ad-hoc and
>> unused. I wonder if this might break some users like RPi which supply
>> external DT and may depend on this support ?
> 
> I've never seen the USB keyboards described in any of the RPi DTs

OK


More information about the U-Boot mailing list