Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp3158655lqo; Wed, 15 May 2024 01:06:28 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWsRL3+LSfLJQPiiFVljnNDPWcRufuhH8KHWQrgRXJtIh3sq6yGVkOZkU+DuNvuGTjCgfP+pgivriz1VJABnLERfwsbTSYdmbjGvSnYzQ== X-Google-Smtp-Source: AGHT+IEY7eO2IAAS9c9T6ZmotlJ/tHeM+7W0TgtdvLEDsqBULJgSIYRAvuHH/B5NKvoaAmRxLR0h X-Received: by 2002:a05:6830:3297:b0:6f1:1b18:7442 with SMTP id 46e09a7af769-6f11b18769amr3566483a34.17.1715760387863; Wed, 15 May 2024 01:06:27 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715760387; cv=pass; d=google.com; s=arc-20160816; b=t+Ce/CM5XWDmliS8Zh9oGY0i4u1qZvriWoaXE/Z42DxDpISjP0YWHNi/OBU1A3htXE SvCOt1IZB1ZWIKDNb92g2TTyTMhigIBgAGY11VbuBUjcdzVQAPn+q0s37LcYKUMLjg6V ff8JU4ZDRgMFLIyjIW2o+7X6IQP9sDmcBRwh1LD89xj/M6NishaFHcL+rGpSQbw7A5ly wfM+MEm0PjWVt7mJrS3cIBqWt7zESvQElDrFfR2IXdwhnf41Ni88NakS6hyr/h6MCBrN CP7SUXru+KN1Lj96I7K4ZFq3xiVWbEm6jLwffGyCvujxOWNp6Uo8q+tQb+U7TopWKpGM a17A== 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=yLX1k4TMEwq8MfVb3ZAeZlSd9LCFqRCjooHa4L0n9KA=; fh=9EtmNoCiNA4FMEZBBIKdnuXq38bOICHLwCx6dBwMrZE=; b=N/LF+eMxBHklFfuOLg1OzxdgxXqUglhEvNjDHgfP5hdPgPSTRdew7LIahLhPD0KkSE 8wlW8ByCrt+B/ckcJsWXhDjFeSrSwTB7vL25HD8RBYaU+KEALNhsraNmAV3VLifMgsd6 QF2He3L+073RtnAHsjUe5Pb/gxrWyyqj0LQlumx7ySr8xnNK/A353DaF1bacEE0Lh8L9 +ZZd2YiB0bTymSHzMnxqmgrsaa69IwieY339/dsV/7l7nfk+ClsZP698zboUagnojRWX +158KeoFQu2f69jYgmpnx9RPXDqJ4sqgF1zIT22R4lW+VYibHOnDV69+B7CH5cwNLech Nofw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=JRC3ZEEc; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-179624-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-179624-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id d75a77b69052e-43df566f609si133999431cf.367.2024.05.15.01.06.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 May 2024 01:06:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-179624-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=@kernel.org header.s=k20201202 header.b=JRC3ZEEc; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-179624-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-179624-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 859701C21C67 for ; Wed, 15 May 2024 08:06:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0A54E4A9B0; Wed, 15 May 2024 08:06:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="JRC3ZEEc" 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 02E971DFE3; Wed, 15 May 2024 08:06:19 +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=1715760380; cv=none; b=jVSX1kwwTKu5rMBTIELsJRsBRWvUtAwMRyCLjjWLFlS8BMNMjNP4f8JS87XttK8sMfbVlTIsdErmCUO0igC4ZxU/j7NLpByJuQnCeTOItruK/PdOFcGU47c6RPsQhDP3UFI5Nt7zqEK+6n76XZbkyU96fQkb7LW3HgPNAeTeo3Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715760380; c=relaxed/simple; bh=MtNcYj+7KtNGif4wrUtp7tfwwHUg6OeRHWBVhbdrXcM=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=c3wSSHP77GymPXkAtte7XaT9mkvO+AdlwI5AzRIkjsxNr5yJKNkR6yRsIG3ZbIDu1qHQYbMm+9db8VLn2KXE7wNam4hLqcN3qTC0kv/1HyHdMldkdMPUhukn8LAIlcZzFt5yLH71WpznAP7xdHLWNsWC468cu/5edL5gAJ/ZR/w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=JRC3ZEEc; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8320BC116B1; Wed, 15 May 2024 08:06:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715760379; bh=MtNcYj+7KtNGif4wrUtp7tfwwHUg6OeRHWBVhbdrXcM=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=JRC3ZEEcfAXhurUSRo4h4h+A9fTN/GIUyJ1PF7huWOMeZ16DF6etSmHOIjL4OO8Ha MBnrsNZ7JEA6VXe29P2PiekdQFShjErxFN4frMciXU3UoxYxqBDmTwuF7PZc0EbR8i qKWq3whoFsDRvpGiLK3+RBu1mZ0VbVvUsbCsF0KWx3jTK565c9Ow3Jbkym5hgvcQ56 WZjrsdkANqcHlZ5Lei1TGjNaVRfF+dAgHu7xwmBP5cOwTdp0Cl3vDET9pOsPbBFW+U zzUibWTvbGWHv9sWYKWf377bE+ZYXI8pqP13Z7AQIW7DRwd+NPYyTbNU06MMhaHBo8 Gh8Tfk44AQgjQ== Message-ID: <29fa61c3-f7c7-4769-a5eb-75783086cb9f@kernel.org> Date: Wed, 15 May 2024 10:06:15 +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 v1 2/2] dt-bindings:iio:proximity: Add hx9031as binding To: Yasin Lee , jic23@kernel.org 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 References: <20240511170143.7ca6a410@jic23-huawei> <20240514202540.341103-1-yasin.lee.x@outlook.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+ gZaEIYSw2Yf0e91U9HXo3RYhEwSm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b/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: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 14/05/2024 22:25, Yasin Lee wrote: > From: Yasin Lee > > A capacitive proximity sensor with 5 channels > > Signed-off-by: Yasin Lee Do not attach (thread) your patchsets to some other threads (unrelated or older versions). This buries them deep in the mailbox and might interfere with applying entire sets. A nit, subject: drop second/last, redundant "bindings". The "dt-bindings" prefix is already stating that these are bindings. See also: https://elixir.bootlin.com/linux/v6.7-rc8/source/Documentation/devicetree/bindings/submitting-patches.rst#L18 Subject: missing spaces. See `git log --oneline -- DIRECTORY_OR_FILE` on the directory your patch is touching. Please use scripts/get_maintainers.pl to get a list of necessary people and lists to CC. It might happen, that command when run on an older kernel, gives you outdated entries. Therefore please be sure you base your patches on recent Linux kernel. Tools like b4 or scripts/get_maintainer.pl provide you proper list of people, so fix your workflow. Tools might also fail if you work on some ancient tree (don't, instead use mainline), work on fork of kernel (don't, instead use mainline) or you ignore some maintainers (really don't). Just use b4 and everything should be fine, although remember about `b4 prep --auto-to-cc` if you added new patches to the patchset. You missed at least devicetree list (maybe more), so this won't be tested by automated tooling. Performing review on untested code might be a waste of time, thus I will skip this patch entirely till you follow the process allowing the patch to be tested. Please kindly resend and include all necessary To/Cc entries. Limited review follows. > --- > .../bindings/iio/proximity/tyhx,hx9031as.yaml | 60 +++++++++++++++++++ > .../devicetree/bindings/vendor-prefixes.yaml | 2 + > 2 files changed, 62 insertions(+) > create mode 100644 Documentation/devicetree/bindings/iio/proximity/tyhx,hx9031as.yaml > > diff --git a/Documentation/devicetree/bindings/iio/proximity/tyhx,hx9031as.yaml b/Documentation/devicetree/bindings/iio/proximity/tyhx,hx9031as.yaml > new file mode 100644 > index 000000000000..62a71c0c4d04 > --- /dev/null > +++ b/Documentation/devicetree/bindings/iio/proximity/tyhx,hx9031as.yaml > @@ -0,0 +1,60 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/iio/proximity/tyhx,hx9031as.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Tyhx's HX9031AS capacitive proximity sensor > + > +maintainers: > + - Yasin Lee > + > +description: | > + Tyhx's HX9031AS proximity sensor. > + > +allOf: > + - $ref: /schemas/iio/iio.yaml# > + > +properties: > + compatible: > + const: tyhx,hx9031as > + > + reg: > + maxItems: 1 > + > + interrupts: > + description: > + Generated by device to announce preceding read request has finished > + and data is available or that a close/far proximity event has happened. > + maxItems: 1 > + > + vdd-supply: > + description: Main power supply > + > +required: > + - compatible > + - reg > + > +unevaluatedProperties: false > + > +examples: > + - | > + #include > + i2c { > + #address-cells = <1>; > + #size-cells = <0>; > + hx9031as@2a { Node names should be generic. See also an explanation and list of examples (not exhaustive) in DT specification: https://devicetree-specification.readthedocs.io/en/latest/chapter2-devicetree-basics.html#generic-names-recommendation > + compatible = "tyhx,hx9031as"; > + reg = <0x2a>; > + interrupt-parent = <&pio>; > + interrupts = <16 IRQ_TYPE_EDGE_FALLING 16 0>; > + vdd-supply = <&pp3300_a>; > + status = "okay"; Drop > + }; > + }; > + > + > + > + > + > + Drop useless blank lines... Best regards, Krzysztof