Received: by 2002:ab2:68c1:0:b0:1fd:9a81:d0e4 with SMTP id e1csp154411lqp; Sat, 8 Jun 2024 09:51:17 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXrWFmBBsN3RLppLvbc6kiplsz8O0JFu66/EcUmQl2QQopHM6jDBNytxO+vOGcLjJiCouTiBEORnvkAhy1JjJ8r6beX+M6d81jBXFLNMg== X-Google-Smtp-Source: AGHT+IEfAzDEWoHwxE3isXs/F3nSxSO30qfDQZTcz4AEgk0yGIHTW6ipz1JEPPrVlPyNFjo2k7Ch X-Received: by 2002:a50:d75c:0:b0:57c:6f0a:bc57 with SMTP id 4fb4d7f45d1cf-57c6f0abe82mr966704a12.36.1717865477694; Sat, 08 Jun 2024 09:51:17 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717865477; cv=pass; d=google.com; s=arc-20160816; b=AkJffISE6KEPXGj5yzMRu/OTRj5MvL1l5La69SgCNEoNfIb+9cuzDqdFzASL8xBt1m MHVk5GZVoObm0XJ8aRu8vw55tb1XqYakU+5Yxr8sjVdKMcjXntDDooRcSFSF+Dp5PBrG 0kMUQOLK9l2lxS+Io4mHvokkTkcNFEa0xl5ymIs0qhBP7DNP7Y3DvH9PS5fhU8QDvfo8 zpZUwgJqD/j2M+qYbLZoHEWexq/iXVvXzbczaSJ8AN7tN7+fsRWxjMgXYCBCsceWU9b/ jl1m7t9EZiCj4SyYS2aZ16nhUhsry+9JRlxpksCk/MAmKuWe3rQW4adWRSgN6YvRoI7V JkJQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=sVAfNsF/nJa58JNFi2k1fhw2/eqwQEXFBUUqSNSrte0=; fh=LHOIUCpLfQj+0LFHySmisXS74rADgnQaFQTLhab3TyI=; b=qipCmZXkG3LoO4IQPTXucK/K/n014STuN3hbfKOfeAPMTMBS06djUZbuP/0q2gcIml j+Zct96fP307crbTPXh38bhuJfxrudcYMAJVrO1IvIsODJBRC241uIj4KSJk8mii3vfG 5UfqqSKZ91BlxzrUdWoPurM/4cCMvSywSQL3J60FE2VuoRUzrxqmoUSB9EAHkkvOYj85 /MMewWSf3qqNixsfR16z89+Up+i8MjfkYzWRfLLiVtg8dZZTPrZnQV4EEvJRD4Amz8dK 0O1dfEYCRELAZjY0rDVSI6qbB+fv7d7pWc/etQ9chmtEJjz5R79x8BEPHOtnH5hMfuc+ pBmg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=LqNLbxpN; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-207145-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-207145-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-57aae264b6fsi3060529a12.559.2024.06.08.09.51.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 08 Jun 2024 09:51:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-207145-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=LqNLbxpN; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-207145-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-207145-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 694C21F21E22 for ; Sat, 8 Jun 2024 16:51:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F017217B514; Sat, 8 Jun 2024 16:51:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="LqNLbxpN" 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 201B917B40C; Sat, 8 Jun 2024 16:51:03 +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=1717865464; cv=none; b=Sg+6YwFynF7CXk3EgonE3Pjn8h4DyEpWw+1sL5b8NciaTazS3BYjzMNYPFbco3qG4TAUDSucF0GML6WygmWb0D3XnGXvZGVhh5/sB0yIc6aGqphDI6oSrkiwpDRCFQd4CNzFgn+rdL7HN6PGRbdTp4dNUyg5W5ndLSh5esdgAio= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717865464; c=relaxed/simple; bh=IQ90R2FuFOLtL9zURwpn4VJSVHRr+OodPaTn8siTP2E=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=eqHloIFpdVf/L/rDuR6A3jeRQZoTUs6tubOtCQ/Au6ojd2V5QYWFOb29LGvtIlJIjdy+7ozrq/Vby9dIvToy6nLsTw2bAqbQmTyIJyzAExIuLMd3UW6oYamhD9kIbepX62MPzOKGF11WC9FLTmXvWpioJ9ITLA7PLaEKYhlM3gQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=LqNLbxpN; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 019B3C2BD11; Sat, 8 Jun 2024 16:50:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1717865463; bh=IQ90R2FuFOLtL9zURwpn4VJSVHRr+OodPaTn8siTP2E=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=LqNLbxpNyiivJAreM2nEUIoquuXv5sjatX+kYef9Crz8YapA7pk3FH1VY5wIeQleq rejPvZsPW0vaYtmKi+lDV12vFEPHt09oxGhdiiQADSZojfYS24slGNT71hybzjLvzF AEB/YTYWb4c0H6mYRzcUnK/ORKZltpCy2BBjciRPVRs2uen0ujHRDAF824QceEbISZ HGiFhBgcijNFV3fyamb+/famUWgQMaJZxbaa7Szrsr7oLPYCtLEbMm2jgEx+nvgbNt j8Gh4aje0oiMDBJkoa4Ru2ez5sKO7fK1QUJgTul76HSCb/fYFhSnh2f0etvrgqGNYT /SudlxK0SaYGw== Date: Sat, 8 Jun 2024 17:50:55 +0100 From: Jonathan Cameron To: Yasin Lee Cc: andy.shevchenko@gmail.com, lars@metafoo.de, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, nuno.a@analog.com, swboyd@chromium.org, u.kleine-koenig@pengutronix.de, yasin.lee.x@gmail.com Subject: Re: [PATCH v4 0/2] iio:proximity:hx9023s: Add TYHX HX9023S sensor driver Message-ID: <20240608175055.3d089acb@jic23-huawei> In-Reply-To: References: X-Mailer: Claws Mail 4.2.0 (GTK 3.24.42; x86_64-pc-linux-gnu) 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-Transfer-Encoding: 7bit On Fri, 7 Jun 2024 19:41:36 +0800 Yasin Lee wrote: > From: Yasin Lee > > v4: > - Removed hardware-irrelevant properties from dt-bindings, retaining only channel configuration > related `channel-positive` and `channel-negative`. Grouped by channel. > Retained `channel-in-use` as it is hardware-related. > - Removed redundant register definitions. > - Reorganized `struct hx9023s_data`, extracting channel-related attributes > into a new `struct hx9023s_ch_data`. > - Optimized bit operation related code. > - Replaced `of_` versions with generic firmware parsing functions. > - Fixed other issues mentioned in the email feedback. > > Link: https://lore.kernel.org/linux-iio/20240602152638.2c674930@jic23-huawei/ Hi Yasin, Please fix your patch threading if possible. If it's corporate email getting in the way, take a look at the b4 tool. It has a nice trick of being able to use a web gateway and that tends to get out of almost all company networks. Jonathan > > Yasin Lee (2): > dt-bindings:iio:proximity: Add hx9023s binding > iio:proximity:hx9023s: Add TYHX HX9023S sensor driver > > .../bindings/iio/proximity/tyhx,hx9023s.yaml | 103 ++ > .../devicetree/bindings/vendor-prefixes.yaml | 2 + > drivers/iio/proximity/Kconfig | 14 + > drivers/iio/proximity/Makefile | 1 + > drivers/iio/proximity/hx9023s.c | 1162 +++++++++++++++++ > 5 files changed, 1282 insertions(+) > create mode 100644 Documentation/devicetree/bindings/iio/proximity/tyhx,hx9023s.yaml > create mode 100644 drivers/iio/proximity/hx9023s.c >