All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 1/2] Input: silead - Add support for capactive home button found on some x86 tablets
@ 2017-10-17 15:45 Hans de Goede
  2017-10-17 15:45 ` [PATCH v2 2/2] platform/x86: silead_dmi: Add silead,home-button property to some tablets Hans de Goede
  2017-10-17 20:13 ` [PATCH v2 1/2] Input: silead - Add support for capactive home button found on some x86 tablets Dmitry Torokhov
  0 siblings, 2 replies; 8+ messages in thread
From: Hans de Goede @ 2017-10-17 15:45 UTC (permalink / raw)
  To: Dmitry Torokhov, Benjamin Tissoires, Darren Hart, Andy Shevchenko
  Cc: Hans de Goede, linux-input, platform-driver-x86

On some x86 tablets with a silead touchscreen the windows logo on the
front is a capacitive home button. Touching this button results in a touch
with bits 12-15 of the Y coordinates set, while normally only the lower 12
are used.

Detect this and report a KEY_LEFTMETA press when this happens. Note for
now we only respond to the Y coordinate bits 12-15 containing 0x01, on some
tablets *without* a capacative button I've noticed these bits containing
0x04 when crossing the edges of the screen.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
Changes in v2:
-Only enable support for the home-button if a "silead,home-button"
 boolean device-property is set on the device
---
 drivers/input/touchscreen/silead.c | 46 +++++++++++++++++++++++++++++---------
 1 file changed, 35 insertions(+), 11 deletions(-)

diff --git a/drivers/input/touchscreen/silead.c b/drivers/input/touchscreen/silead.c
index 0dbcf105f7db..646b1e768e6b 100644
--- a/drivers/input/touchscreen/silead.c
+++ b/drivers/input/touchscreen/silead.c
@@ -56,7 +56,7 @@
 #define SILEAD_POINT_Y_MSB_OFF	0x01
 #define SILEAD_POINT_X_OFF	0x02
 #define SILEAD_POINT_X_MSB_OFF	0x03
-#define SILEAD_TOUCH_ID_MASK	0xF0
+#define SILEAD_EXTRA_DATA_MASK	0xF0
 
 #define SILEAD_CMD_SLEEP_MIN	10000
 #define SILEAD_CMD_SLEEP_MAX	20000
@@ -109,6 +109,9 @@ static int silead_ts_request_input_dev(struct silead_ts_data *data)
 			    INPUT_MT_DIRECT | INPUT_MT_DROP_UNUSED |
 			    INPUT_MT_TRACK);
 
+	if (device_property_read_bool(dev, "silead,home-button"))
+		input_set_capability(data->input, EV_KEY, KEY_LEFTMETA);
+
 	data->input->name = SILEAD_TS_NAME;
 	data->input->phys = "input/ts";
 	data->input->id.bustype = BUS_I2C;
@@ -139,7 +142,8 @@ static void silead_ts_read_data(struct i2c_client *client)
 	struct input_dev *input = data->input;
 	struct device *dev = &client->dev;
 	u8 *bufp, buf[SILEAD_TS_DATA_LEN];
-	int touch_nr, error, i;
+	int touch_nr, softbutton, error, i;
+	bool softbutton_pressed = false;
 
 	error = i2c_smbus_read_i2c_block_data(client, SILEAD_REG_DATA,
 					      SILEAD_TS_DATA_LEN, buf);
@@ -148,21 +152,40 @@ static void silead_ts_read_data(struct i2c_client *client)
 		return;
 	}
 
-	touch_nr = buf[0];
-	if (touch_nr > data->max_fingers) {
+	if (buf[0] > data->max_fingers) {
 		dev_warn(dev, "More touches reported then supported %d > %d\n",
-			 touch_nr, data->max_fingers);
-		touch_nr = data->max_fingers;
+			 buf[0], data->max_fingers);
+		buf[0] = data->max_fingers;
 	}
 
