Skip to content

Commit 8f66075

Browse files
committed
dts: bindings: Change the property names in the bindings
Change the property names in the binding file to use hyphens(-) for separation instead of underscores(_). Signed-off-by: James Roy <rruuaanng@outlook.com>
1 parent 64442ae commit 8f66075

27 files changed

+69
-69
lines changed

dts/bindings/can/infineon,xmc4xxx-can-node.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ properties:
1616
interrupts:
1717
required: true
1818

19-
clock_div8:
19+
clock-div8:
2020
description: Option enables clock divide by a factor of 8.
2121
type: boolean
2222

dts/bindings/clock/mediatek,mt8195_cpuclk.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
description: MediaTek Audio DSP CPU Frequency Control
55
compatible: "mediatek,mt8195_cpuclk"
66
properties:
7-
freqs_mhz:
7+
freqs-mhz:
88
type: array
99
description: Available frequencies in ascending order
1010
required: true
1111
reg:
1212
type: array
13-
cg_reg:
13+
cg-reg:
1414
type: int
15-
pll_ctrl_reg:
15+
pll-ctrl-reg:
1616
type: int

dts/bindings/counter/nxp,imx-tmr.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ properties:
3333
- "kQTMR_SecSrcTrigPriCnt"
3434
- "kQTMR_CascadeCount"
3535

36-
primary_source:
36+
primary-source:
3737
type: string
3838
required: true
3939
description: Primary source of the timer, see qtmr_primary_count_source_t enumerator type
@@ -56,7 +56,7 @@ properties:
5656
- "kQTMR_ClockDivide_64"
5757
- "kQTMR_ClockDivide_128"
5858

59-
secondary_source:
59+
secondary-source:
6060
type: string
6161
description: Secondary source of the timer, see qtmr_input_source_t enumerator type
6262
of the MCUXpresso SDK
@@ -66,11 +66,11 @@ properties:
6666
- "kQTMR_Counter2InputPin"
6767
- "kQTMR_Counter3InputPin"
6868

69-
filter_count:
69+
filter-count:
7070
type: int
7171
description: Fault filter count (0-255).
7272

73-
filter_period:
73+
filter-period:
7474
type: int
7575
description: Fault filter period (0-255).
7676

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: |

dts/bindings/display/ftdi,ft800.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ properties:
2020
typical main clock was 48MHz and this value is 5, the PCLK
2121
will be 9.6 MHz. Must be positive value to enable the screen
2222
23-
pclk_pol:
23+
pclk-pol:
2424
type: int
2525
required: true
2626
description: |

dts/bindings/display/solomon,ssd1306fb-spi.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ compatible: "solomon,ssd1306fb"
88
include: ["solomon,ssd1306fb-common.yaml", "spi-device.yaml"]
99

1010
properties:
11-
data_cmd-gpios:
11+
data-cmd-gpios:
1212
type: phandle-array
1313
required: true
1414
description: D/C# pin.

dts/bindings/dma/nxp,mcux-edma.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ properties:
4040
type: boolean
4141
description: If the DMA controller supports memory to memory transfer
4242

43-
nxp,a_on:
43+
nxp,a-on:
4444
type: boolean
4545
description: If the DMA controller supports always on
4646

dts/bindings/espi/microchip,xec-espi-saf.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,26 +13,26 @@ properties:
1313
description: mmio register space
1414
required: true
1515

16-
io_girq:
16+
io-girq:
1717
type: int
1818
description: soc group irq index for eSPI I/O
1919

20-
poll_timeout:
20+
poll-timeout:
2121
type: int
2222
description: poll flash busy timeout in 32KHz periods
2323

24-
poll_interval:
24+
poll-interval:
2525
type: int
2626
description: interval between flash busy poll in 20 ns units
2727

28-
consec_rd_timeout:
28+
consec-rd-timeout:
2929
type: int
3030
description: timeout after last read to resume supended operations in 20 ns units
3131

32-
sus_chk_delay:
32+
sus-chk-delay:
3333
type: int
3434
description: hold off poll after suspend in 20 ns units
3535

