Thread (10 messages) 10 messages, 2 authors, 2021-07-28

Re: [PATCH v2 1/5] HID: magicmouse: register power supply

From: Jiri Kosina <jikos@kernel.org>
Date: 2021-06-24 13:33:45
Also in: lkml

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 <redacted>

---

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help