Re: [PATCH v3 08/10] HID: i2c-hid: Support being a panel follower

2023-07-26 Thread Benjamin Tissoires
On Jul 26 2023, Doug Anderson wrote: > Hi, > > On Wed, Jul 26, 2023 at 1:57 AM Benjamin Tissoires wrote: > > > > > @@ -1143,7 +1208,14 @@ void i2c_hid_core_remove(struct i2c_client *client) > > > struct i2c_hid *ihid = i2c_get_clientdata(client); > > > struct hid_device *hid; > > > >

Re: [PATCH v3 08/10] HID: i2c-hid: Support being a panel follower

2023-07-26 Thread Doug Anderson
Hi, On Wed, Jul 26, 2023 at 1:57 AM Benjamin Tissoires wrote: > > > @@ -1143,7 +1208,14 @@ void i2c_hid_core_remove(struct i2c_client *client) > > struct i2c_hid *ihid = i2c_get_clientdata(client); > > struct hid_device *hid; > > > > - i2c_hid_core_power_down(ihid); > > + /* >

Re: [PATCH v3 08/10] HID: i2c-hid: Support being a panel follower

2023-07-26 Thread Benjamin Tissoires
On Jul 25 2023, Douglas Anderson wrote: > As talked about in the patch ("drm/panel: Add a way for other devices > to follow panel state"), we really want to keep the power states of a > touchscreen and the panel it's attached to in sync with each other. In > that spirit, add support to i2c-hid to b

[PATCH v3 08/10] HID: i2c-hid: Support being a panel follower

2023-07-25 Thread Douglas Anderson
As talked about in the patch ("drm/panel: Add a way for other devices to follow panel state"), we really want to keep the power states of a touchscreen and the panel it's attached to in sync with each other. In that spirit, add support to i2c-hid to be a panel follower. This will let the i2c-hid dr