From: Conor Dooley <conor@kernel.org>
To: Matti Vaittinen <mazziesaccount@gmail.com>
Cc: "Matti Vaittinen" <matti.vaittinen@fi.rohmeurope.com>,
"Matti Vaittinen" <matti.vaittinen@linux.dev>,
"Jonathan Cameron" <jic23@kernel.org>,
"David Lechner" <dlechner@baylibre.com>,
"Nuno Sá" <nuno.sa@analog.com>,
"Andy Shevchenko" <andy@kernel.org>,
"Rob Herring" <robh@kernel.org>,
"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
"Conor Dooley" <conor+dt@kernel.org>,
linux-iio@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 2/4] dt-bindings: iio: dac: Add ROHM BD7971x
Date: Wed, 2 Dec 2026 18:05:37 +0000 [thread overview]
Message-ID: <20261202-stingy-hungry-8fe162c0d9d4@spud> (raw)
In-Reply-To: <003d2b6ccbf816cee396698808555a62cb3068bc.1796049052.git.mazziesaccount@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 4273 bytes --]
On Wed, Dec 02, 2026 at 03:38:53PM +0200, Matti Vaittinen wrote:
> From: Matti Vaittinen <mazziesaccount@gmail.com>
>
> The ROHM BD7971[0-3] are very similar to the ROHM BD7970[0-3]. Main
> difference is the amount of bits in the DAC word, BD7970x having 8-bit
> DAC and BD7971x having 10-bit DAC.
From the driver there's more differences than this, and that's what
justifies the devices not being comatible with one another. Please note
that here.
With an explanation,
Acked-by: Conor Dooley <conor.dooley@microchip.com>
pw-bot: changes-requested
Thanks,
Conor.
>
> Support BD7971x by adding compatibles:
> - rohm,bd79710
> - rohm,bd79711
> - rohm,bd79712
> - rohm,bd79713
>
> Signed-off-by: Matti Vaittinen <mazziesaccount@gmail.com>
> ---
> .../bindings/iio/dac/rohm,bd79703.yaml | 34 +++++++++++++------
> 1 file changed, 23 insertions(+), 11 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/iio/dac/rohm,bd79703.yaml b/Documentation/devicetree/bindings/iio/dac/rohm,bd79703.yaml
> index 1ec44e62f50b..4a37c7c39789 100644
> --- a/Documentation/devicetree/bindings/iio/dac/rohm,bd79703.yaml
> +++ b/Documentation/devicetree/bindings/iio/dac/rohm,bd79703.yaml
> @@ -5,18 +5,24 @@
> $id: http://devicetree.org/schemas/iio/dac/rohm,bd79703.yaml#
> $schema: http://devicetree.org/meta-schemas/core.yaml#
>
> -title: ROHM BD79700, BD79701, BD79702 and BD79703 DACs
> +title: ROHM BD7970x, and BD7971x DACs
>
> maintainers:
> - Matti Vaittinen <mazziesaccount@gmail.com>
>
> description: |
> - The ROHM BD7970[0,1,2,3] are 8-bit DACs. The BD79700 has 2 channels,
> - BD79701 3 channels, BD79702 4 channels and BD79703 has 6 channels.
> - Datasheets for BD79702 and BD79703 can be found from
> - https://fscdn.rohm.com/en/products/databook/datasheet/ic/data_converter/dac/bd79702fv-lb_bd79703fv-lb-e.pdf
> - and for the BD79700 and the BD79701 from
> - https://fscdn.rohm.com/en/products/databook/datasheet/ic/data_converter/dac/bd79700fvm-lb_bd79701fvm-lb-e.pdf
> + The ROHM BD7970[0-3] are 8-bit DACs and BD7971[0-3] are 10-bit DACs. The
> + BD797x0 has 2 channels, BD797x1 3 channels, BD797x2 4 channels and BD797x3
> + has 6 channels.
> + Datasheets:
> + - BD79702 and BD79703
> + https://fscdn.rohm.com/en/products/databook/datasheet/ic/data_converter/dac/bd79702fv-lb_bd79703fv-lb-e.pdf
> + - BD79700 and BD79701
> + https://fscdn.rohm.com/en/products/databook/datasheet/ic/data_converter/dac/bd79700fvm-lb_bd79701fvm-lb-e.pdf
> + - BD79710 and BD79711
> + https://fscdn.rohm.com/en/products/databook/datasheet/ic/data_converter/dac/bd7971xfvm-lb-e.pdf
> + - BD79712 and BD79713
> + https://fscdn.rohm.com/en/products/databook/datasheet/ic/data_converter/dac/bd7971xfv-lb-e.pdf
>
> properties:
> compatible:
> @@ -25,6 +31,10 @@ properties:
> - rohm,bd79701
> - rohm,bd79702
> - rohm,bd79703
> + - rohm,bd79710
> + - rohm,bd79711
> + - rohm,bd79712
> + - rohm,bd79713
>
> reg:
> maxItems: 1
> @@ -35,14 +45,14 @@ properties:
> vfs-supply:
> description:
> The regulator to use as a full scale voltage for outputs AO1 and AO2
> - on BD79702, and for AO1, AO2, and AO3 on the BD79703. The voltage
> - should be between 2.7V .. VCC. Not present on BD79700 and BD79701.
> + on BD797x2, and for AO1, AO2, and AO3 on the BD797x3. The voltage
> + should be between 2.7V .. VCC. Not present on BD797x0 and BD797x1.
>
> vcc-supply:
> description:
> The regulator supplying the operating voltage. Should be between
> - 2.7V ... 5.5V. Is used also as a Vfs for all outputs on BD79700 and
> - BD79701, for AO3 and AO4 on BD79702, and AO4, AO5, and AO6 on BD79703.
> + 2.7V ... 5.5V. Is used also as a Vfs for all outputs on BD797x0 and
> + BD797x1, for AO3 and AO4 on BD797x2, and AO4, AO5, and AO6 on BD797x3.
>
> required:
> - compatible
> @@ -57,6 +67,8 @@ if:
> enum:
> - rohm,bd79702
> - rohm,bd79703
> + - rohm,bd79712
> + - rohm,bd79713
> then:
> required:
> - vfs-supply
> --
> 2.56.1
>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
next prev parent reply other threads:[~2026-12-02 18:05 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-02 13:38 [PATCH 0/4] Support ROHM BD7971x family of DACs Matti Vaittinen
2026-12-02 13:38 ` [PATCH 1/4] dt-bindings: iio: bd79703: Fix VFS explanation Matti Vaittinen
2026-12-02 13:38 ` [PATCH 2/4] dt-bindings: iio: dac: Add ROHM BD7971x Matti Vaittinen
2026-12-02 18:05 ` Conor Dooley [this message]
2026-12-03 6:54 ` Matti Vaittinen
2026-12-03 8:35 ` Conor Dooley
2026-12-03 9:03 ` Matti Vaittinen
2026-12-03 12:10 ` Matti Vaittinen
2026-12-02 13:39 ` [PATCH 3/4] iio: dac: rohm-bd79703: Avoid copying chip-data Matti Vaittinen
2026-12-02 13:39 ` [PATCH 4/4] bd79703: Support ROHM BD7971x DACs Matti Vaittinen
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=20261202-stingy-hungry-8fe162c0d9d4@spud \
--to=conor@kernel.org \
--cc=andy@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dlechner@baylibre.com \
--cc=jic23@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=matti.vaittinen@fi.rohmeurope.com \
--cc=matti.vaittinen@linux.dev \
--cc=mazziesaccount@gmail.com \
--cc=nuno.sa@analog.com \
--cc=robh@kernel.org \
/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
all inboxes | Powered by JetHome®