Received: by 2002:ab2:6d45:0:b0:1fb:d597:ff75 with SMTP id d5csp196181lqr; Wed, 5 Jun 2024 03:22:30 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWKwUf/Oq+13eCA+ISQxLDvI4oqF6e/uHI1IeLgkkasfOZQxlLPctHzeX31lDhIgC6LvPPWHsHgwjW62T8zpMAFZirYn39ZUUlbF8dyCw== X-Google-Smtp-Source: AGHT+IHQ5uIhWsHik+9SGKP3O90IxB1VepeOmCwv9n4oo2g8c2OCDjm/ePRykODZbb5mkjx/n8me X-Received: by 2002:a05:6e02:b45:b0:374:ae33:41d with SMTP id e9e14a558f8ab-374b1f3e34emr22998275ab.21.1717582950279; Wed, 05 Jun 2024 03:22:30 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717582950; cv=pass; d=google.com; s=arc-20160816; b=ceBdE56wV5nIQL5cLdtzUohw8A8vtxXLHGZ28Rqd6i8kq60Flutqyw9+8t7i7NYknn XR618xUqfArwpZnOgGPGVNEWPiQEeoeBDnas7xCxmdwTklgvOCFwgnI9Jd8qutGUoV4D 7ZxPUB0d6eaN1pwy/r7x8FnielEArBfoqDuGYk+yKlMYT7CiU7edmX4nk7X38pBGNIo4 qrwDLx9A8kSAA006mdc0AbmmAVuPg+2zPmxYPbAFMG0OinqgzTPKUMUXMWNlMugulaKx iShzYzJeLdB832xEKRCW15Gnzv2D6rMFYyX3RT9AIi+9mA5wz7+uA/WLuLywXMNfGBlJ YXdg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:content-language :from:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=CUFQbXMixE9Jlglq41Z8v+ELO5nwo5u3AtM/sc4l73o=; fh=6hXvWYloAK2nVzHc2+DBz1tihW1EGu+Jbkg962HwmcM=; b=bvNuflPnjwlgTqW3q/zAqUyCNsmE8zfII8Iu4icPTZ0c3RwZttl6kBbfA/GFNn60rE HtHA7/tLO5vH+bLQD9l2UnL89OOkg35Ujm8M7RZmBaEIw0l6+QNZeMstrQ8banxFaiw6 DxTaizgtjkmN56LoPAi66mnvg5TLh9bNt42wxhCmvA30+okCaK7rwuWlDvze5tKIK11l qHP3OaHikf6rrIgAAnL2VmCyD5j88FQanoElx3Q8P+Gelz51ttngpv95k0i2lvh/hpBE h6z5CFY4Qk6v3TESQyRP/LH5tGBZ6YB5OPWBTDsLxdNBwgK71esp3F44okda2VScg/8a LfIg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=u5Lw+8H7; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-202189-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-202189-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 41be03b00d2f7-6c3540f9125si10204555a12.64.2024.06.05.03.22.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jun 2024 03:22:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-202189-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=u5Lw+8H7; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-202189-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-202189-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id D93C4282B4F for ; Wed, 5 Jun 2024 10:22:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BE343190497; Wed, 5 Jun 2024 10:22:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="u5Lw+8H7" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 DAF3C1946D2; Wed, 5 Jun 2024 10:22:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717582942; cv=none; b=rzo66HIN9i7LMfJsae+id92SPI4lE0vu8wggG71BmBF1pnTS8yJcfJAo8MsMi8AUuTVUp5luyrgQn1JExblee+Ler+gFc9BSVBfH5pnOXfoeDXDqfQstSrx3/wRejzi5HjG1mQf7Yd4BNMIuBQyaudGud1kbDOWF/VbfaAfT8FU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717582942; c=relaxed/simple; bh=jIRscIuPUGy630eFqO8dPIPCeaaXVjFacY0w2qRNuUY=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=gaXAMva03Zvj8439R1Y/hKaH0kuAhiYKIiLtqWm+reTEyuxQ1XN1uLvIFSm9aDIKQkWqh6A2aR0sFWiQMGthH7gf3bFRcRyYAz+m2ULmXGNbiVuU0U8U7KhZsC4GnxRqKEvROMJ+o3sUliKcr+PJ7FEygXseHEhj8ol4TGdjOqU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=u5Lw+8H7; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5CC6FC3277B; Wed, 5 Jun 2024 10:22:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1717582941; bh=jIRscIuPUGy630eFqO8dPIPCeaaXVjFacY0w2qRNuUY=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=u5Lw+8H7nWih2bzvafldRz9FgNDZi7yduX2tGeuh6hdu2IOL+WdOkrfpIRHv5F8va ZYwWhPuNxw6R43NA7BkGZdTTJa/iZ0vQXhHAVGxffXj28Ly2naa1CV/fmMUbO9ZpMg Wwjvrb2euEvyMRUZHXi/dhi9D/xoxRsZNza2Dpe+Mp9oGWwlx7Zl16Tj/wt2aATKxK gOxyEdEfVztwp1tcjyDvLHezO7lp8J5T76Q/KH/6zSub/+rMLLIrk/zsg3xv57KC/c E5CfMIhA1JcpzKdp+oeEPLF0bX0knQl5XTdqlK6iHyKXHRLoQ72ElduoAOjCYX9Uh6 Z3BT5/nc7Al4Q== Message-ID: <4d8b7fe5-a566-49f7-8924-3c310af2f7cd@kernel.org> Date: Wed, 5 Jun 2024 12:22:16 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH V2 3/5] Add aw9610x series related interfaces to the aw_sar driver. To: wangshuaijie@awinic.com, dmitry.torokhov@gmail.com, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, jeff@labundy.com, linux-input@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: liweilei@awinic.com, kangjiajun@awinic.com References: <20240605091143.163789-1-wangshuaijie@awinic.com> <20240605091143.163789-4-wangshuaijie@awinic.com> From: Krzysztof Kozlowski Content-Language: en-US Autocrypt: addr=krzk@kernel.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy12FA5GduRLhQU vK4tU7ojoem/G23PcowM1CwPurC8sAVsQb9KmwTGh7rVz3ks3w/zfGBy3+WmLg++C2Wct6nM Pd8/6CBVjEWqD06/RjI2AnjIq5fSEH/BIfXXfC68nMp9BZoy3So4ZsbOlBmtAPvMYX6U8VwD TNeBxJu5Ex0Izf1NV9CzC3nNaFUYOY8KfN01X5SExAoVTr09ewARAQABzSVLcnp5c3p0b2Yg S296bG93c2tpIDxrcnprQGtlcm5lbC5vcmc+wsGVBBMBCgA/AhsDBgsJCAcDAgYVCAIJCgsE FgIDAQIeAQIXgBYhBJvQfg4MUfjVlne3VBuTQ307QWKbBQJgPO8PBQkUX63hAAoJEBuTQ307 QWKbBn8P+QFxwl7pDsAKR1InemMAmuykCHl+XgC0LDqrsWhAH5TYeTVXGSyDsuZjHvj+FRP+ gZaEIYSw2Y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dt 91pFzBSOIpeMtfgb/Pfe/a1WJ/GgaIRIBE+NUqckM+3zJHGmVPqJP/h2Iwv6nw8U+7Yyl6gU BLHFTg2hYnLFJI4Xjg+AX1hHFVKmvl3VBHIsBv0oDcsQWXqY+NaFahT0lRPjYtrTa1v3tem/ JoFzZ4B0p27K+qQCF2R96hVvuEyjzBmdq2esyE6zIqftdo4MOJho8uctOiWbwNNq2U9pPWmu 4vXVFBYIGmpyNPYzRm0QPwARAQABwsF8BBgBCgAmAhsMFiEEm9B+DgxR+NWWd7dUG5NDfTtB YpsFAmA872oFCRRflLYACgkQG5NDfTtBYpvScw/9GrqBrVLuJoJ52qBBKUBDo4E+5fU1bjt0 Gv0nh/hNJuecuRY6aemU6HOPNc2t8QHMSvwbSF+Vp9ZkOvrM36yUOufctoqON+wXrliEY0J4 ksR89ZILRRAold9Mh0YDqEJc1HmuxYLJ7lnbLYH1oui8bLbMBM8S2Uo9RKqV2GROLi44enVt vdrDvo+CxKj2K+d4cleCNiz5qbTxPUW/cgkwG0lJc4I4sso7l4XMDKn95c7JtNsuzqKvhEVS oic5by3fbUnuI0cemeizF4QdtX2uQxrP7RwHFBd+YUia7zCcz0//rv6FZmAxWZGy5arNl6Vm lQqNo7/Poh8WWfRS+xegBxc6hBXahpyUKphAKYkah+m+I0QToCfnGKnPqyYIMDEHCS/RfqA5 t8F+O56+oyLBAeWX7XcmyM6TGeVfb+OZVMJnZzK0s2VYAuI0Rl87FBFYgULdgqKV7R7WHzwD uZwJCLykjad45hsWcOGk3OcaAGQS6NDlfhM6O9aYNwGL6tGt/6BkRikNOs7VDEa4/HlbaSJo 7FgndGw1kWmkeL6oQh7wBvYll2buKod4qYntmNKEicoHGU+x91Gcan8mCoqhJkbqrL7+nXG2 5Q/GS5M9RFWS+nYyJh+c3OcfKqVcZQNANItt7+ULzdNJuhvTRRdC3g9hmCEuNSr+CLMdnRBY fv0= In-Reply-To: <20240605091143.163789-4-wangshuaijie@awinic.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 05/06/2024 11:11, wangshuaijie@awinic.com wrote: > From: shuaijie wang > No commit msg, no proper subject prefix. > Signed-off-by: shuaijie wang > | Reported-by: kernel test robot > | Reported-by: Dan Carpenter > | Reported-by: Dan Carpenter Drop all these, this is some bogus tags. Tag never starts with pipe, btw. > --- > drivers/input/misc/aw_sar/aw9610x/aw9610x.c | 884 ++++++++++++++++++++ > drivers/input/misc/aw_sar/aw9610x/aw9610x.h | 327 ++++++++ > 2 files changed, 1211 insertions(+) > create mode 100644 drivers/input/misc/aw_sar/aw9610x/aw9610x.c > create mode 100644 drivers/input/misc/aw_sar/aw9610x/aw9610x.h ... > +struct aw_reg_data { > + unsigned char rw; > + unsigned short reg; > +}; > +/******************************************** > + * Register Access > + *******************************************/ > +#define REG_NONE_ACCESS (0) > +#define REG_RD_ACCESS (1 << 0) > +#define REG_WR_ACCESS (1 << 1) > + > +static const struct aw_reg_data g_aw9610x_reg_access[] = { Ehh... so we are at basics of C. Data structures do not go to headers. Best regards, Krzysztof