Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: Add ROHM BD7970x variants

The ROHM BD79700, BD79701 and BD79702 are subsets of the BD79703 DAC.
The main difference is the number of the channels. BD79703 has 6
channels.

The BD79702 has 4, BD79701 3 and BD79700 2 channels. Additionally, the
BD79700 and BD79701 do not have separate Vfs pin but use the Vcc also
for the full-scale voltage.

Add properties for the BD79700, BD79701 and BD79702.

Signed-off-by: Matti Vaittinen <mazziesaccount@gmail.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://patch.msgid.link/0a114565e4de52bf8f98c4f9d17943e5148b0112.1743576022.git.mazziesaccount@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>

authored by

Matti Vaittinen and committed by
Jonathan Cameron
04f0bc81 1850e6ae

+26 -7
+26 -7
Documentation/devicetree/bindings/iio/dac/rohm,bd79703.yaml
··· 5 5 $id: http://devicetree.org/schemas/iio/dac/rohm,bd79703.yaml# 6 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 7 8 - title: ROHM BD79703 DAC device driver 8 + title: ROHM BD79700, BD79701, BD79702 and BD79703 DACs 9 9 10 10 maintainers: 11 11 - Matti Vaittinen <mazziesaccount@gmail.com> 12 12 13 13 description: | 14 - The ROHM BD79703 is a 6 channel, 8-bit DAC. 15 - Datasheet can be found here: 14 + The ROHM BD7970[0,1,2,3] are 8-bit DACs. The BD79700 has 2 channels, 15 + BD79701 3 channels, BD79702 4 channels and BD79703 has 6 channels. 16 + Datasheets for BD79702 and BD79703 can be found from 16 17 https://fscdn.rohm.com/en/products/databook/datasheet/ic/data_converter/dac/bd79702fv-lb_bd79703fv-lb-e.pdf 18 + and for the BD79700 and the BD79701 from 19 + https://fscdn.rohm.com/en/products/databook/datasheet/ic/data_converter/dac/bd79700fvm-lb_bd79701fvm-lb-e.pdf 17 20 18 21 properties: 19 22 compatible: 20 - const: rohm,bd79703 23 + enum: 24 + - rohm,bd79700 25 + - rohm,bd79701 26 + - rohm,bd79702 27 + - rohm,bd79703 21 28 22 29 reg: 23 30 maxItems: 1 ··· 34 27 35 28 vfs-supply: 36 29 description: 37 - The regulator to use as a full scale voltage. The voltage should be between 2.7V .. VCC 30 + The regulator to use as a full scale voltage. The voltage should be 31 + between 2.7V .. VCC. Not present on BD79700 and BD79701. 38 32 39 33 vcc-supply: 40 34 description: 41 - The regulator supplying the operating voltage. Should be between 2.7V ... 5.5V 35 + The regulator supplying the operating voltage. Should be between 36 + 2.7V ... 5.5V. Is used also as a Vfs on BD79700 and BD79701. 42 37 43 38 required: 44 39 - compatible 45 40 - reg 46 41 - spi-max-frequency 47 - - vfs-supply 48 42 - vcc-supply 43 + 44 + if: 45 + properties: 46 + compatible: 47 + contains: 48 + enum: 49 + - rohm,bd79702 50 + - rohm,bd79703 51 + then: 52 + required: 53 + - vfs-supply 49 54 50 55 allOf: 51 56 - $ref: /schemas/spi/spi-peripheral-props.yaml#