Skip to content

Commit 083f667

Browse files
Rafał Miłeckilinusw
authored andcommitted
dt-bindings: pinctrl: mediatek: mt7622: add "antsel" function
MT7622 pinctrl has ANTSEL* pins. Linux support for those was added in the commit 19f599e ("pinctrl: mediatek: mt7622: add antsel pins/groups"). Include them in binding. Cc: Chuanhong Guo <[email protected]> Signed-off-by: Rafał Miłecki <[email protected]> Acked-by: Rob Herring <[email protected]> Message-ID: <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
1 parent 61fcbbf commit 083f667

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

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

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ patternProperties:
7878
function:
7979
description:
8080
A string containing the name of the function to mux to the group.
81-
enum: [emmc, eth, i2c, i2s, ir, led, flash, pcie, pmic, pwm, sd,
82-
spi, tdm, uart, watchdog, wifi]
81+
enum: [antsel, emmc, eth, i2c, i2s, ir, led, flash, pcie, pmic, pwm,
82+
sd, spi, tdm, uart, watchdog, wifi]
8383

8484
groups:
8585
description:
@@ -93,6 +93,20 @@ patternProperties:
9393
- function
9494

9595
allOf:
96+
- if:
97+
properties:
98+
function:
99+
const: antsel
100+
then:
101+
properties:
102+
groups:
103+
items:
104+
enum: [antsel0, antsel1, antsel2, antsel3, antsel4, antsel5,
105+
antsel6, antsel7, antsel8, antsel9, antsel10,
106+
antsel11, antsel12, antsel13, antsel14, antsel15,
107+
antsel16, antsel17, antsel18, antsel19, antsel20,
108+
antsel21, antsel22, antsel23, antsel24, antsel25,
109+
antsel26, antsel27, antsel28, antsel29]
96110
- if:
97111
properties:
98112
function:

0 commit comments

Comments
 (0)