+	touch_nr = 0;
 	bufp = buf + SILEAD_POINT_DATA_LEN;
-	for (i = 0; i < touch_nr; i++, bufp += SILEAD_POINT_DATA_LEN) {
-		/* Bits 4-7 are the touch id */
-		data->id[i] = (bufp[SILEAD_POINT_X_MSB_OFF] &
-			       SILEAD_TOUCH_ID_MASK) >> 4;
-		touchscreen_set_mt_pos(&data->pos[i], &data->prop,
+	for (i = 0; i < buf[0]; i++, bufp += SILEAD_POINT_DATA_LEN) {
+		softbutton = (bufp[SILEAD_POINT_Y_MSB_OFF] &
+			      SILEAD_EXTRA_DATA_MASK) >> 4;
+
+		if (softbutton) {
+			/*
+			 * For now only respond to softbutton == 0x01, some
+			 * tablets *without* a capacative button send 0x04
+			 * when crossing the edges of the screen.
+			 */
+			if (softbutton == 0x01)
+				softbutton_pressed = true;
+
+			continue;
+		}
+
+		/*
+		 * Bits 4-7 are the touch id, note not all models have
+		 * hardware touch ids so atm we don't use these.
+		 */
+		data->id[touch_nr] = (bufp[SILEAD_POINT_X_MSB_OFF] &
+				      SILEAD_EXTRA_DATA_MASK) >> 4;
+		touchscreen_set_mt_pos(&data->pos[touch_nr], &data->prop,
 			get_unaligned_le16(&bufp[SILEAD_POINT_X_OFF]) & 0xfff,
 			get_unaligned_le16(&bufp[SILEAD_POINT_Y_OFF]) & 0xfff);
+		touch_nr++;
 	}
 
 	input_mt_assign_slots(input, data->slots, data->pos, touch_nr, 0);
@@ -178,6 +201,7 @@ static void silead_ts_read_data(struct i2c_client *client)
 	}
 
 	input_mt_sync_frame(input);
+	input_report_key(input, KEY_LEFTMETA, softbutton_pressed);
 	input_sync(input);
 }
 
-- 
2.14.1

^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH v2 2/2] platform/x86: silead_dmi: Add silead,home-button property to some tablets
  2017-10-17 15:45 [PATCH v2 1/2] Input: silead - Add support for capactive home button found on some x86 tablets Hans de Goede
