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 BD79703

The ROHM BD79703 is a 8-bit, 6 channel DAC.

Describe the dt-bindings.

Signed-off-by: Matti Vaittinen <mazziesaccount@gmail.com>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://patch.msgid.link/51ed31c494ea7385940b59500e8592d12558e291.1734608215.git.mazziesaccount@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>

authored by

Matti Vaittinen and committed by
Jonathan Cameron
f6ed0ca1 898918d6

+62
+62
Documentation/devicetree/bindings/iio/dac/rohm,bd79703.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 + # Copyright 2024 ROHM Semiconductor. 3 + %YAML 1.2 4 + --- 5 + $id: http://devicetree.org/schemas/iio/dac/rohm,bd79703.yaml# 6 + $schema: http://devicetree.org/meta-schemas/core.yaml# 7 + 8 + title: ROHM BD79703 DAC device driver 9 + 10 + maintainers: 11 + - Matti Vaittinen <mazziesaccount@gmail.com> 12 + 13 + description: | 14 + The ROHM BD79703 is a 6 channel, 8-bit DAC. 15 + Datasheet can be found here: 16 + https://fscdn.rohm.com/en/products/databook/datasheet/ic/data_converter/dac/bd79702fv-lb_bd79703fv-lb-e.pdf 17 + 18 + properties: 19 + compatible: 20 + const: rohm,bd79703 21 + 22 + reg: 23 + maxItems: 1 24 + 25 + spi-max-frequency: 26 + maximum: 30000000 27 + 28 + vfs-supply: 29 + description: 30 + The regulator to use as a full scale voltage. The voltage should be between 2.7V .. VCC 31 + 32 + vcc-supply: 33 + description: 34 + The regulator supplying the operating voltage. Should be between 2.7V ... 5.5V 35 + 36 + required: 37 + - compatible 38 + - reg 39 + - spi-max-frequency 40 + - vfs-supply 41 + - vcc-supply 42 + 43 + allOf: 44 + - $ref: /schemas/spi/spi-peripheral-props.yaml# 45 + 46 + additionalProperties: false 47 + 48 + examples: 49 + - | 50 + spi { 51 + #address-cells = <1>; 52 + #size-cells = <0>; 53 + 54 + dac@0 { 55 + compatible = "rohm,bd79703"; 56 + reg = <0>; 57 + spi-max-frequency = <30000000>; 58 + vcc-supply = <&vcc>; 59 + vfs-supply = <&vref>; 60 + }; 61 + }; 62 + ...