From patchwork Mon Dec 18 10:27:13 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 10118753 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 7BAEC603FA for ; Mon, 18 Dec 2017 10:27:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 67A2728F3F for ; Mon, 18 Dec 2017 10:27:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5C97C28F59; Mon, 18 Dec 2017 10:27:45 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id E14CF28F3F for ; Mon, 18 Dec 2017 10:27:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=GOhwAm9tUY2VqcmR90TQO/wq9F3HoG3XCUMFnJNOyBQ=; b=Vus oGZQZF/Ln8AbCc+PiP7kyRH6UFZbyYi3mT31StyUX/PP5GBy/GVWX34pzdpxzu30UCJKZOFLBQQLE KKC+mcvzgDovInAybNrNXFBv9Z+kqPGiXD2Q8kANrMV6YceWHIQSKsCyajJ4z09SuFrRBizTh3Qqw D/xVKcBCo4hxS4Em5j8Tq79J6oumYVWLNCQNklYP+tanwbGeVdf/luihisbTSTk2YJNR0NSmpkxAL 6CPY0Hc194JR+rZlGQ/NQaSw9ImIP/8Q0xsezj1slOkw6tu9eILqFzTLy8jCUcwdR2sUXHpfVPfaw QVfbhjYzq4/4FVD2KQ5UNMuhaMpROJg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1eQse7-0003Dg-RT; Mon, 18 Dec 2017 10:27:43 +0000 Received: from mail-wr0-x244.google.com ([2a00:1450:400c:c0c::244]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1eQse3-0003AR-FZ for linux-arm-kernel@lists.infradead.org; Mon, 18 Dec 2017 10:27:41 +0000 Received: by mail-wr0-x244.google.com with SMTP id p69so4719407wrb.8 for ; Mon, 18 Dec 2017 02:27:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=RDUsy/3BqMLq6FX9uwutfUKBCWrBiYjg87w/oOQJhVk=; b=VN9kX/nJVKr0WsVg6ePA82O0+hI09HefQWjGi38aT5qBV2lXPKMC+zkXbtiZnJwjLw a5XO5xLqUGL+9UrS+nOw5URihO1Yrc1hLJBAYl4EPb+QB8948oePyOV1c86QbnGwfNki 2KzXv28Ym23cz9AwwiX0J4IlU/PaHFlAkTJkmZWGO3IFzP+y8elQIG7gj6k4XRWdzTRN sxHeCwpTQGs4Igytvz9Msj7NJ3xLC44Bal5pWpOlAtxzEEUXJBb7ijUv2WpE+AzK9/ly Snifi2u8d1/Ei2tJ6cI08fXcYGG/CQYAO1qQVTXVnUU1Z4fqQwQkilhX30ibN/W+pc8x /Scw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=RDUsy/3BqMLq6FX9uwutfUKBCWrBiYjg87w/oOQJhVk=; b=QBpfU1SFFn1x1dT//hccN/MaYTIM67PJRVwuYGxTuR1sQ12ma2owWh+03hzNju4ST+ Znazg8azc/+9kVQpIcJU6l94t2zIXs5Ojt/Esphdlr4gonEhxduwJzqUhCkbZAAqJmwK Wff0fyyltUc/91hpIYE4/PssQMpdQmNWWpN0ZLhekENvdk4SgW4HLTUjVmE8irn8pDDz 433x9DKqOkgvJ1IFdgj00QC+tNn8BvxFpm/3G6IN5kQmemPDJnWgA+jvDvcg28godl4z 0KGDlbwLXaSEc/9q2iWkq2bc9gJvP1eg/M+g+2kiMzBtmrppGokKGGnM2Udjn/L+OLmc Rc2Q== X-Gm-Message-State: AKGB3mLXEfRrEsWCuBB0tuvoVUscEIpyqHWUWFAmPVaUcOWt5e0s1STO yZVlUFO762qCmvhEahOZe9JahA== X-Google-Smtp-Source: ACJfBosuRnu4ZpTHBfZ/zavueuv1yKHRwlHxW9U8cZm21XUEmNzxeziewS0L9ogeDLNysolyEDCDYg== X-Received: by 10.223.175.194 with SMTP id y2mr3535161wrd.106.1513592837621; Mon, 18 Dec 2017 02:27:17 -0800 (PST) Received: from boomer.baylibre.local ([90.63.244.31]) by smtp.googlemail.com with ESMTPSA id u33sm14420397wrf.42.2017.12.18.02.27.16 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 18 Dec 2017 02:27:17 -0800 (PST) From: Jerome Brunet To: Kevin Hilman , Carlo Caione 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171218_022739_736313_1227BBBB X-CRM114-Status: UNSURE ( 9.77 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Jerome Brunet MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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>; };