@ 2017-10-17 15:45 ` Hans de Goede
  2017-10-27 14:39   ` Andy Shevchenko
  2017-10-17 20:13 ` [PATCH v2 1/2] Input: silead - Add support for capactive home button found on some x86 tablets Dmitry Torokhov
  1 sibling, 1 reply; 8+ messages in thread
From: Hans de Goede @ 2017-10-17 15:45 UTC (permalink / raw)
  To: Dmitry Torokhov, Benjamin Tissoires, Darren Hart, Andy Shevchenko
  Cc: Hans de Goede, linux-input, platform-driver-x86

Add "silead,home-button" property to entries for tablets which have
a capacitive home button (typically a windows logo on the front).

This new property is checked for by the new capacitive home button
support in the silead touchscreen driver.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
 drivers/platform/x86/silead_dmi.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/platform/x86/silead_dmi.c b/drivers/platform/x86/silead_dmi.c
index fadfce9b3f5f..ac304f2318cc 100644
--- a/drivers/platform/x86/silead_dmi.c
+++ b/drivers/platform/x86/silead_dmi.c
@@ -58,6 +58,7 @@ static const struct property_entry dexp_ursus_7w_props[] = {
 	PROPERTY_ENTRY_U32("touchscreen-size-y", 630),
 	PROPERTY_ENTRY_STRING("firmware-name", "gsl1686-dexp-ursus-7w.fw"),
 	PROPERTY_ENTRY_U32("silead,max-fingers", 10),
+	PROPERTY_ENTRY_BOOL("silead,home-button"),
 	{ }
 };
 
@@ -72,6 +73,7 @@ static const struct property_entry surftab_wintron70_st70416_6_props[] = {
 	PROPERTY_ENTRY_STRING("firmware-name",
 			      "gsl1686-surftab-wintron70-st70416-6.fw"),
 	PROPERTY_ENTRY_U32("silead,max-fingers", 10),
+	PROPERTY_ENTRY_BOOL("silead,home-button"),
 	{ }
 };
 
@@ -116,6 +118,7 @@ static const struct property_entry pov_mobii_wintab_p800w_props[] = {
 	PROPERTY_ENTRY_BOOL("touchscreen-swapped-x-y"),
 	PROPERTY_ENTRY_STRING("firmware-name",
 			      "gsl3692-pov-mobii-wintab-p800w.fw"),
+	PROPERTY_ENTRY_BOOL("silead,home-button"),
 	{ }
 };
 
@@ -143,6 +146,7 @@ static const struct property_entry chuwi_hi8_pro_props[] = {
 	PROPERTY_ENTRY_U32("touchscreen-size-y", 1148),
 	PROPERTY_ENTRY_BOOL("touchscreen-swapped-x-y"),
 	PROPERTY_ENTRY_STRING("firmware-name", "gsl3680-chuwi-hi8-pro.fw"),
+	PROPERTY_ENTRY_BOOL("silead,home-button"),
 	{ }
 };
 
-- 
2.14.1

^ permalink raw reply related	[flat|nested] 8+ messages in thread

* Re: [PATCH v2 1/2] Input: silead - Add support for capactive home button found on some x86 tablets
  2017-10-17 15:45 [PATCH v2 1/2] Input: silead - Add support for capactive home button found on some x86 tablets Hans de Goede
  2017-10-17 15:45 ` [PATCH v2 2/2] platform/x86: silead_dmi: Add silead,home-button property to some tablets Hans de Goede
@ 2017-10-17 20:13 ` Dmitry Torokhov
  1 sibling, 0 replies; 8+ messages in thread
From: Dmitry Torokhov @ 2017-10-17 20:13 UTC (permalink / raw)
  To: Hans de Goede
  Cc: Benjamin Tissoires, Darren Hart, Andy Shevchenko, linux-input,
	Platform Driver

Hi Hans,

On Tue, Oct 17, 2017 at 8:45 AM, Hans de Goede <hdegoede@redhat.com> wrote:
> On some x86 tablets with a silead touchscreen the windows logo on the
> front is a capacitive home button. Touching this button results in a touch
> with bits 12-15 of the Y coordinates set, while normally only the lower 12
> are used.
>
> Detect this and report a KEY_LEFTMETA press when this happens. Note for
> now we only respond to the Y coordinate bits 12-15 containing 0x01, on some
> tablets *without* a capacative button I've noticed these bits containing
> 0x04 when crossing the edges of the screen.
>
> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
> ---
> Changes in v2:
> -Only enable support for the home-button if a "silead,home-button"
>  boolean device-property is set on the device

You need to add this new property to
Documentation/devicetree/bindings/input/touchscreen/silead_gsl1680.txt
and CC Rob.

Thanks!

-- 
Dmitry

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH v2 2/2] platform/x86: silead_dmi: Add silead,home-button property to some tablets
  2017-10-17 15:45 ` [PATCH v2 2/2] platform/x86: silead_dmi: Add silead,home-button property to some tablets Hans de Goede
@ 2017-10-27 14:39   ` Andy Shevchenko
  2017-10-27 15:26     ` Hans de Goede
  0 siblings, 1 reply; 8+ messages in thread
From: Andy Shevchenko @ 2017-10-27 14:39 UTC (permalink / raw)
  To: Hans de Goede
  Cc: Dmitry Torokhov, Benjamin Tissoires, Darren Hart,
	Andy Shevchenko, linux-input, Platform Driver

