public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Krzysztof Kozlowski <krzk@kernel.org>
To: Yasin Lee <yasin.lee.x@gmail.com>, Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Jonathan Cameron <jic23@kernel.org>,
	Lars-Peter Clausen <lars@metafoo.de>,
	yasin.lee.x@outlook.com
Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-iio@vger.kernel.org, Conor Dooley <conor@kernel.org>,
	Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Subject: Re: [PATCH v7 2/3] dt-bindings: iio: proximity: Add TYHX HX9023S
Date: Tue, 25 Jun 2024 07:48:52 +0200	[thread overview]
Message-ID: <d77a4777-d282-4004-895a-7809abf68130@kernel.org> (raw)
In-Reply-To: <20240625-add-tyhx-hx9023s-sensor-driver-v7-2-b1d65b221811@gmail.com>

On 25/06/2024 04:15, Yasin Lee wrote:
> A capacitive proximity sensor
> 
> Acked-by: Conor Dooley <conor@kernel.org>
> Acked-by: Jonathan Cameron <jic23@kernel.org>
> Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

What? How did this happen? Where - provide lore links to prove it?

NAK

> Reported-by: "Rob Herring (Arm)" <robh@kernel.org>

No, drop.

> Signed-off-by: Yasin Lee <yasin.lee.x@gmail.com>


> +
> +patternProperties:
> +  "^channel@[0-4]$":
> +    $ref: /schemas/iio/adc/adc.yaml
> +    type: object
> +
> +    properties:
> +      reg:
> +        minimum: 0
> +        maximum: 4
> +        description: The channel number.
> +
> +      single-channel: true
> +
> +      diff-channels: true
> +
> +    oneOf:
> +      - required:
> +          - single-channel
> +      - required:
> +          - diff-channels
> +
> +    required:
> +      - reg

... and now you should see that you duplicated adc.yaml. This should be
just:

+patternProperties:
+  "^channel@[0-4]$":
+    $ref: /schemas/iio/adc/adc.yaml
+    type: object
+    unevaluatedProperties: false
+
+    properties:
+      reg:
+        minimum: 0
+        maximum: 4
+        description: The channel number.



Best regards,
Krzysztof


  parent reply	other threads:[~2024-06-25  5:48 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-25  2:15 [PATCH v7 0/3] iio: proximity: Add TYHX HX9023S sensor driver Yasin Lee
2024-06-25  2:15 ` [PATCH v7 1/3] dt-bindings: vendor-prefixes: add tyhx Yasin Lee
2024-06-25  5:50   ` Krzysztof Kozlowski
2024-06-25  8:31     ` Yasin Lee
2024-06-25  9:15       ` Krzysztof Kozlowski
2024-06-25  9:39         ` Yasin Lee
2024-06-25  2:15 ` [PATCH v7 2/3] dt-bindings: iio: proximity: Add TYHX HX9023S Yasin Lee
2024-06-25  3:48   ` Rob Herring (Arm)
2024-06-25  9:13     ` Yasin Lee
2024-06-25  5:48   ` Krzysztof Kozlowski [this message]
2024-06-25  6:53     ` Conor Dooley
2024-06-25  8:33       ` Yasin Lee
2024-06-25  9:05     ` Yasin Lee
2024-06-25  2:15 ` [PATCH v7 3/3] iio: proximity: Add driver support for TYHX's HX9023S capacitive proximity sensor Yasin Lee
2024-06-25  5:49   ` Krzysztof Kozlowski
2024-06-25  8:37     ` Yasin Lee
2024-07-30 19:43   ` Andy Shevchenko
2024-08-02 10:10     ` Yasin Lee

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d77a4777-d282-4004-895a-7809abf68130@kernel.org \
    --to=krzk@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=conor@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=jic23@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=krzysztof.kozlowski@linaro.org \
    --cc=lars@metafoo.de \
    --cc=linux-iio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=robh@kernel.org \
    --cc=yasin.lee.x@gmail.com \
    --cc=yasin.lee.x@outlook.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox