usb: misc: onboard_hub: use device supply names
authorJavier Carrasco <javier.carrasco@wolfvision.net>
Mon, 25 Mar 2024 09:15:11 +0000 (10:15 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 27 Mar 2024 06:57:16 +0000 (07:57 +0100)
commitec1848cd5df426f57a7f6a8a6b95b69259c52cfc
treecbcce29d3168fa079b6ac62fa1a78074cd256b9c
parent47870badf33a59994e73b70b1f0464d7b0945f2e
usb: misc: onboard_hub: use device supply names

The current implementation uses generic names for the power supplies,
which conflicts with proper name definitions in the device bindings.

Add a per-device property to include real supply names and keep generic
names for existing devices to keep backward compatibility.

Acked-by: Matthias Kaehlcke <mka@chromium.org>
Signed-off-by: Javier Carrasco <javier.carrasco@wolfvision.net>
Link: https://lore.kernel.org/r/20240325-onboard_xvf3500-v8-1-29e3f9222922@wolfvision.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/misc/onboard_usb_hub.c
drivers/usb/misc/onboard_usb_hub.h