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: iio: dac: Maxim max5522 DAC

Add binding Doc for this SPI DAC.

The driver was perviously posted but was missing the DT binding document.
https://lore.kernel.org/all/20221106165928.223318-1-angelo.dureghello@timesys.com/

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Angelo Dureghello <angelo.dureghello@timesys.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20230115173958.134201-1-jic23@kernel.org

+49
+49
Documentation/devicetree/bindings/iio/dac/maxim,max5522.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/iio/dac/maxim,max5522.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Maxim Integrated MAX5522 Dual 10-bit Voltage-Output SPI DACs 8 + 9 + maintainers: 10 + - Angelo Dureghello <angelo.dureghello@timesys.com> 11 + - Jonathan Cameron <jic23@kernel.org> 12 + 13 + description: | 14 + Datasheet available at: 15 + https://www.analog.com/en/products/max5522.html 16 + 17 + properties: 18 + compatible: 19 + const: maxim,max5522 20 + 21 + reg: 22 + maxItems: 1 23 + 24 + vdd-supply: true 25 + vrefin-supply: true 26 + 27 + required: 28 + - compatible 29 + - reg 30 + - vrefin-supply 31 + 32 + allOf: 33 + - $ref: /schemas/spi/spi-peripheral-props.yaml# 34 + 35 + unevaluatedProperties: false 36 + 37 + examples: 38 + - | 39 + spi { 40 + #address-cells = <1>; 41 + #size-cells = <0>; 42 + 43 + dac@0 { 44 + compatible = "maxim,max5522"; 45 + reg = <0>; 46 + vrefin-supply = <&vref>; 47 + }; 48 + }; 49 + ...