HID: i2c-hid: goodix: Add mainboard-vddio-supply
authorDouglas Anderson <dianders@chromium.org>
Tue, 7 Feb 2023 02:48:15 +0000 (18:48 -0800)
committerBenjamin Tissoires <benjamin.tissoires@redhat.com>
Thu, 9 Feb 2023 13:44:15 +0000 (14:44 +0100)
commiteb16f59e8e584e94d68098da86e70f9c4e54fa86
treec8383ec737361dd4b76031036bc38180b72e7124
parent1d18c1f3b7d938bdefc44289d137b4e6c7a3d502
HID: i2c-hid: goodix: Add mainboard-vddio-supply

As talked about in the patch ("dt-bindings: HID: i2c-hid: goodix: Add
mainboard-vddio-supply") we may need to power up a 1.8V rail on the
host associated with touchscreen IO. Let's add support in the driver
for it.

Signed-off-by: Douglas Anderson <dianders@chromium.org>
Reviewed-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Reviewed-by: Matthias Kaehlcke <mka@chromium.org>
Link: https://lore.kernel.org/r/20230206184744.6.Ic234b931025d1f920ce9e06fff294643943a65ad@changeid
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
drivers/hid/i2c-hid/i2c-hid-of-goodix.c