Skip to content

Commit 4c45a47

Browse files
committed
dt-bindings: pinctrl: mt7988: order enum values alphanumerical
1 parent 9508199 commit 4c45a47

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

Documentation/devicetree/bindings/pinctrl/mediatek,mt7988-pinctrl.yaml

+7-8
Original file line numberDiff line numberDiff line change
@@ -200,8 +200,8 @@ patternProperties:
200200
function:
201201
description:
202202
A string containing the name of the function to mux to the group.
203-
enum: [audio, jtag, int_usxgmii, pwm, dfd, i2c, eth, pcie, pmic, watchdog, spi, flash,
204-
uart, udi, usb, led]
203+
enum: [audio, dfd, eth, flash, i2c, int_usxgmii, jtag, led, pcie, pmic, pwm, spi,
204+
uart, udi, usb, watchdog]
205205
groups:
206206
description:
207207
An array of strings. Each string contains the name of a group.
@@ -225,7 +225,7 @@ patternProperties:
225225
then:
226226
properties:
227227
groups:
228-
enum: [tops_jtag0_0, wo0_jtag, wo1_jtag, wo2_jtag, jtag, tops_jtag0_1]
228+
enum: [jtag, tops_jtag0_0, tops_jtag0_1, wo0_jtag, wo1_jtag, wo2_jtag]
229229
- if:
230230
properties:
231231
function:
@@ -249,15 +249,15 @@ patternProperties:
249249
then:
250250
properties:
251251
groups:
252-
enum: [emmc_45, sdcard, snfi, emmc_51]
252+
enum: [emmc_45, emmc_51, sdcard, snfi]
253253
- if:
254254
properties:
255255
function:
256256
const: eth
257257
then:
258258
properties:
259259
groups:
260-
enum: [mdc_mdio0, 2p5g_ext_mdio, gbe_ext_mdio, mdc_mdio1]
260+
enum: [2p5g_ext_mdio, gbe_ext_mdio, mdc_mdio0, mdc_mdio1]
261261
- if:
262262
properties:
263263
function:
@@ -278,9 +278,8 @@ patternProperties:
278278
then:
279279
properties:
280280
groups:
281-
enum: [gbe0_led1, gbe1_led1, gbe2_led1, gbe3_led1, 2p5gbe_led1,
282-
gbe0_led0, gbe1_led0, gbe2_led0, gbe3_led0, 2p5gbe_led0,
283-
wf5g_led0, wf5g_led1]
281+
enum: [2p5gbe_led0, 2p5gbe_led1, gbe0_led0, gbe0_led1, gbe1_led0, gbe1_led1,
282+
gbe2_led0, gbe2_led1, gbe3_led0, gbe3_led1, wf5g_led0, wf5g_led1]
284283
- if:
285284
properties:
286285
function:

0 commit comments

Comments
 (0)