36-
sus_rsm_interval:
36+
sus-rsm-interval:
3737
type: int
3838
description: force suspended erase or program to resume in 32KHz periods

dts/bindings/espi/microchip,xec-espi.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,17 @@ properties:
1212
description: mmio register space
1313
required: true
1414

15-
io_girq:
15+
io-girq:
1616
type: int
1717
description: soc group irq index for eSPI I/O
1818
required: true
1919

20-
vw_girqs:
20+
vw-girqs:
2121
type: array
2222
description: soc group irq indexes for eSPI virtual wires channel
2323
required: true
2424

25-
pc_girq:
25+
pc-girq:
2626
type: int
2727
description: soc group irq index for eSPI peripheral channel
2828
required: true

dts/bindings/ethernet/silabs,gecko-ethernet.yaml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -36,66 +36,66 @@ properties:
3636
description: location of MDC and MDIO pins, configuration defined as <location>
3737

3838
# PHY management pins
39-
location-phy_mdc:
39+
location-phy-mdc:
4040
type: array
4141
required: true
4242
description: PHY MDC individual pin configuration defined as <location port pin>
4343

44-
location-phy_mdio:
44+
location-phy-mdio:
4545
type: array
4646
required: true
4747
description: PHY MDIO individual pin configuration defined as <location port pin>
4848

4949
# RMII interface pins
50-
location-rmii_refclk:
50+
location-rmii-refclk:
5151
type: array
5252
required: true
5353
description: Reference clock individual pin configuration defined as <location port pin>
5454

55-
location-rmii_crs_dv:
55+
location-rmii-crs-dv:
5656
type: array
5757
required: true
5858
description: Receive data valid individual pin configuration defined as <location port pin>
5959

60-
location-rmii_txd0:
60+
location-rmii-txd0:
6161
type: array
6262
required: true
6363
description: Transmit data 0 individual pin configuration defined as <location port pin>
6464

65-
location-rmii_txd1:
65+
location-rmii-txd1:
6666
type: array
6767
required: true
6868
description: Transmit data 1 individual pin configuration defined as <location port pin>
6969

70-
location-rmii_tx_en:
70+
location-rmii-tx-en:
7171
type: array
7272
required: true
7373
description: Transmit enable individual pin configuration defined as <location port pin>
7474

75-
location-rmii_rxd0:
75+
location-rmii-rxd0:
7676
type: array
7777
required: true
7878
description: Receive data 0 individual pin configuration defined as <location port pin>
7979

80-
location-rmii_rxd1:
80+
location-rmii-rxd1:
8181
type: array
8282
required: true
8383
description: Receive data 1 individual pin configuration defined as <location port pin>
8484

85-
location-rmii_rx_er:
85+
location-rmii-rx-er:
8686
type: array
8787
required: true
8888
description: Receive error individual pin configuration defined as <location port pin>
8989

9090
# PHY control pins
91-
location-phy_pwr_enable:
91+
location-phy-pwr-enable:
9292
type: array
9393
description: PHY power enable individual pin configuration defined as <port pin>
9494

95-
location-phy_reset:
95+
location-phy-reset:
9696
type: array
9797
description: PHY reset individual pin configuration defined as <port pin>
9898

99-
location-phy_interrupt:
99+
location-phy-interrupt:
100100
type: array
101101
description: PHY interrupt individual pin configuration defined as <port pin>

dts/bindings/gpio/nuvoton,nct38xx-gpio-port.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ properties:
1111
reg:
1212
required: true
1313

14-
pin_mask:
14+
pin-mask:
1515
type: int
1616
required: true
1717
description: |
@@ -21,7 +21,7 @@ properties:
2121
NCT3808: <0xdc>
2222
others: <0xff>
2323
24-
pinmux_mask:
24+
pinmux-mask:
2525
type: int
2626
description: |
2727
NCT38XX series port 0 has Pin Multiplexing functionality. However, not

dts/bindings/gpio/renesas,ra-gpio-ioport.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ properties:
1515
type: int
1616
required: true
1717

