[PATCH v9 31/36] dt-bindings: pinctrl: airoha: an7583: add missed features
Mikhail Kshevetskiy <[email protected]> Tue, 4 Aug 2026 19:04:14 +0300
| Newsgroups | org.infradead.lists.linux-mediatek,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-gpio,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
Changes: * add i2c0 pin-group support for i2c pin-function * add npu_uart pin-group support for uart pin-function * add pon_alt pin-group support for pon pin-function * add support for olt pin group/function Signed-off-by: Mikhail Kshevetskiy <[email protected]> --- .../bindings/pinctrl/airoha,an7583-pinctrl.yaml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/airoha,an7583-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/airoha,an7583-pinctrl.yaml index e2896db7740fd..4609cc76babe6 100644 --- a/Documentation/devicetree/bindings/pinctrl/airoha,an7583-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/airoha,an7583-pinctrl.yaml @@ -60,7 +60,7 @@ patternProperties: function: description: A string containing the name of the function to mux to the group. - enum: [pon, tod_1pps, sipo, mdio, uart, i2c, jtag, pcm, spi, + enum: [pon, olt, tod_1pps, sipo, mdio, uart, i2c, jtag, pcm, spi, pcm_spi, emmc, pnand, gpio, pcie_reset, pwm, phy1_led0, phy2_led0, phy3_led0, phy4_led0, phy1_led1, phy2_led1, phy3_led1, phy4_led1] @@ -81,7 +81,15 @@ patternProperties: then: properties: groups: - enum: [pon] + enum: [pon, pon_alt] + - if: + properties: + function: + const: olt + then: + properties: + groups: + enum: [olt] - if: properties: function: @@ -115,7 +123,7 @@ patternProperties: groups: items: enum: [uart2, uart2_cts_rts, hsuart, hsuart_cts_rts, - uart4, uart5] + uart4, uart5, npu_uart] maxItems: 2 - if: properties: @@ -124,7 +132,7 @@ patternProperties: then: properties: groups: - enum: [i2c1] + enum: [i2c0, i2c1] - if: properties: function: -- 2.53.0