Received: by 2002:a05:6358:53a8:b0:117:f937:c515 with SMTP id z40csp4275985rwe; Mon, 17 Apr 2023 10:13:04 -0700 (PDT) X-Google-Smtp-Source: AKy350a+SHzeP/rZ6OdczjOLqyyU2ozqhkB/kbwcDaFspV0rrHkI017LRI73s7fbxVdo5Sv6eHom X-Received: by 2002:a05:6a00:cd5:b0:63b:8423:9e31 with SMTP id b21-20020a056a000cd500b0063b84239e31mr9759930pfv.11.1681751584649; Mon, 17 Apr 2023 10:13:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681751584; cv=none; d=google.com; s=arc-20160816; b=E7JugYCvln6hbMMIUBdypRb7L6MNSiVGkMI04zsrKRcUyVfTU4mmY/ccBdxS1llLm4 AJEpmoMi+njvpUrVc5WEmyg8kETJ6MTYS8eMHNZxoNML0QuRhOTZ1oAeicHgPNHk4Xrr uL1YAhDTKLGVq8Q86DqLFAmjYyy8S1FUFdm/G4jadChgsm2HV7EXGPIR2qbs0yNrgGah 3QTQgZjDyTTjVY8BYy8iIr+gHjOO3mcybO+R2pxu3PIpZEfgeYRMPBgczsH9BPedefyb BObHEiO2qK9BBWRLnE2kL3MwmUxeDOi2V3LkV12O9Ab8087mdktuXEX6KXcpSME8x6ZE vJsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=c3QCukUXopL8mNWCd+kLlmjg7F6ufLyxGOa+SbGlN+E=; b=jj38797EaquZBGM9k9AXl6KKK1x4q5XXZ3zlieQCtWh+eGHNkcdRkqoHtXcys5XNns kl7cyXSUx/tgFBKM0BiFoqnSLyIRU9tFrKbAGeo5aN2nIwglBoFG9WpQC6p+J5RZbI1u so7gK75ObHPGrDA0UWAtRoIm4912CsaN7RWfdyRqHAYha1OjhwddQCZ50zL0mb/KpK7H pRjgaKVuMt5+k90GvGAaja1cPMe/ngQw1GZeYrcfVs1Yb4lqCZSL7DWkMMCk5ZtnjwFx M0mP8y+3+wWmBvOhK5lucUv0CsGr2hwsUY4FStzrfTe/ac79M3zeCGyTWuoCrMqvbEnW d2aQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z34-20020a631922000000b005132342a587si12175170pgl.610.2023.04.17.10.12.50; Mon, 17 Apr 2023 10:13:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229655AbjDQRIN (ORCPT + 99 others); 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: 8bit X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,FSL_HELO_NON_FQDN_1, HELO_NO_DOMAIN,RDNS_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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/Documentation/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 + 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 = "pp_clk", "gop_clk", "mg_clk", "mg_core_clk", "axi_clk"; marvell,system-controller = <&cp0_syscon0>; + pinctrl-names = "default", "extts"; + pinctrl-0 = <&cp1_mpp6_gpio>; + pinctrl-1 = <&cp1_mpp6_ptp>; ethernet-port@0 { interrupts = , -- 2.40.0