18-
vbatts_pins:
18+
vbatts-pins:
1919
type: array
2020
description: Array of vbatt pin on port
2121

dts/bindings/gpio/snps,creg-gpio.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ properties:
1111
reg:
1212
required: true
1313

14-
bit_per_gpio:
14+
bit-per-gpio:
1515
type: int
1616
required: true
1717

18-
off_val:
18+
off-val:
1919
type: int
2020
required: true
2121

22-
on_val:
22+
on-val:
2323
type: int
2424
required: true
2525

dts/bindings/hwspinlock/sqn,hwspinlock.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ properties:
1111
reg:
1212
required: true
1313

14-
num_locks:
14+
num-locks:
1515
type: int
1616
required: true

dts/bindings/i2c/microchip,xec-i2c-v2.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ properties:
1111
reg:
1212
required: true
1313

14-
port_sel:
14+
port-sel:
1515
type: int
1616
description: soc block mapping to pin
1717
required: true

dts/bindings/i2c/microchip,xec-i2c.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ properties:
1111
reg:
1212
required: true
1313

14-
port_sel:
14+
port-sel:
1515
type: int
1616
description: soc block mapping to pin
1717
required: true

dts/bindings/i2s/litex,i2s.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ properties:
1313
reg:
1414
required: true
1515

16-
fifo_depth:
16+
fifo-depth:
1717
type: int
1818
required: true

dts/bindings/led/ti,lp50xx.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ properties:
88
type: phandle-array
99
description: |
1010
GPIO to use to enable/disable the controller.
11-
max_curr_opt:
11+
max-curr-opt:
1212
type: boolean
1313
description: |
1414
If enabled the maximum current output is set to 35 mA (25.5 mA else).
15-
log_scale_en:
15+
log-scale-en:
1616
type: boolean
1717
description: |
1818
If enabled a logarithmic dimming scale curve is used for LED brightness

dts/bindings/sdhc/cdns,sdhc.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ properties:
1414
reg:
1515
required: true
1616
description: register space
17-
power_delay_ms:
17+
power-delay-ms:
1818
type: int
1919
required: true
2020
description: delay required to switch on the SDHC

dts/bindings/sdhc/nxp,imx-usdhc.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ properties:
2929
description: |
3030
Number of words used as write watermark level in FIFO queue for USDHC
3131
32-
max_current_330:
32+
max-current-330:
3333
type: int
3434
default: 0
3535
description: |

dts/bindings/sdhc/sdhc.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,12 @@ properties:
5050
time in ms for SDHC to delay when toggling power to the SD card. This
5151
delay gives the card time to power up or down fully
5252
53-
mmc-hs200-1_8v:
53+
mmc-hs200-1-8v:
5454
type: boolean
5555
description: |
5656
The host controller supports HS200 at 1.8V
5757
58-
mmc-hs400-1_8v:
58+
mmc-hs400-1-8v:
5959
type: boolean
6060
description: |
6161
The host controller supports HS400 at 1.8V

dts/bindings/spi/microchip,xec-qmspi.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ properties:
1111
reg:
1212
required: true
1313

14-
port_sel:
14+
port-sel:
1515
type: int
1616
required: true
1717
description: SPI Port 0 or 1.
@@ -37,7 +37,7 @@ properties:
3737
required: true
3838
description: QMSPI lines 1, 2, or 4
3939

40-
chip_select:
40+
chip-select:
4141
type: int
4242
required: true
4343
description: Use QMSPI CS0# or CS1#

dts/bindings/stepper/adi/adi,tmc5041.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,11 @@ include:
6262
- name: spi-device.yaml
6363
- name: adi,trinamic-gconf.yaml
6464
property-allowlist:
65-
- poscmp_enable
65+
- poscmp-enable
6666
- shaft1
6767
- shaft2
68-
- test_mode
69-
- lock_gconf
68+
- test-mode
69+
- lock-gconf
7070

7171
properties:
7272
"#address-cells":

0 commit comments

Comments
 (0)