On Tue, Oct 17, 2017 at 6:45 PM, Hans de Goede <hdegoede@redhat.com> wrote:
> Add "silead,home-button" property to entries for tablets which have
> a capacitive home button (typically a windows logo on the front).
>
> This new property is checked for by the new capacitive home button
> support in the silead touchscreen driver.
>

Acked-by: Andy Shevchenko <andy.shevchenko@gmail.com>

I suppose it's going through input subsystem as dependent patch?

> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
> ---
>  drivers/platform/x86/silead_dmi.c | 4 ++++
>  1 file changed, 4 insertions(+)
>
> diff --git a/drivers/platform/x86/silead_dmi.c b/drivers/platform/x86/silead_dmi.c
> index fadfce9b3f5f..ac304f2318cc 100644
> --- a/drivers/platform/x86/silead_dmi.c
> +++ b/drivers/platform/x86/silead_dmi.c
> @@ -58,6 +58,7 @@ static const struct property_entry dexp_ursus_7w_props[] = {
>         PROPERTY_ENTRY_U32("touchscreen-size-y", 630),
>         PROPERTY_ENTRY_STRING("firmware-name", "gsl1686-dexp-ursus-7w.fw"),
>         PROPERTY_ENTRY_U32("silead,max-fingers", 10),
> +       PROPERTY_ENTRY_BOOL("silead,home-button"),
>         { }
>  };
>
> @@ -72,6 +73,7 @@ static const struct property_entry surftab_wintron70_st70416_6_props[] = {
>         PROPERTY_ENTRY_STRING("firmware-name",
>                               "gsl1686-surftab-wintron70-st70416-6.fw"),
>         PROPERTY_ENTRY_U32("silead,max-fingers", 10),
> +       PROPERTY_ENTRY_BOOL("silead,home-button"),
>         { }
>  };
>
> @@ -116,6 +118,7 @@ static const struct property_entry pov_mobii_wintab_p800w_props[] = {
>         PROPERTY_ENTRY_BOOL("touchscreen-swapped-x-y"),
>         PROPERTY_ENTRY_STRING("firmware-name",
>                               "gsl3692-pov-mobii-wintab-p800w.fw"),
> +       PROPERTY_ENTRY_BOOL("silead,home-button"),
>         { }
>  };
>
> @@ -143,6 +146,7 @@ static const struct property_entry chuwi_hi8_pro_props[] = {
>         PROPERTY_ENTRY_U32("touchscreen-size-y", 1148),
>         PROPERTY_ENTRY_BOOL("touchscreen-swapped-x-y"),
>         PROPERTY_ENTRY_STRING("firmware-name", "gsl3680-chuwi-hi8-pro.fw"),
> +       PROPERTY_ENTRY_BOOL("silead,home-button"),
>         { }
>  };
>
> --
> 2.14.1
>



-- 
With Best Regards,
Andy Shevchenko

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH v2 2/2] platform/x86: silead_dmi: Add silead,home-button property to some tablets
  2017-10-27 14:39   ` Andy Shevchenko
@ 2017-10-27 15:26     ` Hans de Goede
  2017-10-27 15:36       ` Andy Shevchenko
  2017-11-16 14:02       ` Hans de Goede
  0 siblings, 2 replies; 8+ messages in thread
From: Hans de Goede @ 2017-10-27 15:26 UTC (permalink / raw)
  To: Andy Shevchenko
  Cc: Dmitry Torokhov, Benjamin Tissoires, Darren Hart,
	Andy Shevchenko, linux-input, Platform Driver

Hi,

On 27-10-17 16:39, Andy Shevchenko wrote:
> On Tue, Oct 17, 2017 at 6:45 PM, Hans de Goede <hdegoede@redhat.com> wrote:
>> Add "silead,home-button" property to entries for tablets which have
>> a capacitive home button (typically a windows logo on the front).
>>
>> This new property is checked for by the new capacitive home button
>> support in the silead touchscreen driver.
>>
> 
> Acked-by: Andy Shevchenko <andy.shevchenko@gmail.com>
> 
> I suppose it's going through input subsystem as dependent patch?

