Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp3275992imm; Mon, 4 Jun 2018 00:13:55 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJL3QjuMKGlONZFftZtF5x2l8x1pFPpHXLHxz4eBQu1WXl5jKQcEmaukNkd+ylvKIgd9F6B X-Received: by 2002:a62:8a83:: with SMTP id o3-v6mr3511670pfk.12.1528096435468; Mon, 04 Jun 2018 00:13:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528096435; cv=none; d=google.com; s=arc-20160816; b=aVGy45NfLP2mkLAZfLEMui3A0cfSeokxPvMH8sy+CktKWfhhGfLo2+g5bWeYFRAJ2c +U03T0EHQQAIEt7XB2viIbJWcfVb9FT+piQCyHFNb5DTxbWY9aRTnbdEtDmrr4dfWr93 eDYeSu6CytbvD+Is4eBgFASU8iEfEXIUzYpp20ueMdnNggbyaL6LkCXOPdyfnEhmpoOD kuf/rPz9y0ARATnPIDIeU3ZgcD4M+1DTEWlSqMtK3FbkM6VeAPjexPOA11qhwpRH426N kLzr12OMQBP0w4fM7UF8Twx1yuV8tLY8rMb+hISczHPK0P73M0JGLmjb8MRilNddP/bW DDdA== 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=IkgP0MOubgVKNzCQia1+k6a+lyUvCLBZMjc7HS7c0m0=; b=B1YmmzIMibpgnSTd2xn/l+hDfqvXcdC2f4u94hzeMl44mW0OWJ5vriMPRyl5w3Ibfe 7k4y+6Tgq3XWqsKjd/nJlviwPgeAhCNSJz4E8LEmgcLM3eHcj8/7dz5L3EtxPjqKTikM Poaqp616Al81mJ5p3k0x0AI89GyGU5M/ZzH3k3AqNxd/iNxKo1V0hcj4WwXm3TftsHPQ qdUSZxiUum+CM3w7+HRUmEh0Jze+I7H0dn9EdOSG7LyxuRd5aMMFZkNEikyHaM8oh5po EdDdF4YvKIuIs+PPIrykNGjO084wuZc50Pn6Zc/GmSOB9Sxd1SzQe3wRvH6yVn3FDPdG Ma3Q== 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 q19-v6si10810914pgq.71.2018.06.04.00.13.41; Mon, 04 Jun 2018 00:13: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 S1753590AbeFDHNT (ORCPT + 99 others); Mon, 4 Jun 2018 03:13:19 -0400 Received: from inva021.nxp.com ([92.121.34.21]:34357 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752880AbeFDHKa (ORCPT ); Mon, 4 Jun 2018 03:10:30 -0400 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 74AFC2000A7; Mon, 4 Jun 2018 09:10:28 +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 370CB200082; Mon, 4 Jun 2018 09:10:28 +0200 (CEST) Received: from az84smr01.freescale.net (az84smr01.freescale.net [10.64.34.197]) by inv1260.na-rdc02.nxp.com (Postfix) with ESMTP id 582E040A59; Mon, 4 Jun 2018 00:10:27 -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 w547ADCt029072; Mon, 4 Jun 2018 00:10:24 -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: [PATCH 03/10] dt-binding: ptp_qoriq: add DPAA FMan support Date: Mon, 4 Jun 2018 15:08:30 +0800 Message-Id: <20180604070837.19265-4-yangbo.lu@nxp.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180604070837.19265-1-yangbo.lu@nxp.com> References: <20180604070837.19265-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 --- 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