From nobody Wed Dec 17 23:55:09 2025 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 33C57C77B7A for ; Mon, 17 Apr 2023 17:08:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230082AbjDQRIN (ORCPT ); Mon, 17 Apr 2023 13:08:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38016 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229914AbjDQRIF (ORCPT ); Mon, 17 Apr 2023 13:08:05 -0400 Received: from synguard (unknown [212.29.212.82]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 655B96A7B; Mon, 17 Apr 2023 10:08:04 -0700 (PDT) Received: from T14.siklu.local (unknown [192.168.42.162]) by synguard (Postfix) with ESMTP id 4BB044DE9D; Mon, 17 Apr 2023 20:08:02 +0300 (IDT) From: Shmuel Hazan To: Russell King Cc: Marcin Wojtas , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Richard Cochran , horatiu.vultur@microchip.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Shmuel Hazan Subject: [PATCH v2 3/3] dt-bindings: net: marvell,pp2: add extts docs Date: Mon, 17 Apr 2023 20:07:41 +0300 Message-Id: <20230417170741.1714310-4-shmuel.h@siklu.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230417170741.1714310-1-shmuel.h@siklu.com> References: <20230417170741.1714310-1-shmuel.h@siklu.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Add some documentation and example for enabling extts on the marvell mvpp2 TAI. Signed-off-by: Shmuel Hazan --- .../devicetree/bindings/net/marvell,pp2.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/Documentation/devicetree/bindings/net/marvell,pp2.yaml b/Docum= entation/devicetree/bindings/net/marvell,pp2.yaml index 4eadafc43d4f..5e4fc9c5dc92 100644 --- a/Documentation/devicetree/bindings/net/marvell,pp2.yaml +++ b/Documentation/devicetree/bindings/net/marvell,pp2.yaml @@ -31,6 +31,21 @@ properties: "#size-cells": const: 0 =20 + pinctrl-0: true + pinctrl-1: true + + pinctrl-names: + description: + When present, must have one state named "default", + and may contain a second name named "extts". The former + state sets up pins for ordinary operation without extts + support whereas the latter state will enable receiving + external timestamp events. + minItems: 1 + items: + - const: default + - const: extts + clocks: minItems: 2 items: @@ -241,6 +256,9 @@ examples: <&cp0_clk 1 5>, <&cp0_clk 1 6>, <&cp0_clk 1 18>; clock-names =3D "pp_clk", "gop_clk", "mg_clk", "mg_core_clk", "axi= _clk"; marvell,system-controller =3D <&cp0_syscon0>; + pinctrl-names =3D "default", "extts"; + pinctrl-0 =3D <&cp1_mpp6_gpio>; + pinctrl-1 =3D <&cp1_mpp6_ptp>; =20 ethernet-port@0 { interrupts =3D , --=20 2.40.0