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 <rruuaanng@outlook.com>
This commit is contained in:
James Roy 2025-01-20 13:33:26 +08:00 committed by Benjamin Cabé
parent 26b00580cc
commit e607d73a3e
2 changed files with 4 additions and 4 deletions

View file

@ -8,7 +8,7 @@ properties:
"#io-channel-cells": "#io-channel-cells":
const: 1 const: 1
voltage_reference: voltage-reference:
type: array type: array
required: true required: true
description: | description: |
@ -17,7 +17,7 @@ properties:
1 - Internal voltage reference (2.048V) 1 - Internal voltage reference (2.048V)
Note: array entries correspond to the successive channels Note: array entries correspond to the successive channels
power_down_mode: power-down-mode:
type: array type: array
required: true required: true
description: | description: |

View file

@ -65,8 +65,8 @@
compatible = "microchip,mcp4728"; compatible = "microchip,mcp4728";
reg = <0x61>; reg = <0x61>;
#io-channel-cells = <1>; #io-channel-cells = <1>;
voltage_reference = <0>; voltage-reference = <0>;
power_down_mode = <0>; power-down-mode = <0>;
}; };
test_i2c_dacx0501:dacx0501@62 { test_i2c_dacx0501:dacx0501@62 {