From patchwork Mon Nov 25 09:16:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?Q3PDs2vDoXMsIEJlbmNl?= X-Patchwork-Id: 13884608 X-Patchwork-Delegate: kuba@kernel.org Received: from fw2.prolan.hu (fw2.prolan.hu [193.68.50.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7078A18B476; Mon, 25 Nov 2024 09:16:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.68.50.107 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732526217; cv=none; b=jtAr6jvZ0P0Cb5XHYWgnTfTQMQB3BoWAy05q73rifuAVAYiPIGf6T5RNHQ0089oc3Y5dfdoBJGcFnvu5uzwIfUOihQG96YbKYD+UPh176WpipvQfIhCzu0MhjJvOKKrju5WZKlMSyNQZIu5dCR96HXwxCtKCKgrYjbxs4aYJCLs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732526217; c=relaxed/simple; bh=iDJtZwn4B5g2vaImap3rOYI3eZ2Sb1T1E+6N7dCpfIE=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=MZvlY6ebNiSbgodPpjBVxZGn+3k7WpN+hCRI+wWf6TlgQ3likJg80cJHaKAAvPHnRxHlXb9L6WpIbAEiQsnL09LNA7gY+2dv/uj0Uca5GyWFYTA5/CbnjAqeWNQXJHbd7pfU8+zruOB3HCfIAVtUNKWza9fSnYfGH/thTCmWNzk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=prolan.hu; spf=pass smtp.mailfrom=prolan.hu; dkim=pass (4096-bit key) header.d=prolan.hu header.i=@prolan.hu header.b=pHQtCrjx; arc=none smtp.client-ip=193.68.50.107 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=prolan.hu Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=prolan.hu Authentication-Results: smtp.subspace.kernel.org; dkim=pass (4096-bit key) header.d=prolan.hu header.i=@prolan.hu header.b="pHQtCrjx" Received: from proxmox-mailgw.intranet.prolan.hu (localhost.localdomain [127.0.0.1]) by proxmox-mailgw.intranet.prolan.hu (Proxmox) with ESMTP id BB29EA0827; Mon, 25 Nov 2024 10:16:46 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=prolan.hu; h=cc :cc:content-transfer-encoding:content-type:content-type:date :from:from:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=mail; bh=zd8wKecSdXBVrXpZnl+5 FGQh/68mIATekqahVWyBWDg=; b=pHQtCrjxWbBB965rNEgZROH5rDmlmlMnNItJ 0W61Xo3aGN6zTOwc4q32QEGjc+jXCAe3T1RSQzT/DtQjxjp8IHWgYcJMRqQEw8wo WizduR8Tq7Uc+H0tMD0uCrUYbLLuX2+X1TR2FvXCNa7AGtOQ2jG8wW7vlz+KhgHy n+kNfYwtShrhUW1eCtAox/Uu6YO/DJVJwA4RzVoZo/OYmqntnklRWZcBKkiK3a4Q l71Ecsh0RDnGVJVcEmj1qfkAFEymxksUlkp69IjLXzv0xQrErKYuM8BbH+b4ZORf cCt51Q6KQNyqmqiqmqoskZy2lpPIRY5daFJAQtAxfUpxeDM2pIp3QSGWf0Gbzm4N oSiSXOu+CtEIBOCsrNx1ADa4VYH8SydrnVZE4zdpJkMpdIgphIccwZAHCeyy/EUl brBfdm730rbvAP/X2VBasAZhnqW+sAuGHzOxUvi2x165X7Md3VL4Ep8PZG7vF/o6 a5iQXQS6n/EAcDoLw8lJI7612On6BB+Dw+RIOfp2KCHg7LuX4a9ww3PV6zkiwKXP FgqO/fOi0crPhaQdGxOaT2ZSjzZqgYzWcPO277HyyNDFyTEOgL0aBYxX9B1BkEa0 /1qyHRCgz8ZPM8ZOGDEfpPCdQqjosDiF077f85Ha4VRRAcgFBulKl89IysOCvzjj P6pCE+8= From: =?utf-8?b?Q3PDs2vDoXMsIEJlbmNl?= To: , Shawn Guo , Wei Fang , Linux Team , , , CC: Francesco Dolcini , Sasha Levin , Greg Kroah-Hartman , "Conor Dooley" , Paolo Abeni , =?utf-8?b?Q3PDs2vDoXMsIEJlbmNl?= , "Shenwei Wang" , Clark Wang , "David S. Miller" , Eric Dumazet , "Jakub Kicinski" , Rob Herring , "Krzysztof Kozlowski" , Conor Dooley Subject: [PATCH 6.6 1/3] dt-bindings: net: fec: add pps channel property Date: Mon, 25 Nov 2024 10:16:37 +0100 Message-ID: <20241125091639.2729916-2-csokas.bence@prolan.hu> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241125091639.2729916-1-csokas.bence@prolan.hu> References: <20241125091639.2729916-1-csokas.bence@prolan.hu> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-ESET-AS: R=OK;S=0;OP=CALC;TIME=1732526206;VERSION=7980;MC=1203325918;ID=94028;TRN=0;CRV=0;IPC=;SP=0;SIPS=0;PI=3;F=0 X-ESET-Antispam: OK X-EsetResult: clean, is OK X-EsetId: 37303A29ACD94855607C67 X-Patchwork-Delegate: kuba@kernel.org From: Francesco Dolcini Add fsl,pps-channel property to select where to connect the PPS signal. This depends on the internal SoC routing and on the board, for example on the i.MX8 SoC it can be connected to an external pin (using channel 1) or to internal eDMA as DMA request (channel 0). Signed-off-by: Francesco Dolcini Acked-by: Conor Dooley Signed-off-by: Paolo Abeni (cherry picked from commit 1aa772be0444a2bd06957f6d31865e80e6ae4244) Signed-off-by: Csókás, Bence --- Documentation/devicetree/bindings/net/fsl,fec.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/net/fsl,fec.yaml b/Documentation/devicetree/bindings/net/fsl,fec.yaml index b494e009326e..9925563e5e14 100644 --- a/Documentation/devicetree/bindings/net/fsl,fec.yaml +++ b/Documentation/devicetree/bindings/net/fsl,fec.yaml @@ -182,6 +182,13 @@ properties: description: Register bits of stop mode control, the format is <&gpr req_gpr req_bit>. + fsl,pps-channel: + $ref: /schemas/types.yaml#/definitions/uint32 + default: 0 + description: + Specifies to which timer instance the PPS signal is routed. + enum: [0, 1, 2, 3] + mdio: $ref: mdio.yaml# unevaluatedProperties: false