Since silead_dmi tends to see several patches each cycle I don't
think that is a good idea, both patches can be merged independently.

Either patch will not do anything until the other one is merged,
having just one or the other present will not cause any problems,
so IMHO merging each patch separately is best.

It is probably a good idea to wait for an ack from RobH on the
property name before merging this though.

Regards,

Hans



> 
>> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
>> ---
>>   drivers/platform/x86/silead_dmi.c | 4 ++++
>>   1 file changed, 4 insertions(+)
>>
>> diff --git a/drivers/platform/x86/silead_dmi.c b/drivers/platform/x86/silead_dmi.c
>> index fadfce9b3f5f..ac304f2318cc 100644
>> --- a/drivers/platform/x86/silead_dmi.c
>> +++ b/drivers/platform/x86/silead_dmi.c
>> @@ -58,6 +58,7 @@ static const struct property_entry dexp_ursus_7w_props[] = {
>>          PROPERTY_ENTRY_U32("touchscreen-size-y", 630),
>>          PROPERTY_ENTRY_STRING("firmware-name", "gsl1686-dexp-ursus-7w.fw"),
>>          PROPERTY_ENTRY_U32("silead,max-fingers", 10),
>> +       PROPERTY_ENTRY_BOOL("silead,home-button"),
>>          { }
>>   };
>>
>> @@ -72,6 +73,7 @@ static const struct property_entry surftab_wintron70_st70416_6_props[] = {
>>          PROPERTY_ENTRY_STRING("firmware-name",
>>                                "gsl1686-surftab-wintron70-st70416-6.fw"),
>>          PROPERTY_ENTRY_U32("silead,max-fingers", 10),
>> +       PROPERTY_ENTRY_BOOL("silead,home-button"),
>>          { }
>>   };
>>
>> @@ -116,6 +118,7 @@ static const struct property_entry pov_mobii_wintab_p800w_props[] = {
>>          PROPERTY_ENTRY_BOOL("touchscreen-swapped-x-y"),
>>          PROPERTY_ENTRY_STRING("firmware-name",
>>                                "gsl3692-pov-mobii-wintab-p800w.fw"),
>> +       PROPERTY_ENTRY_BOOL("silead,home-button"),
>>          { }
>>   };
>>
>> @@ -143,6 +146,7 @@ static const struct property_entry chuwi_hi8_pro_props[] = {
>>          PROPERTY_ENTRY_U32("touchscreen-size-y", 1148),
>>          PROPERTY_ENTRY_BOOL("touchscreen-swapped-x-y"),
>>          PROPERTY_ENTRY_STRING("firmware-name", "gsl3680-chuwi-hi8-pro.fw"),
>> +       PROPERTY_ENTRY_BOOL("silead,home-button"),
>>          { }
>>   };
>>
>> --
>> 2.14.1
>>
> 
> 
> 

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH v2 2/2] platform/x86: silead_dmi: Add silead,home-button property to some tablets
  2017-10-27 15:26     ` Hans de Goede
@ 2017-10-27 15:36       ` Andy Shevchenko
  2017-11-16 14:02       ` Hans de Goede
  1 sibling, 0 replies; 8+ messages in thread
From: Andy Shevchenko @ 2017-10-27 15:36 UTC (permalink / raw)
  To: Hans de Goede
  Cc: Dmitry Torokhov, Benjamin Tissoires, Darren Hart,
	Andy Shevchenko, linux-input, Platform Driver

On Fri, Oct 27, 2017 at 6:26 PM, Hans de Goede <hdegoede@redhat.com> wrote:
> On 27-10-17 16:39, Andy Shevchenko wrote:
>> On Tue, Oct 17, 2017 at 6:45 PM, Hans de Goede <hdegoede@redhat.com>
>> wrote:
>>>
>>> Add "silead,home-button" property to entries for tablets which have
>>> a capacitive home button (typically a windows logo on the front).
>>>
>>> This new property is checked for by the new capacitive home button
>>> support in the silead touchscreen driver.

>> Acked-by: Andy Shevchenko <andy.shevchenko@gmail.com>
>>
>> I suppose it's going through input subsystem as dependent patch?

> Since silead_dmi tends to see several patches each cycle I don't
> think that is a good idea, both patches can be merged independently.
>
> Either patch will not do anything until the other one is merged,
> having just one or the other present will not cause any problems,
> so IMHO merging each patch separately is best.

Fine.

> It is probably a good idea to wait for an ack from RobH on the
> property name before merging this though.

Yes, this is good advice. Let's wait for Rob's Ack.

-- 
With Best Regards,
Andy Shevchenko

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH v2 2/2] platform/x86: silead_dmi: Add silead,home-button property to some tablets
  2017-10-27 15:26     ` Hans de Goede
  2017-10-27 15:36       ` Andy Shevchenko
@ 2017-11-16 14:02       ` Hans de Goede
  2017-11-17 16:15         ` Andy Shevchenko
  1 sibling, 1 reply; 8+ messages in thread
From: Hans de Goede @ 2017-11-16 14:02 UTC (permalink / raw)
  To: Andy Shevchenko
  Cc: Dmitry Torokhov, Benjamin Tissoires, Darren Hart,
	Andy Shevchenko, linux-input, Platform Driver

Hi,

On 27-10-17 17:26, Hans de Goede wrote:
> Hi,
> 
> On 27-10-17 16:39, Andy Shevchenko wrote:
>> On Tue, Oct 17, 2017 at 6:45 PM, Hans de Goede <hdegoede@redhat.com> wrote:
>>> Add "silead,home-button" property to entries for tablets which have
>>> a capacitive home button (typically a windows logo on the front).
>>>
>>> This new property is checked for by the new capacitive home button
>>> support in the silead touchscreen driver.
>>>
>>
>> Acked-by: Andy Shevchenko <andy.shevchenko@gmail.com>
>>
>> I suppose it's going through input subsystem as dependent patch?
> 
> Since silead_dmi tends to see several patches each cycle I don't
> think that is a good idea, both patches can be merged independently.
> 
> Either patch will not do anything until the other one is merged,
> having just one or the other present will not cause any problems,
> so IMHO merging each patch separately is best.
> 
> It is probably a good idea to wait for an ack from RobH on the
> property name before merging this though.

This has been Acked by Rob now, so this patch is ready for merging.
As discussed before both patches can be merged independently of
each other.

Regards,

Hans



>>> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
>>> ---
>>>   drivers/platform/x86/silead_dmi.c | 4 ++++
>>>   1 file changed, 4 insertions(+)
>>>
>>> diff --git a/drivers/platform/x86/silead_dmi.c b/drivers/platform/x86/silead_dmi.c
>>> index fadfce9b3f5f..ac304f2318cc 100644
>>> --- a/drivers/platform/x86/silead_dmi.c
>>> +++ b/drivers/platform/x86/silead_dmi.c
>>> @@ -58,6 +58,7 @@ static const struct property_entry dexp_ursus_7w_props[] = {
>>>          PROPERTY_ENTRY_U32("touchscreen-size-y", 630),
>>>          PROPERTY_ENTRY_STRING("firmware-name", "gsl1686-dexp-ursus-7w.fw"),
>>>          PROPERTY_ENTRY_U32("silead,max-fingers", 10),
>>> +       PROPERTY_ENTRY_BOOL("silead,home-button"),
>>>          { }
>>>   };
>>>
>>> @@ -72,6 +73,7 @@ static const struct property_entry surftab_wintron70_st70416_6_props[] = {
>>>          PROPERTY_ENTRY_STRING("firmware-name",
>>>                                "gsl1686-surftab-wintron70-st70416-6.fw"),
>>>          PROPERTY_ENTRY_U32("silead,max-fingers", 10),
>>> +       PROPERTY_ENTRY_BOOL("silead,home-button"),
>>>          { }
>>>   };
>>>
>>> @@ -116,6 +118,7 @@ static const struct property_entry pov_mobii_wintab_p800w_props[] = {
>>>          PROPERTY_ENTRY_BOOL("touchscreen-swapped-x-y"),
>>>          PROPERTY_ENTRY_STRING("firmware-name",
>>>                                "gsl3692-pov-mobii-wintab-p800w.fw"),
>>> +       PROPERTY_ENTRY_BOOL("silead,home-button"),
>>>          { }
>>>   };
>>>
>>> @@ -143,6 +146,7 @@ static const struct property_entry chuwi_hi8_pro_props[] = {
>>>          PROPERTY_ENTRY_U32("touchscreen-size-y", 1148),
>>>          PROPERTY_ENTRY_BOOL("touchscreen-swapped-x-y"),
>>>          PROPERTY_ENTRY_STRING("firmware-name", "gsl3680-chuwi-hi8-pro.fw"),
>>> +       PROPERTY_ENTRY_BOOL("silead,home-button"),
>>>          { }
>>>   };
>>>
>>> -- 
>>> 2.14.1
>>>
>>
>>
>>

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH v2 2/2] platform/x86: silead_dmi: Add silead,home-button property to some tablets
  2017-11-16 14:02       ` Hans de Goede
