From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932991AbdLRK1V (ORCPT ); Mon, 18 Dec 2017 05:27:21 -0500 Received: from mail-wr0-f194.google.com ([209.85.128.194]:46940 "EHLO mail-wr0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932963AbdLRK1S (ORCPT ); Mon, 18 Dec 2017 05:27:18 -0500 X-Google-Smtp-Source: ACJfBosuRnu4ZpTHBfZ/zavueuv1yKHRwlHxW9U8cZm21XUEmNzxeziewS0L9ogeDLNysolyEDCDYg== From: Jerome Brunet To: Kevin Hilman , Carlo Caione Cc: Jerome Brunet , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] ARM64: dts: meson-gxl: add internal ethernet PHY irq Date: Mon, 18 Dec 2017 11:27:13 +0100 Message-Id: <20171218102713.4506-1-jbrunet@baylibre.com> X-Mailer: git-send-email 2.14.3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add the interrupt of the internal ethernet PHY Signed-off-by: Jerome Brunet --- Hi Kevin, This changes depends on the net-next changes adding interrupt support [0]. It is really important that this change is not merged before its dependency. If it is merged before, instead of polling, the phy would wait for an interrupt which has not been configured and will never fire. Tested on the libretech-cc and khadas VIM. Cheers Jerome https://lkml.kernel.org/r/20171218094446.31912-7-jbrunet@baylibre.com arch/arm64/boot/dts/amlogic/meson-gxl.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi index 4a316a11a00e..8bc404508a4f 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi @@ -631,6 +631,7 @@ internal_phy: ethernet-phy@8 { compatible = "ethernet-phy-id0181.4400", "ethernet-phy-ieee802.3-c22"; + interrupts = ; reg = <8>; max-speed = <100>; }; -- 2.14.3