Skip to content

Commit e607d73

Browse files
rruuaanngkartben
authored andcommitted
dts: bindings: dac: Change the property names in the overlay
Change the property names in the bindings and overlay to use hyphens(-) for separation instead of underscores(_). Signed-off-by: James Roy <[email protected]>
1 parent 26b0058 commit e607d73

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

dts/bindings/dac/microchip,mcp4728.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ properties:
88
"#io-channel-cells":
99
const: 1
1010

11-
voltage_reference:
11+
voltage-reference:
1212
type: array
1313
required: true
1414
description: |
@@ -17,7 +17,7 @@ properties:
1717
1 - Internal voltage reference (2.048V)
1818
Note: array entries correspond to the successive channels
1919
20-
power_down_mode:
20+
power-down-mode:
2121
type: array
2222
required: true
2323
description: |

tests/drivers/build_all/dac/app.overlay

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@
6565
compatible = "microchip,mcp4728";
6666
reg = <0x61>;
6767
#io-channel-cells = <1>;
68-
voltage_reference = <0>;
69-
power_down_mode = <0>;
68+
voltage-reference = <0>;
69+
power-down-mode = <0>;
7070
};
7171

7272
test_i2c_dacx0501:dacx0501@62 {

0 commit comments

Comments
 (0)