@ 2017-11-17 16:15         ` Andy Shevchenko
  0 siblings, 0 replies; 8+ messages in thread
From: Andy Shevchenko @ 2017-11-17 16:15 UTC (permalink / raw)
  To: Hans de Goede
  Cc: Dmitry Torokhov, Benjamin Tissoires, Darren Hart,
	Andy Shevchenko, linux-input, Platform Driver

On Thu, Nov 16, 2017 at 4:02 PM, Hans de Goede <hdegoede@redhat.com> wrote:
> On 27-10-17 17:26, Hans de Goede wrote:
>> On 27-10-17 16:39, Andy Shevchenko wrote:
>>> On Tue, Oct 17, 2017 at 6:45 PM, Hans de Goede <hdegoede@redhat.com>
>>> wrote:

>>>> Add "silead,home-button" property to entries for tablets which have
>>>> a capacitive home button (typically a windows logo on the front).
>>>>
>>>> This new property is checked for by the new capacitive home button
>>>> support in the silead touchscreen driver.
>>>>
>>>
>>> Acked-by: Andy Shevchenko <andy.shevchenko@gmail.com>
>>>
>>> I suppose it's going through input subsystem as dependent patch?
>>
>>
>> Since silead_dmi tends to see several patches each cycle I don't
>> think that is a good idea, both patches can be merged independently.
>>
>> Either patch will not do anything until the other one is merged,
>> having just one or the other present will not cause any problems,
>> so IMHO merging each patch separately is best.
>>
>> It is probably a good idea to wait for an ack from RobH on the
>> property name before merging this though.
>
>
> This has been Acked by Rob now, so this patch is ready for merging.
> As discussed before both patches can be merged independently of
> each other.

Pushed to my review and testing queue, thanks!

-- 
With Best Regards,
Andy Shevchenko

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2017-11-17 16:15 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-17 15:45 [PATCH v2 1/2] Input: silead - Add support for capactive home button found on some x86 tablets Hans de Goede
2017-10-17 15:45 ` [PATCH v2 2/2] platform/x86: silead_dmi: Add silead,home-button property to some tablets Hans de Goede
2017-10-27 14:39   ` Andy Shevchenko
2017-10-27 15:26     ` Hans de Goede
2017-10-27 15:36       ` Andy Shevchenko
2017-11-16 14:02       ` Hans de Goede
2017-11-17 16:15         ` Andy Shevchenko
2017-10-17 20:13 ` [PATCH v2 1/2] Input: silead - Add support for capactive home button found on some x86 tablets Dmitry Torokhov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.