Skip to content

Commit d090b67

Browse files
committed
dt-bindings: iio: jesd204: adi,iio-fakedev: fix example, misspelling
The axi-jesd204-rx label was duplicated and wording was off. Add information that the label sets the iio device name. Signed-off-by: Jorge Marques <[email protected]>
1 parent bcf17bb commit d090b67

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

Documentation/devicetree/bindings/iio/jesd204/adi,iio-fakedev.yaml

+7-3
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,17 @@ properties:
2424
adi,faked-dev:
2525
$ref: /schemas/types.yaml#/definitions/phandle
2626
description:
27-
A reference (phandle) to a the actual device to which the fake device links attribues from.
27+
A reference (phandle) to the actual device to where the fake device links its attributes.
2828

2929
adi,attribute-names:
3030
$ref: /schemas/types.yaml#/definitions/string-array
3131
description:
3232
List of device sysfs attribute strings.
3333

34+
label:
35+
description:
36+
Names the iio fake device.
37+
3438
required:
3539
- compatible
3640
- adi,faked-dev
@@ -49,11 +53,11 @@ examples:
4953
label = "axi-jesd204-rx";
5054
};
5155
52-
axi-jesd204-rx@1 {
56+
axi-jesd204-tx@1 {
5357
compatible = "adi,iio-fake-platform-device";
5458
adi,faked-dev = <&axi_ad9081_tx_jesd>;
5559
adi,attribute-names = "status", "encoder";
56-
label = "axi-jesd204-rx";
60+
label = "axi-jesd204-tx";
5761
};
5862
5963
axi-adxcvr-rx@2 {

0 commit comments

Comments
 (0)