public inbox for linux-iio@vger.kernel.org
 help / color / mirror / Atom feed
From: "Rob Herring (Arm)" <robh@kernel.org>
To: Olivier Moysan <olivier.moysan@foss.st.com>
Cc: linux-iio@vger.kernel.org, devicetree@vger.kernel.org,
	 linux-kernel@vger.kernel.org,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	 Jonathan Cameron <jic23@kernel.org>,
	 Arnaud Pouliquen <arnaud.pouliquen@foss.st.com>,
	 Conor Dooley <conor+dt@kernel.org>,
	Lars-Peter Clausen <lars@metafoo.de>
Subject: Re: [PATCH v3 5/8] dt-bindings: iio: add backend support to sd modulator
Date: Wed, 03 Jul 2024 11:33:51 -0600	[thread overview]
Message-ID: <172002803113.1236256.3525407174044863174.robh@kernel.org> (raw)
In-Reply-To: <20240703160535.2277871-6-olivier.moysan@foss.st.com>


On Wed, 03 Jul 2024 18:05:30 +0200, Olivier Moysan wrote:
> The legacy sd modulator driver registers the sigma delta modulator as
> an IIO channel provider. This implementation is not convenient when the
> SD modulator has to be cascaded with another IIO device. The scaling
> information is distributed across devices, which makes it difficult to
> report consistent scaling data on IIO devices.
> 
> The solution is to expose these cascaded IIO devices as an aggregate
> device, which report global scaling information.
> Add IIO backend support to SD modulator to allow scaling information
> management.
> 
> Signed-off-by: Olivier Moysan <olivier.moysan@foss.st.com>
> ---
>  .../iio/adc/sigma-delta-modulator.yaml        | 24 +++++++++++++++++--
>  1 file changed, 22 insertions(+), 2 deletions(-)
> 

My bot found errors running 'make dt_binding_check' on your patch:

yamllint warnings/errors:
./Documentation/devicetree/bindings/iio/adc/sigma-delta-modulator.yaml:38:5: [warning] wrong indentation: expected 6 but found 4 (indentation)

dtschema/dtc warnings/errors:
Documentation/devicetree/bindings/iio/adc/sigma-delta-modulator.example.dtb: /example-0/ads1201_0: failed to match any schema with compatible: ['ti,ads1201']

doc reference errors (make refcheckdocs):

See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20240703160535.2277871-6-olivier.moysan@foss.st.com

The base for the series is generally the latest rc1. A different dependency
should be noted in *this* patch.

If you already ran 'make dt_binding_check' and didn't see the above
error(s), then make sure 'yamllint' is installed and dt-schema is up to
date:

pip3 install dtschema --upgrade

Please check and re-submit after running the above command yourself. Note
that DT_SCHEMA_FILES can be set to your schema file to speed up checking
your schema. However, it must be unset to test all examples with your schema.


  reply	other threads:[~2024-07-03 17:33 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-03 16:05 [PATCH v3 0/8] iio: adc: dfsdm: add scaling support Olivier Moysan
2024-07-03 16:05 ` [PATCH v3 1/8] iio: add read scale and offset services to iio backend framework Olivier Moysan
2024-07-03 16:05 ` [PATCH v3 2/8] iio: add enable and disable " Olivier Moysan
2024-07-03 16:05 ` [PATCH v3 3/8] iio: add child nodes support in " Olivier Moysan
2024-07-03 16:05 ` [PATCH v3 4/8] dt-bindings: iio: dfsdm: move to " Olivier Moysan
2024-07-03 16:05 ` [PATCH v3 5/8] dt-bindings: iio: add backend support to sd modulator Olivier Moysan
2024-07-03 17:33   ` Rob Herring (Arm) [this message]
2024-07-03 22:08   ` Rob Herring
2024-07-03 16:05 ` [PATCH v3 6/8] iio: adc: stm32-dfsdm: adopt generic channels bindings Olivier Moysan
2024-07-03 16:05 ` [PATCH v3 7/8] iio: add iio backend support to sd modulator Olivier Moysan
2024-07-03 16:05 ` [PATCH v3 8/8] iio: adc: stm32-dfsdm: add scaling support to dfsdm Olivier Moysan

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=172002803113.1236256.3525407174044863174.robh@kernel.org \
    --to=robh@kernel.org \
    --cc=arnaud.pouliquen@foss.st.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=jic23@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=lars@metafoo.de \
    --cc=linux-iio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=olivier.moysan@foss.st.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