arm: dts: update arm sfp bindings to use -gpios
PATCH 1/1 arm: dts: update arm sfp bindings to use -gpios
It was decided that SFP should use the -gpios suffix rather than -gpio. Update various boards to follow this.
Signed-off-by Russell King (Oracle) <[email protected]>
--- arch/arm/boot/dts/armada-385-clearfog-gtr.dtsi | 6 +++--- arch/arm/boot/dts/armada-388-clearfog.dtsi | 8 ++++---- arch/arm/boot/dts/vf610-zii-cfu1.dts | 4 ++-- 3 files changed, 9 insertions(+), 9 deletions(-)
arch/arm/boot/dts/armada-385-clearfog-gtr.dtsi +3 -3
@@ -246,9 +246,9 @@ pcie@3,0 { sfp0: sfp { compatible = "sff,sfp"; i2c-bus = <&i2c1>; - los-gpio = <&gpio1 22 GPIO_ACTIVE_HIGH>; - mod-def0-gpio = <&gpio0 25 GPIO_ACTIVE_LOW>; - tx-disable-gpio = <&gpio1 14 GPIO_ACTIVE_HIGH>; + los-gpios = <&gpio1 22 GPIO_ACTIVE_HIGH>; + mod-def0-gpios = <&gpio0 25 GPIO_ACTIVE_LOW>; + tx-disable-gpios = <&gpio1 14 GPIO_ACTIVE_HIGH>; }; gpio-keys {
arch/arm/boot/dts/armada-388-clearfog.dtsi +4 -4
@@ -80,10 +80,10 @@ pcie@2,0 { sfp: sfp { compatible = "sff,sfp"; i2c-bus = <&i2c1>; - los-gpio = <&expander0 12 GPIO_ACTIVE_HIGH>; - mod-def0-gpio = <&expander0 15 GPIO_ACTIVE_LOW>; - tx-disable-gpio = <&expander0 14 GPIO_ACTIVE_HIGH>; - tx-fault-gpio = <&expander0 13 GPIO_ACTIVE_HIGH>; + los-gpios = <&expander0 12 GPIO_ACTIVE_HIGH>; + mod-def0-gpios = <&expander0 15 GPIO_ACTIVE_LOW>; + tx-disable-gpios = <&expander0 14 GPIO_ACTIVE_HIGH>; + tx-fault-gpios = <&expander0 13 GPIO_ACTIVE_HIGH>; maximum-power-milliwatt = <2000>; }; };
arch/arm/boot/dts/vf610-zii-cfu1.dts +2 -2
@@ -68,8 +68,8 @@ sff: sfp { pinctrl-0 = <&pinctrl_optical>; pinctrl-names = "default"; i2c-bus = <&i2c0>; - los-gpio = <&gpio4 4 GPIO_ACTIVE_HIGH>; - tx-disable-gpio = <&gpio3 22 GPIO_ACTIVE_HIGH>; + los-gpios = <&gpio4 4 GPIO_ACTIVE_HIGH>; + tx-disable-gpios = <&gpio3 22 GPIO_ACTIVE_HIGH>; }; supply-voltage-monitor {
Signature · 1 line
2.30.2
Quoted 9 lines · Russell King (Oracle)
It was decided that SFP should use the -gpios suffix rather than -gpio. Update various boards to follow this.
Signed-off-by Russell King (Oracle) <[email protected]>--- arch/arm/boot/dts/armada-385-clearfog-gtr.dtsi | 6 +++--- arch/arm/boot/dts/armada-388-clearfog.dtsi | 8 ++++---- arch/arm/boot/dts/vf610-zii-cfu1.dts | 4 ++-- 3 files changed, 9 insertions(+), 9 deletions(-)
Hi Russell
We probably want two patches, since there are two Maintainers involved.
Reviewed-by Andrew Lunn <[email protected]>
Andrew