| From foo@baz Sun Jun 17 12:07:34 CEST 2018 |
| From: Bhadram Varka <vbhadram@nvidia.com> |
| Date: Wed, 2 May 2018 20:44:40 +0530 |
| Subject: arm64: tegra: Make BCM89610 PHY interrupt as active low |
| |
| From: Bhadram Varka <vbhadram@nvidia.com> |
| |
| [ Upstream commit 9df50ba76ac1485b844beffa1f3f5d9659d9cdaf ] |
| |
| Need to configure PHY interrupt as active low for P3310 Tegra186 |
| platform otherwise it results in spurious interrupts. |
| |
| This issue wasn't seen before because the generic PHY driver without |
| interrupt support was used. |
| |
| Signed-off-by: Bhadram Varka <vbhadram@nvidia.com> |
| Signed-off-by: Thierry Reding <treding@nvidia.com> |
| Signed-off-by: Sasha Levin <alexander.levin@microsoft.com> |
| Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
| --- |
| arch/arm64/boot/dts/nvidia/tegra186-p3310.dtsi | 2 +- |
| 1 file changed, 1 insertion(+), 1 deletion(-) |
| |
| --- a/arch/arm64/boot/dts/nvidia/tegra186-p3310.dtsi |
| +++ b/arch/arm64/boot/dts/nvidia/tegra186-p3310.dtsi |
| @@ -46,7 +46,7 @@ |
| compatible = "ethernet-phy-ieee802.3-c22"; |
| reg = <0x0>; |
| interrupt-parent = <&gpio>; |
| - interrupts = <TEGRA_MAIN_GPIO(M, 5) IRQ_TYPE_LEVEL_HIGH>; |
| + interrupts = <TEGRA_MAIN_GPIO(M, 5) IRQ_TYPE_LEVEL_LOW>; |
| }; |
| }; |
| }; |