From patchwork Wed Jul 17 06:49:15 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13735164 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7BF5FC3DA4B for ; Wed, 17 Jul 2024 06:50:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=rjcdWGSUL4wzFk1sXQX07yknR07Yxl1IIBPaDUB1jgg=; b=cBQIc/rTVPt5fr0g4IikK+ysr0 KOgua1Vo5oBL+w4OdreuY8T4oFAuSYNBiITvPqCDkQ5nT9qwJez3dHR3wujiXjZU7jVau84TpFpiQ 1a0VbEdn/1zDIb7SB3j6WXhMW2VZPlY+8HFH1fhKN1pJQiiPB9biGUv3rfzBxiVDXxq3NRcNjQbHc K3veHsyaS9fX6790ngMpMCCq1/qwJRdBgN9JxlbkdZQ7PWCtKBCd9aBbxvbpLwxM3x8dDe93aDO/f kcrCWaoW1D8M/0OEZJSVNJxFQztnFxNItehIf+dQDVOwVip3pM88Cs/rpTpbA79b3IvXuuZVVWlNO T4yMyUpg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sTyUN-0000000Ctfk-3lOO; Wed, 17 Jul 2024 06:50:11 +0000 Received: from mx1.tq-group.com ([93.104.207.81]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sTyU2-0000000Ctdn-470t for linux-arm-kernel@lists.infradead.org; Wed, 17 Jul 2024 06:49:53 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1721198991; x=1752734991; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=rjcdWGSUL4wzFk1sXQX07yknR07Yxl1IIBPaDUB1jgg=; b=Ip4oyRdt8prFfXOADiJ9sOSmu2NpmVsMVw5Ej8lDQX9NPtDq9X4ujYEc i+d6QGmmIM7jevGt3NQoVHQJwh3ijKY0V7HV4Njll9Jyi/g0dqpxmLJob iAnba/lNZqtIaV0neFuLHLheyMZ+VOJNW52ttGcF8SD/rNW6bP5ecOTHL 9NuNeSzm2zm8H6Oory0iEhTNyumI1jZnBz11kUXYSRGNdX87P5rIJLYeu 7LJKpiV0bNxXd4ABXltpXKPUdqE1X7kqSd7WYtTwnhJ7qWUpoGpEwBRm5 juuMUiGOFrl0dsnCHlQqFk04Cnbba/FPMgIHTbshaQKF+2qoku/IGzYcl w==; X-CSE-ConnectionGUID: WopxBByAQ9Gi02fl3Kjx+g== X-CSE-MsgGUID: krEEA6B9TFG9TJrXiKBFiw== X-IronPort-AV: E=Sophos;i="6.09,213,1716242400"; d="scan'208";a="37942401" Received: from vmailcow01.tq-net.de ([10.150.86.48]) by mx1.tq-group.com with ESMTP; 17 Jul 2024 08:49:46 +0200 Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 362DB165A43; Wed, 17 Jul 2024 08:49:45 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ew.tq-group.com; s=dkim; t=1721198986; h=from:subject:date:message-id:to:cc:mime-version: content-transfer-encoding; bh=rjcdWGSUL4wzFk1sXQX07yknR07Yxl1IIBPaDUB1jgg=; b=ZZVpa7q6uWratn3eaxrUbIJ+oQHqBUdSGlECKTHD5d+kEllZF8HYFGpo0pC5qwK+9W8pNJ mvGN+No1v9yCSfvyGDh1DadJxXCijrHqiyGFhnNdd9PiYq66HbI+g8ctKjoYVhrXY5xtXV 7yCNMZM+iVrJhcgQvUeK6zj8K6ABbExbkBoVQihui5YXfJQevqVQv7Jj7z/r1f+MdC2+jL WMx5Bq5F2YxxGl71HAEMz9dEZdYeBE30dQfIq1oX4C6P2381ECo5U796vEXIzVHfq0aQiU wCstvKVbSGaHYEVyr/3ys7PP9L5nyjGHt+BMijIUTSSPi9LvDtan8yX578Qfpw== From: Alexander Stein To: Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Alexander Stein , linux@ew.tq-group.com, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/1] arm64: dts: mba8mx: Add Ethernet PHY IRQ support Date: Wed, 17 Jul 2024 08:49:15 +0200 Message-Id: <20240717064916.1670702-1-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Last-TLS-Session-Version: TLSv1.3 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240716_234951_542268_79FEF702 X-CRM114-Status: UNSURE ( 8.33 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The interrupt pin of the PHY is connected to the GPIO expander, configure it accordingly. Signed-off-by: Alexander Stein --- arch/arm64/boot/dts/freescale/mba8mx.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/mba8mx.dtsi b/arch/arm64/boot/dts/freescale/mba8mx.dtsi index 7b221f43d761e..1ab5cddac0659 100644 --- a/arch/arm64/boot/dts/freescale/mba8mx.dtsi +++ b/arch/arm64/boot/dts/freescale/mba8mx.dtsi @@ -204,6 +204,8 @@ ethphy0: ethernet-phy@e { reset-gpios = <&expander2 7 GPIO_ACTIVE_LOW>; reset-assert-us = <500000>; reset-deassert-us = <500>; + interrupt-parent = <&expander2>; + interrupts = <6 IRQ_TYPE_EDGE_FALLING>; leds { #address-cells = <1>;