From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 78164C54EBE for ; Thu, 12 Jan 2023 17:41:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235748AbjALRlW (ORCPT ); Thu, 12 Jan 2023 12:41:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56906 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235762AbjALRkp (ORCPT ); Thu, 12 Jan 2023 12:40:45 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 48E456D50A for ; Thu, 12 Jan 2023 08:59:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1673542746; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=+r/hXDRD0/hcU6hWbPEHUg56pIsqoho5eKzvwcPaPp4=; b=h6QxG3rmB0s1RMv5TIjOxtBlbgk65D8ixSvoAQAMUZIT1zrLr382qVUMKpoWlRYotlNuzy 7GyNJC6oK9G1Xxmqi6FdSy2RJAQ+uJCjiT3pomG8tIxkjFMDpjNpReWiweBDh4vMOJzQWj 2Zey8VdO9J/6MYnSSXXO6PfEIGkR0io= Received: from mail-ej1-f69.google.com (mail-ej1-f69.google.com [209.85.218.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-380-ROaRe0YQNvOteXv4iJRvag-1; Thu, 12 Jan 2023 11:45:41 -0500 X-MC-Unique: ROaRe0YQNvOteXv4iJRvag-1 Received: by mail-ej1-f69.google.com with SMTP id ne31-20020a1709077b9f00b00866545f69d6so1904478ejc.23 for ; Thu, 12 Jan 2023 08:45:41 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=+r/hXDRD0/hcU6hWbPEHUg56pIsqoho5eKzvwcPaPp4=; b=aKylr00g9m8l+K2Umy7ia1r98yhe6TH1HRU8jTVat2CiZudU3Tzc7UBWTNvviXw9gt +SKW1BOTe98P3MK9LIpOFi7+OwtCPaOs7BGE88bxptF7DI3pdL5o0BEOlKdb7mpF2kBv V6euwjsKl6gW2RmTvGWlRDYr/j8DzCGRp6+uyDufUhRS2anK0Nrw9+cm95nEWr3+nRKv AbozK/w6/OIhD6udVREol2ehfjXSO38FvkRXd6D5hfJ9WhSJoV4VHcgV1/7VBNQOkPAM DBqWzCkKNpZP6Rk0P8BK2zMagheKQW1f2wWyKtEKBf4UQORXl0N5fUHyl6N34Mm9HogA u/zA== X-Gm-Message-State: AFqh2kpUWYc27A+xWEVKDjYUjkcjuLNVrgg788qdOZsdSdBzaTbmZzLD 6qLPj9L31S32Ju3hmTRwrKYZOcex42lymh2JaCN43Wmynb/UPTyLXpySkyn29gomReUS41zjzzQ 15BoYyi25737gd6gG2JRnJw8= X-Received: by 2002:a05:6402:550a:b0:47f:bc9b:46ec with SMTP id fi10-20020a056402550a00b0047fbc9b46ecmr58228727edb.7.1673541940728; Thu, 12 Jan 2023 08:45:40 -0800 (PST) X-Google-Smtp-Source: AMrXdXtRYPCHtPxgfBu2NjQVazdJUM1l0A2rkq+Yvs5GMxjRsWo61/WLz2yRlHT8LDFL0nFXshrMQQ== X-Received: by 2002:a05:6402:550a:b0:47f:bc9b:46ec with SMTP id fi10-20020a056402550a00b0047fbc9b46ecmr58228716edb.7.1673541940564; Thu, 12 Jan 2023 08:45:40 -0800 (PST) Received: from ?IPV6:2001:1c00:c32:7800:5bfa:a036:83f0:f9ec? (2001-1c00-0c32-7800-5bfa-a036-83f0-f9ec.cable.dynamic.v6.ziggo.nl. [2001:1c00:c32:7800:5bfa:a036:83f0:f9ec]) by smtp.gmail.com with ESMTPSA id i12-20020aa7dd0c000000b0047021294426sm7301988edv.90.2023.01.12.08.45.39 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 12 Jan 2023 08:45:39 -0800 (PST) Message-ID: <9b4cea4f-46dd-86da-d54a-0aa43bd00b4d@redhat.com> Date: Thu, 12 Jan 2023 17:45:39 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0 Subject: Re: [PATCH] platform/x86: touchscreen_dmi: Add info for the CSL Panther Tab HD Content-Language: en-US, nl To: Michael Klein , Mark Gross , linux-input@vger.kernel.org, platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org References: <20221220121103.uiwn5l7fii2iggct@LLGMVZLB-0037> From: Hans de Goede In-Reply-To: <20221220121103.uiwn5l7fii2iggct@LLGMVZLB-0037> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org Hi, On 12/20/22 13:11, Michael Klein wrote: > Add touchscreen info for the CSL Panther Tab HD. > > Signed-off-by: Michael Klein Thank you for your patch, I've applied this patch to my fixes branch: https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git/log/?h=fixes Note it will show up in my fixes branch once I've pushed my local branch there, which might take a while. I will include this patch in my next fixes pull-req to Linus for the current kernel development cycle. Regards, Hans > --- > drivers/platform/x86/touchscreen_dmi.c | 25 +++++++++++++++++++++++++ > 1 file changed, 25 insertions(+) > > diff --git a/drivers/platform/x86/touchscreen_dmi.c b/drivers/platform/x86/touchscreen_dmi.c > index baae3120efd0..f00995390fdf 100644 > --- a/drivers/platform/x86/touchscreen_dmi.c > +++ b/drivers/platform/x86/touchscreen_dmi.c > @@ -264,6 +264,23 @@ static const struct ts_dmi_data connect_tablet9_data = { > .properties = connect_tablet9_props, > }; > > +static const struct property_entry csl_panther_tab_hd_props[] = { > + PROPERTY_ENTRY_U32("touchscreen-min-x", 1), > + PROPERTY_ENTRY_U32("touchscreen-min-y", 20), > + PROPERTY_ENTRY_U32("touchscreen-size-x", 1980), > + PROPERTY_ENTRY_U32("touchscreen-size-y", 1526), > + PROPERTY_ENTRY_BOOL("touchscreen-inverted-y"), > + PROPERTY_ENTRY_BOOL("touchscreen-swapped-x-y"), > + PROPERTY_ENTRY_STRING("firmware-name", "gsl1680-csl-panther-tab-hd.fw"), > + PROPERTY_ENTRY_U32("silead,max-fingers", 10), > + { } > +}; > + > +static const struct ts_dmi_data csl_panther_tab_hd_data = { > + .acpi_name = "MSSL1680:00", > + .properties = csl_panther_tab_hd_props, > +}; > + > static const struct property_entry cube_iwork8_air_props[] = { > PROPERTY_ENTRY_U32("touchscreen-min-x", 1), > PROPERTY_ENTRY_U32("touchscreen-min-y", 3), > @@ -1124,6 +1141,14 @@ const struct dmi_system_id touchscreen_dmi_table[] = { > DMI_MATCH(DMI_PRODUCT_NAME, "Tablet 9"), > }, > }, > + { > + /* CSL Panther Tab HD */ > + .driver_data = (void *)&csl_panther_tab_hd_data, > + .matches = { > + DMI_MATCH(DMI_SYS_VENDOR, "CSL Computer GmbH & Co. KG"), > + DMI_MATCH(DMI_PRODUCT_NAME, "CSL Panther Tab HD"), > + }, > + }, > { > /* CUBE iwork8 Air */ > .driver_data = (void *)&cube_iwork8_air_data,