On Sat, 22 May 2021, José Expósito wrote: > Unlike the Apple Magic Mouse 1 and the Apple Magic Trackpad 1, the > second generation of the devices don't report their battery status > automatically. > > This patchset adds support for reporting the battery capacity and > charging status for the Apple Magic Mouse 2 and Apple Magic Trackpad > 2 both over bluetooth and USB. > > This patch: > > Register the required power supply structs for the Apple Magic Mouse 2 > and the Apple Magic Trackpad 2 to be able to report battery capacity > and status in future patches. > > Signed-off-by: José Expósito <jose.exposito89@xxxxxxxxx> > > --- > > v2: Add depends on USB_HID to Kconfig Hmm, why is this dependency needed in the first place, please? I think trying to keep the drivers independent on transport drivers (especially in cases like this, where more variants of physical transports actually really do exist) is worth trying. Thanks, -- Jiri Kosina SUSE Labs