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,ds4424 yaml conversion

Simple conversion of this straight forward binding.

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Cc: Ismail H. Kose <ihkose@gmail.com>
Link: https://lore.kernel.org/r/20201031134110.724233-19-jic23@kernel.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>

+45 -20
-20
Documentation/devicetree/bindings/iio/dac/ds4424.txt
··· 1 - Maxim Integrated DS4422/DS4424 7-bit Sink/Source Current DAC Device Driver 2 - 3 - Datasheet publicly available at: 4 - https://datasheets.maximintegrated.com/en/ds/DS4422-DS4424.pdf 5 - 6 - Required properties: 7 - - compatible: Should be one of 8 - maxim,ds4422 9 - maxim,ds4424 10 - - reg: Should contain the DAC I2C address 11 - 12 - Optional properties: 13 - - vcc-supply: Power supply is optional. If not defined, driver will ignore it. 14 - 15 - Example: 16 - ds4224@10 { 17 - compatible = "maxim,ds4424"; 18 - reg = <0x10>; /* When A0, A1 pins are ground */ 19 - vcc-supply = <&vcc_3v3>; 20 - };
+45
Documentation/devicetree/bindings/iio/dac/maxim,ds4424.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,ds4424.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Maxim Integrated DS4422/DS4424 7-bit Sink/Source Current DAC 8 + 9 + maintainers: 10 + - Ismail Kose <ihkose@gmail.com> 11 + 12 + description: | 13 + Datasheet publicly available at: 14 + https://datasheets.maximintegrated.com/en/ds/DS4422-DS4424.pdf 15 + 16 + properties: 17 + compatible: 18 + enum: 19 + - maxim,ds4422 20 + - maxim,ds4424 21 + 22 + reg: 23 + maxItems: 1 24 + 25 + vcc-supply: true 26 + 27 + required: 28 + - compatible 29 + - reg 30 + 31 + additionalProperties: false 32 + 33 + examples: 34 + - | 35 + i2c { 36 + #address-cells = <1>; 37 + #size-cells = <0>; 38 + 39 + dac@10 { 40 + compatible = "maxim,ds4424"; 41 + reg = <0x10>; /* When A0, A1 pins are ground */ 42 + vcc-supply = <&vcc_3v3>; 43 + }; 44 + }; 45 + ...