Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: pinctrl: mediatek: mt7622: add "antsel" function

MT7622 pinctrl has ANTSEL* pins. Linux support for those was added in
the commit 19f599e83ac5 ("pinctrl: mediatek: mt7622: add antsel
pins/groups"). Include them in binding.

Cc: Chuanhong Guo <gch981213@gmail.com>
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Acked-by: Rob Herring <robh@kernel.org>
Message-ID: <20240423045502.7778-2-zajec5@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

authored by

Rafał Miłecki and committed by
Linus Walleij
083f6675 61fcbbf3

+16 -2
+16 -2
Documentation/devicetree/bindings/pinctrl/mediatek,mt7622-pinctrl.yaml
··· 78 78 function: 79 79 description: 80 80 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] 83 83 84 84 groups: 85 85 description: ··· 93 93 - function 94 94 95 95 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] 96 110 - if: 97 111 properties: 98 112 function: