Received: by 2002:a89:413:0:b0:1fd:dba5:e537 with SMTP id m19csp58468lqs; Thu, 13 Jun 2024 03:57:11 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXsjtxJ4ka6tbRS+OY1LV6c6nzSwa9l2ln+jRUTw4Zoofs5ASsxUFRlbSPmlB6M12bZ9krS0ETHOpLOilU4zQKnw6xZTWJ9HOGKwhQY2A== X-Google-Smtp-Source: AGHT+IEWb7ymuz88zJYinnqND5Ynh5a37rmzedk48ge9+y09xd7oOE7m9q1XiYLPoj38dKhsKmya X-Received: by 2002:ac8:5812:0:b0:442:1282:a40d with SMTP id d75a77b69052e-4421282a663mr5895561cf.0.1718276230784; Thu, 13 Jun 2024 03:57:10 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718276230; cv=pass; d=google.com; s=arc-20160816; b=HTi0+kIXKpje7Lw59QXbwS0hYXefyRDIJqpfExAqt2BCl2QZbh7qAZO/JFdPeBRnxZ dTG0ZDTWfZdxm+OHJ8eKvixsKVd1bmZSfyHJS0jp5MV3LH46uOFOMJs+s3y+hp757KE4 nrZBHvflXGIE8AYlJcnpBzXiv39PmMI8huD/dMEkYImgyrB+Y6IE2qQmhX06mNj+61Vj iPAcOE8Kgm5SOiwVEONOeIJcpUua/ktNQBUvXVR5zn/aCv9GiWEQUSIec7dhQkbXoaiV lfboOD3a42sG8IVXqKIUPaVFZy3C/XbUeUHeeAHGtzfJbSdVIk/XZKsy/BMT6xHAFxir WGoA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=ijhM+m7E96E1fCmRLDXcrlOSuLVUI5wfTRWpSbvcwXA=; fh=B0df/0kkN1zmq8js24fE0J27ikr5c/jNW8We94qmOsk=; b=c16HewzF5Yl2zCosgKf/LshcKekv0b0RJf8bYmByKfwwTkx9kcCjKe3JMDWX5dA6VA bktPvqjAtqbks9dUUsclCGXffprZPrH2/RceSZ6Y4Dy5PTD1HNSL6SmPLnA+ENQwzrFw u7qvLoD7UhU3ugtqJ0j5dF1esp+14D0n7pVdTdAjp4/QhKVHAXCBvkdeLq9NG6T2ZI4s ERHJZMBUTlbGOcuv8eYrFHeecOTLdpuRuvL4ImdLgFM29rzZkgPtssHwhtmiTdTemajt EcM9rmG5nEDgQj0/lm6XrJg48bf9zU3KH96h+AUWoTlnDecb89xtB3It3IZSI9WYG6oZ 5nrA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@t-8ch.de header.s=mail header.b=kNWiB2Mg; arc=pass (i=1 spf=pass spfdomain=t-8ch.de dkim=pass dkdomain=t-8ch.de dmarc=pass fromdomain=t-8ch.de); spf=pass (google.com: domain of linux-kernel+bounces-213064-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-213064-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=t-8ch.de Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id d75a77b69052e-441f3126bc2si12196881cf.791.2024.06.13.03.57.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jun 2024 03:57:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-213064-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@t-8ch.de header.s=mail header.b=kNWiB2Mg; arc=pass (i=1 spf=pass spfdomain=t-8ch.de dkim=pass dkdomain=t-8ch.de dmarc=pass fromdomain=t-8ch.de); spf=pass (google.com: domain of linux-kernel+bounces-213064-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-213064-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=t-8ch.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 802461C242F3 for ; Thu, 13 Jun 2024 10:57:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E70FA1428F7; Thu, 13 Jun 2024 10:57:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=t-8ch.de header.i=@t-8ch.de header.b="kNWiB2Mg" Received: from todd.t-8ch.de (todd.t-8ch.de [159.69.126.157]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C3923DDB1; Thu, 13 Jun 2024 10:57:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=159.69.126.157 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718276225; cv=none; b=WQ6ReaxENkJ2zzp3cz9IBhFI4tmCMKdnHVpaX4BguL63j02Sim6edxdOAmx1fT5z1Xb+WVNovyeze90bAWnTmj7pJ6gyFr3bv3s6O85a5492KJQr88Kb6MqVnrNaLdY7bg7lO6sRbOtdbqVxbv1Qpm03r0YrJagfCUkuhRr5Y3Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718276225; c=relaxed/simple; bh=k2Ywj6S/aj3jQl2/FwtOonbWt/mPoRiF349h2px3ZHk=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=rTPymj0I5s38VWP8lUZsPU7lJS0iZKPF+Qx3hupUoP9e7m3l9ZTUNPuJfA3D+q54E6zp8fc3N7EbuXOFUyMTONtaigNMqhzEspTOthDQ0vVhiV2pzFAbyC7yKzmr47b/6PDSDV3NP9od3pFsSPaIUQxgx/aIbYejHRfFq5jibn0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=t-8ch.de; spf=pass smtp.mailfrom=t-8ch.de; dkim=pass (1024-bit key) header.d=t-8ch.de header.i=@t-8ch.de header.b=kNWiB2Mg; arc=none smtp.client-ip=159.69.126.157 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=t-8ch.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=t-8ch.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=t-8ch.de; s=mail; t=1718276219; bh=k2Ywj6S/aj3jQl2/FwtOonbWt/mPoRiF349h2px3ZHk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=kNWiB2MgXS5oqh0omzHtXljggate1ANe/pYoqNHtmgQky1JjtpDSVyGzq43PnVDFi 3FysTeQYLJWyRc5kjvADTbh+igXkT17n22sQLQ2/Wc/E8dwa/Uwn0+W4MiV6qly2gP sebS1XCYc2ppMwwJu6LRGrNZhHkt0BnjxMdDcCs0= Date: Thu, 13 Jun 2024 12:56:59 +0200 From: Thomas =?utf-8?Q?Wei=C3=9Fschuh?= To: Charles Wang Cc: dmitry.torokhov@gmail.com, jikos@kernel.org, bentiss@kernel.org, hbarnor@chromium.org, dianders@chromium.org, linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3] HID: hid-goodix: Add Goodix HID-over-SPI driver Message-ID: References: <20240607133709.3518-1-charles.goodix@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240607133709.3518-1-charles.goodix@gmail.com> On 2024-06-07 21:36:02+0000, Charles Wang wrote: > diff --git a/drivers/hid/hid-goodix-spi.c b/drivers/hid/hid-goodix-spi.c > new file mode 100644 > index 000000000..7ba7016e1 > --- /dev/null > +++ b/drivers/hid/hid-goodix-spi.c > @@ -0,0 +1,687 @@ > +// SPDX-License-Identifier: GPL-2.0-or-later > +/* > + * Goodix GT7986U SPI Driver Code for HID. > + * > + * Copyright (C) 2024 Godix, Inc. Goodix, Inc > + */ > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +static struct hid_ll_driver goodix_hid_ll_driver = { const > + .parse = goodix_hid_parse, > + .start = goodix_hid_start, > + .stop = goodix_hid_stop, > + .open = goodix_hid_open, > + .close = goodix_hid_close, > + .raw_request = goodix_hid_raw_request comma > +};