From patchwork Mon Aug 12 13:06:36 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13760561 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 58262C3DA7F for ; Mon, 12 Aug 2024 13:07:35 +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=Dva4abrryEv4enlCuMBSl0BO5YyP15MlHbz8/ylANBg=; b=wtCQ7mnuyVXals5C+5xC2l++Te LZGBUGYQp5d94Ok9Ht9Cyi8/DdioWmhQ6XnxuMimJ1yoQLU05qqPJTWssTaBX5reQ05lG9MRDtBDI C2wcws5I8cuWxogAR2rBxn8Ty0PB0n4CQcU4vXKzHOzHiLo+q9P7pZptBdvYE0TxWMGtREIrJ8Wan fpLHHyYoTLiBESewZSLcsuGjYEGk4nCXFO/Nkwy7V4kw7Ynw1dHumxBEocnZe8rRE2hMa2kfuhrOV X0dC+1e0P9WTe0dgftdPvbycWpOC59rAODIWqNTxtU2nGtGcv0bYmj8qROUxXcOE9f/K0q2ARKsI6 gLrWrGiQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sdUld-00000000MLf-2jWr; Mon, 12 Aug 2024 13:07:21 +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 1sdUl1-00000000MBq-1B5q for linux-arm-kernel@lists.infradead.org; Mon, 12 Aug 2024 13:06:45 +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=1723468003; x=1755004003; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=Dva4abrryEv4enlCuMBSl0BO5YyP15MlHbz8/ylANBg=; b=DLHJcLCUROTJbG5addTFdsG3J6qeFDpCHxL7I7BVSn3XIRDJfLWGoWmN PsjzqOrXK3IsBPOBPWo2Oed2UcOetzX4mDy3wymGaSEDdZVcT7Gmno5Jv LkJzzi0wQU9nc4KOhF2R9Q37t3GOOL1pGrKocWVvnM9DAZBE+GmieI5uo CA4lB1DJkuDjq/stdE3jFFH4EyJF0mf3sSDjsC4I85thVZtTxF7lLlYlG 48IhuoSqDs7A1T3SK2u3TZlhCRITaihiLjjIb7OixPHr3czXA1unPasoQ axBUfXDDqp6eiPkazovpCMlkuhKYjRONvXGCbCEoHUs3Cv7LFlhAC8pjj g==; X-CSE-ConnectionGUID: hTc5B/2MSFyLkPj5qOZy/w== X-CSE-MsgGUID: La8Gw4Q3SZqB9Eyznb4Ntw== X-IronPort-AV: E=Sophos;i="6.09,283,1716242400"; d="scan'208";a="38363820" Received: from vmailcow01.tq-net.de ([10.150.86.48]) by mx1.tq-group.com with ESMTP; 12 Aug 2024 15:06:39 +0200 X-CheckPoint: {66BA08DF-1D-CD6ACE3E-F977C2C0} X-MAIL-CPID: 810B3F6CEC151C3B3BE02C9F9516F1E7_1 X-Control-Analysis: str=0001.0A782F18.66BA08DF.0163,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id CB6C7161336; Mon, 12 Aug 2024 15:06:34 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ew.tq-group.com; s=dkim; t=1723467995; h=from:subject:date:message-id:to:cc:mime-version: content-transfer-encoding; bh=Dva4abrryEv4enlCuMBSl0BO5YyP15MlHbz8/ylANBg=; b=dEXbQ3q+3fPnZIpHKfeCpVSfFs4shyF/nHWfSRCnq3zzN+7Gs95gUAEwxh1NNy42YQZuVP Vw5RGDFugJfeJP0otcnmiuIkhwSDVT2UU1eQr1jkhGuWhwoIqWX1aHtKI/9wg8UiYA4he8 NEoelBENnwNjYhm1J6bZHmSmMR4dteaepjwr/4HQaWUo0vyZHEcWk+hAi7yMexjo5a9GAw MTz0sGYm31Z6HGhBmEJW1PHgKEuzNLTrSOF3TeTY6ATcu+fjXoqPcq5kEaJK6DyhFIbIbA RiVRUbXuZ5EzmMtd60Kx0ADMY0AHLJioTuPfaQ592/awHu4xb5unmBhSRcbPhA== 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 v2 1/1] arm64: dts: mba8mx: Add Ethernet PHY IRQ support Date: Mon, 12 Aug 2024 15:06:36 +0200 Message-Id: <20240812130636.180483-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-20240812_060643_829163_C323609D X-CRM114-Status: UNSURE ( 8.62 ) 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 --- Changes in v2: * Fix context (wrong local rebase) 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 815241526a0d3..8d898506b3bce 100644 --- a/arch/arm64/boot/dts/freescale/mba8mx.dtsi +++ b/arch/arm64/boot/dts/freescale/mba8mx.dtsi @@ -185,6 +185,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>; }; }; };