Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp1973011imm; Thu, 7 Jun 2018 03:25:39 -0700 (PDT) X-Google-Smtp-Source: ADUXVKK6azK93W/jobmIWyV0VmY0KDTUFWnR6opfLmZqPZNSmGMUz22Gl8Yf8v/ihIxs+6ZVJE4G X-Received: by 2002:a17:902:5409:: with SMTP id d9-v6mr1470113pli.0.1528367139361; Thu, 07 Jun 2018 03:25:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528367139; cv=none; d=google.com; s=arc-20160816; b=ARZbF9kbXJ8S5TnOXjdp5BYkm3YGo8i75OkIcoCLRHvZX9ZEJAsNhuxXWaVDlqjWmC tWSK/9+26RTekStKT3o2r002q3Ljh3GpYv/b81OdiIaZVQHiX9j//LEc4EfIs0SmWXQA 8rE6+12e/NmzDnsu6g19AKCJ8+wug/07vV0O1THJ10ejL1vfuiX6k6W4CnPMyb+rFFoa 18K5PFHg8MRzfOV1ZfQ/QDsQGYudsz6Fjk8AzS+YW/+KFS6+dL8d9eIpOAwTKFsJ1YOx DMxEXB6qx185Yxb92nOowvL7g6c1eFVesOsD4U3FZocey5RRh4a2YvSzxpmQ0eBKNURC 0Rug== 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=9k/oiCLV0mOSYPXkft79cd/krY56fKoHeObmkiPwV7U=; b=E8hr+KZQocMvJPoqkIgNCLG+gYfcdBMagzaYgA+8ugR51PjsNPWsfnwJsULkVJf0xb wmUWaUWFarNqEHgBOyCzsxImIZ83gTpBUKuv3VfIVIr45jMn6VIEZ+xd42bRXhGHKxkj Y67e5LbzR9EImjYnsZqG8gnfNOpsIeUai2pyjdQriypzm81TW/dcFrcjPnElUJTRDSwp LCnHBRbPjCEzsSLekShZzaQicR8WDei6lBKSWISIVz3vGWWvpptJhhNtLWTskpdC4UA4 knealUcIrM9vZYLrooTjvCU+6/44tIDvEKCbEpSrErxzob9CDrSTfbmQq/vA2mZuCDWt nNUw== 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 c10-v6si24689162pll.275.2018.06.07.03.25.24; Thu, 07 Jun 2018 03:25:39 -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 S932897AbeFGJWs (ORCPT + 99 others); Thu, 7 Jun 2018 05:22:48 -0400 Received: from inva020.nxp.com ([92.121.34.13]:46247 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932856AbeFGJWg (ORCPT ); Thu, 7 Jun 2018 05:22:36 -0400 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id A6AF81A02C5; Thu, 7 Jun 2018 11:22:33 +0200 (CEST) Received: from smtp.na-rdc02.nxp.com (inv1260.us-phx01.nxp.com [134.27.49.11]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 3A5711A02E0; Thu, 7 Jun 2018 11:22:33 +0200 (CEST) Received: from az84smr01.freescale.net (az84smr01.freescale.net [10.64.34.197]) by inv1260.na-rdc02.nxp.com (Postfix) with ESMTP id A505E40A56; Thu, 7 Jun 2018 02:22:32 -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 w579MJ4j020959; Thu, 7 Jun 2018 02:22:30 -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: [v3, 03/10] dt-binding: ptp_qoriq: add DPAA FMan support Date: Thu, 7 Jun 2018 17:20:43 +0800 Message-Id: <20180607092050.46128-4-yangbo.lu@nxp.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180607092050.46128-1-yangbo.lu@nxp.com> References: <20180607092050.46128-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 --- Changes for v2: - None. Changes for v3: - None. --- 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