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: 1970099 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=dolcini.it header.i=@dolcini.it header.a=rsa-sha256 header.s=default header.b=ig9zCT+1; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=147.75.80.249; helo=am.mirrors.kernel.org; envelope-from=devicetree+bounces-91800-incoming-dt=patchwork.ozlabs.org@vger.kernel.org; receiver=patchwork.ozlabs.org) Received: from am.mirrors.kernel.org (am.mirrors.kernel.org [147.75.80.249]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4WfCcl6DpHz1yfC for ; Thu, 8 Aug 2024 00:44:39 +1000 (AEST) Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 264991F21736 for ; Wed, 7 Aug 2024 14:44:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3871082D91; Wed, 7 Aug 2024 14:44:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=dolcini.it header.i=@dolcini.it header.b="ig9zCT+1" X-Original-To: devicetree@vger.kernel.org Received: from mail11.truemail.it (mail11.truemail.it [217.194.8.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9D2E15914C; Wed, 7 Aug 2024 14:44:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.194.8.81 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723041855; cv=none; b=gZOx1poOSuns7dj54rzCuzciFnDrHHSJslGVXyvlhT+YfM5w/+mC5a9HNgS7f9hXg5Sg3lXf8Swkbj8ACY60qG/atAcbJJFbMVRiW7BO0V0xuPTiAs6i6QWs/g0g1+Iq2ZxI6uYyNvK1ettVs4hsG8VxwZbRKXVnbtNa2uiEi1E= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723041855; c=relaxed/simple; bh=1wXFUXacdcHmdJuCUAN7seSMcROJHTTZ5paLr1YkhHM=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=YiZVReBRJPOjhExNn6R1Jh9sMA8JaOwyAkzusHauvYH0o/oneO26ixcDtLbQ48HFJXXsZ9i7MdKN0jEXbzdsTbPML3TxxflY6zP9lQFMUjRuRNhkSvXznMsXZUeKEF7EzpQ98OjLwwCQVOs5St9KexoG5iYFXnP6ukakboHAqZ8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=dolcini.it; spf=pass smtp.mailfrom=dolcini.it; dkim=pass (2048-bit key) header.d=dolcini.it header.i=@dolcini.it header.b=ig9zCT+1; arc=none smtp.client-ip=217.194.8.81 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=dolcini.it Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=dolcini.it 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 Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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(-)