HID: i2c-hid: support regulator power on/off
On some boards, we need to enable a regulator before using the HID, and it's also nice to save power in suspend by disabling it. Support an optional "vdd-supply" and a companion initialization delay. Signed-off-by: NBrian Norris <briannorris@chromium.org> Signed-off-by: NCaesar Wang <wxt@rock-chips.com> Acked-by: NBenjamin Tissoires <benjamin.tissoires@redhat.com> Reviewed-by: NDmitry Torokhov <dmitry.torokhov@gmail.com> Cc: Jiri Kosina <jikos@kernel.org> Cc: linux-input@vger.kernel.org Signed-off-by: NJiri Kosina <jkosina@suse.cz>
Showing
想要评论请 注册 或 登录