Re: [PATCH v7 07/34] dt-bindings: pinctrl: airoha: an7583: remove i2c pin function

Lorenzo Bianconi <[email protected]> Mon, 27 Jul 2026 09:51:48 +0200
Newsgroups org.kernel.vger.linux-gpio,org.infradead.lists.linux-mediatek,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-kernel
Message-ID <amcOFF1SC7ZLsfTu@lore-desk>
> In the AN7583 case there are no mux bits to enable i2c buses, so remove i2c
> pin function from device tree binding schema.

missing Fixes tag.

Regards,
Lorenzo

> 
> Signed-off-by: Mikhail Kshevetskiy <[email protected]>
> ---
>  .../bindings/pinctrl/airoha,an7583-pinctrl.yaml        | 10 +---------
>  1 file changed, 1 insertion(+), 9 deletions(-)
> 
> diff --git a/Documentation/devicetree/bindings/pinctrl/airoha,an7583-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/airoha,an7583-pinctrl.yaml
> index f52802a3ad79d..8d8ec6adb97d1 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, tod_1pps, sipo, mdio, uart, jtag, pcm, spi,
>                     pcm_spi, emmc, pnand, pcie_reset, pwm, phy1_led0,
>                     phy2_led0, phy3_led0, phy4_led0, phy1_led1, phy2_led1,
>                     phy3_led1, phy4_led1]
> @@ -117,14 +117,6 @@ patternProperties:
>                      enum: [uart2, uart2_cts_rts, hsuart, hsuart_cts_rts,
>                             uart4, uart5]
>                    maxItems: 2
> -          - if:
> -              properties:
> -                function:
> -                  const: i2c
> -            then:
> -              properties:
> -                groups:
> -                  enum: [i2c1]
>            - if:
>                properties:
>                  function:
> -- 
> 2.53.0
>
signature.asc (application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE-----

iHUEABYKAB0WIQTquNwa3Txd3rGGn7Y6cBh0uS2trAUCamcOFAAKCRA6cBh0uS2t
rBj/AQC/aEM3dF5r71ZSTacRwitCCucAqnr9FQPMRIw1iXwS9QD/RKdIaGDpezBF
xfWzoz8y+EXxL4L/vG7+5EJdx8jiEA8=
=+2wr
-----END PGP SIGNATURE-----