2
0
Эх сурвалжийг харах

mvebu: fix SFP insert detection GPIO name on 4.14

When SFP support was accepted upstream, the expected GPIO names were
slightly changed, breaking SFP insert detection. Update the DTS file to
the expected name to make SFP work again.

Fixes: 4ccad922293a ("mvebu: Add support for kernel 4.14")
Signed-off-by: Jonas Gorski <[email protected]>
Jonas Gorski 7 жил өмнө
parent
commit
39f8751cdc

+ 1 - 1
target/linux/mvebu/patches-4.14/414-ARM-dts-armada388-clearfog-add-SFP-module-support.patch

@@ -21,7 +21,7 @@ Signed-off-by: Russell King <[email protected]>
 +		compatible = "sff,sfp";
 +		i2c-bus = <&i2c1>;
 +		los-gpio = <&expander0 12 GPIO_ACTIVE_HIGH>;
-+		moddef0-gpio = <&expander0 15 GPIO_ACTIVE_LOW>;
++		mod-def0-gpio = <&expander0 15 GPIO_ACTIVE_LOW>;
 +		tx-disable-gpio = <&expander0 14 GPIO_ACTIVE_HIGH>;
 +		tx-fault-gpio = <&expander0 13 GPIO_ACTIVE_HIGH>;
 +	};