Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp3847492imm; Mon, 25 Jun 2018 05:42:55 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJ7uvyL+k35JB3IfqIeglo8X1Bn1yTyMf7AUWSZQ86a0fhR5jwvkbGioGOUVCCmA+lg3Mrh X-Received: by 2002:a62:b02:: with SMTP id t2-v6mr12963505pfi.36.1529930575080; Mon, 25 Jun 2018 05:42:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529930575; cv=none; d=google.com; s=arc-20160816; b=EySethymGYbk5DSt6BdsGYmClO9+ZEBOQHacdPS4KoV00S0cKMYclOVAdGyJPOkUbP lz7BL0NDeCxRlAflWVhgSNYaIc0h8wgl8eBm4lCEltPbrubtvQ6ADoZVjkJvJGffv+8r OojPPT41p3SK078rOXXZJ7s0EVcWm3NQtBbUHhLcGZTu6ZkInLQdqWhpDRcxPCqhMDW2 6aqT3Z5cJEr6ZsA6MVz4lk7jsvFu62x1LbYvzYgIYRLmJruZjwdv5elUv64jPvS/rkwW UF0fc+df6XBCQ1IoTROvv8HAedGMdlaRF42Her3JvL6j7N3N+nvj2OW+/UFCtrUscdr+ mTCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=RIR/aYW8AfZadHq6pFTnb0baXp4TgZ+YjkwrbkVmyhM=; b=gtlOi5ajuFZhR8xeSC4wCQYuqOJZ1a5CoXB0x0ba6JOhLQn4hKL95yN+GyQablt4Tj RazST9U5nlt1/cMGJAac1h+UBg+c3k4hk8XM+OoohWEkRoiaK78iZFQcWecCtxehEBbx 2cqyLk8r9dB4OTGeZLsRB/FO5vtJPXTALasPQMjDsG5iKxcLjvAcSMMUjn4fElBIOcLh lL9dm28biU4mwyRigPNe9zwLq/5X8LOdnCpNub8ca2rGHTFGqKnXah1ZX8CcCjWSWMHR TSk0P/jFm/6vHcPlaadGBKXCdgyNTRxSkFKMbdLSGB5ObFC2gJlOER2MM9jAZ8cvW99E VXAA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 67-v6si4156116pgi.456.2018.06.25.05.42.40; Mon, 25 Jun 2018 05:42:55 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755390AbeFYMlt (ORCPT + 99 others); Mon, 25 Jun 2018 08:41:49 -0400 Received: from inva021.nxp.com ([92.121.34.21]:42080 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932246AbeFYMjU (ORCPT ); Mon, 25 Jun 2018 08:39:20 -0400 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 582B12000C4; Mon, 25 Jun 2018 14:39:18 +0200 (CEST) Received: from smtp.na-rdc02.nxp.com (inv1260.us-phx01.nxp.com [134.27.49.11]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id ECB98200078; Mon, 25 Jun 2018 14:39:17 +0200 (CEST) Received: from az84smr01.freescale.net (az84smr01.freescale.net [10.64.34.197]) by inv1260.na-rdc02.nxp.com (Postfix) with ESMTP id 6436340A70; Mon, 25 Jun 2018 05:39:17 -0700 (MST) Received: from titan.ap.freescale.net ([10.192.208.233]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id w5PCd34O025070; Mon, 25 Jun 2018 05:39:14 -0700 From: Yangbo Lu To: netdev@vger.kernel.org, madalin.bucur@nxp.com, Richard Cochran , Rob Herring , Shawn Guo , "David S . Miller" Cc: devicetree@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Yangbo Lu Subject: [v4, 03/10] dt-binding: ptp_qoriq: add DPAA FMan support Date: Mon, 25 Jun 2018 20:37:09 +0800 Message-Id: <20180625123716.28993-4-yangbo.lu@nxp.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180625123716.28993-1-yangbo.lu@nxp.com> References: <20180625123716.28993-1-yangbo.lu@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch is to add bindings description for DPAA FMan 1588 timer, and also remove its description in fsl-fman dt-bindings document. Signed-off-by: Yangbo Lu Reviewed-by: Rob Herring Acked-by: Richard Cochran Acked-by: Madalin Bucur --- Changes for v2: - None. Changes for v3: - None. Changes for v4: - Added ACKs and review. --- Documentation/devicetree/bindings/net/fsl-fman.txt | 25 +------------------- .../devicetree/bindings/ptp/ptp-qoriq.txt | 15 +++++++++-- 2 files changed, 13 insertions(+), 27 deletions(-) diff --git a/Documentation/devicetree/bindings/net/fsl-fman.txt b/Documentation/devicetree/bindings/net/fsl-fman.txt index df873d1..74603dd 100644 --- a/Documentation/devicetree/bindings/net/fsl-fman.txt +++ b/Documentation/devicetree/bindings/net/fsl-fman.txt @@ -356,30 +356,7 @@ ethernet@e0000 { ============================================================================ FMan IEEE 1588 Node -DESCRIPTION - -The FMan interface to support IEEE 1588 - - -PROPERTIES - -- compatible - Usage: required - Value type: - Definition: A standard property. - Must include "fsl,fman-ptp-timer". - -- reg - Usage: required - Value type: - Definition: A standard property. - -EXAMPLE - -ptp-timer@fe000 { - compatible = "fsl,fman-ptp-timer"; - reg = <0xfe000 0x1000>; -}; +Refer to Documentation/devicetree/bindings/ptp/ptp-qoriq.txt ============================================================================= FMan MDIO Node diff --git a/Documentation/devicetree/bindings/ptp/ptp-qoriq.txt b/Documentation/devicetree/bindings/ptp/ptp-qoriq.txt index 0f569d8..c5d0e79 100644 --- a/Documentation/devicetree/bindings/ptp/ptp-qoriq.txt +++ b/Documentation/devicetree/bindings/ptp/ptp-qoriq.txt @@ -2,7 +2,8 @@ General Properties: - - compatible Should be "fsl,etsec-ptp" + - compatible Should be "fsl,etsec-ptp" for eTSEC + Should be "fsl,fman-ptp-timer" for DPAA FMan - reg Offset and length of the register set for the device - interrupts There should be at least two interrupts. Some devices have as many as four PTP related interrupts. @@ -43,14 +44,22 @@ Clock Properties: value, which will be directly written in those bits, that is why, according to reference manual, the next clock sources can be used: + For eTSEC, <0> - external high precision timer reference clock (TSEC_TMR_CLK input is used for this purpose); <1> - eTSEC system clock; <2> - eTSEC1 transmit clock; <3> - RTC clock input. - When this attribute is not used, eTSEC system clock will serve as - IEEE 1588 timer reference clock. + For DPAA FMan, + <0> - external high precision timer reference clock (TMR_1588_CLK) + <1> - MAC system clock (1/2 FMan clock) + <2> - reserved + <3> - RTC clock oscillator + + When this attribute is not used, the IEEE 1588 timer reference clock + will use the eTSEC system clock (for Gianfar) or the MAC system + clock (for DPAA). Example: -- 1.7.1