From patchwork Wed Aug 7 14:43:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Francesco Dolcini X-Patchwork-Id: 13756391 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 89BDDC52D71 for ; Wed, 7 Aug 2024 14:44:56 +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=cHf+pzsl9aGQ+dz9I9/zj5VztDDS+JqbQhQaGmEg1xg=; b=VMQ6WSVRWqlhF6ADhzPfa7UJAu /XOeOFDNKHZ0g/3klBHrTtGBiYXjY8xJHuDdF00Ie8cXK4qIXg8GA0viWyBzidmk0u1sD1onc2Wtm mHCrxc8aM9DtrLvqUg41aMMr+2MpEo2wPHRq8R8JFNTpaNbE82S8hMGxWDhs3wUcdicnnwPap1o9Q NRdjDrBaWfc8yftjCZnLfSjk7Df7hjoBo9VSfnNEWwF6NjTg+IJL5nSNbgKQLT9oHsNyub5drAhqv EL8ZJbyyPrZjYqsAWa29YG+8kx2fewCGJBjA8+5esN4Yx2wsoCR6q3ROOvVai2NNzQeXop90L1XL6 iMUcPlBQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sbhu7-00000005NkR-1Efa; Wed, 07 Aug 2024 14:44:43 +0000 Received: from mail11.truemail.it ([2001:4b7e:0:8::81]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sbhtY-00000005NfY-2ih4 for linux-arm-kernel@lists.infradead.org; Wed, 07 Aug 2024 14:44:10 +0000 Received: from francesco-nb.pivistrello.it (93-49-2-63.ip317.fastwebnet.it [93.49.2.63]) by mail11.truemail.it (Postfix) with ESMTPA id 4B19020AC2; Wed, 7 Aug 2024 16:44:01 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dolcini.it; s=default; t=1723041842; bh=cHf+pzsl9aGQ+dz9I9/zj5VztDDS+JqbQhQaGmEg1xg=; h=From:To:Subject; b=ig9zCT+17m5MwRBH+dUzQyLjjIJ2yWRKdJSBoaaF44p3YNS9eBm7ePHpBd6wxa+VD XlvWaumECRH/dmt2n3oqLfzNOCj7h6vhrUnxKAOkqD7aT5RGrMiwcpU0ZoKHCdDCST sGoknX1DdEH/YLrmWyyzhAK4HBYwsc9Uh9zlpvarGB34+3yovDMWO6KMKf0R3jtTpa qpArh12stl+tH+yqJP5Q8wBdnrdQh5OlJYoveHB2U4p4XrQbmOs2CgZ9qlpLZbFBI8 FiVLCjIdDb/cmfQH3aivxmnZlYMEIjtxr+/P2PMIb50ET6+W3TnhaDGXHXUkt+ZVRK 8Dol75w7uDqJw== From: Francesco Dolcini To: Wei Fang , Shenwei Wang , Clark Wang , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Richard Cochran , Linux Team Cc: Francesco Dolcini , imx@lists.linux.dev, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v1 0/4] net: fec: add PPS channel configuration Date: Wed, 7 Aug 2024 16:43:45 +0200 Message-Id: <20240807144349.297342-1-francesco@dolcini.it> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240807_074408_870876_82FA473A X-CRM114-Status: UNSURE ( 6.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 From: Francesco Dolcini Make the FEC Ethernet PPS channel configurable from device tree. The current code hard-code the PPS channel to be 0, however on i.MX8 the channel is 1. Francesco Dolcini (4): dt-bindings: net: fec: add pps channel property net: fec: refactor PPS channel configuration net: fec: make PPS channel configurable arm64: dts: imx8-ss-conn: add PPS channel to the FEC nodes Documentation/devicetree/bindings/net/fsl,fec.yaml | 7 +++++++ arch/arm64/boot/dts/freescale/imx8-ss-conn.dtsi | 2 ++ drivers/net/ethernet/freescale/fec_ptp.c | 11 ++++++----- 3 files changed, 15 insertions(+), 5 deletions(-)