Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp1641080imm; Wed, 6 Jun 2018 20:48:49 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKr+Lb7avG5folchIk03STR7jYBM/b7yhR7MgYiopaGFt0LoinMAez1GsTSBwjgw90S7SMe X-Received: by 2002:a62:642:: with SMTP id 63-v6mr224106pfg.222.1528343328974; Wed, 06 Jun 2018 20:48:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528343328; cv=none; d=google.com; s=arc-20160816; b=NvYZH2pvtNsAhkWNJokBKSQwAG5gZD4z9hvKGkYta+vJr1YQ5MzOkeZ1IAfARiYzRs IuPJdpFXU4DXbLGePHV9M/A3vlKvfbzsiKwHM8pNXFjguNbscQTO4nhVIMcGlMpWpcim ulG6SB5UMhGjGV3dRiLdNYG0/yP5hnNiGd9BEmiBQtUgPsQvvataLDmmW/+GyIYiE/e8 e6yi596UTWWM9lsC7qfj49HuNf1EoZ2EaSeaDQJSTWZ0cLy5Ga0dQK/E7nWfmUAJuuo+ JrMqT9K8LLZDejUycEz+9oXnvlig2TZOeh3kAp9aKghapK0sOKoj6dvHKG5Z88dhhozp XsMQ== 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=JPCjJ7gR2l3hPhzCH17Ye9M8yYQa1zPW1oXtwsl45/o=; b=Uu1EjhO6pbHhOFKBVd2TkgPCjtqI8nNVdthkL4Q00QsZ2qjL9mqXvC0gJRpFKbZ9Ox 5o9WmQo6tdAhkAW6am+92kksBreweTsInKYh46lgcyHPyfiXaDwfui0FYTp4YK/v19Rl Glqm84Xmw6hWN9/Ok0OuCt2Fiq3NUQL5BR4E5QvWXKpuTwaYcH1nu3fB9SfJ/O2CuJqD dXgmkdghCZ3aZbDxJH7Hq7tLJNTRg10GH/UpAVT2YDmYNAcul+MBucTph4VMPrS0jEjC 5TZ0ovz1sB7viFWcDFhaBHlSpyhL/BH7L9m18rZbf7XbztWXBqgn/VfeEeVG4g+wtmJv RMFA== 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 g10-v6si48512297plq.523.2018.06.06.20.48.23; Wed, 06 Jun 2018 20:48:48 -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 S1753595AbeFGDYr (ORCPT + 99 others); Wed, 6 Jun 2018 23:24:47 -0400 Received: from inva021.nxp.com ([92.121.34.21]:33644 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932209AbeFGDYo (ORCPT ); Wed, 6 Jun 2018 23:24:44 -0400 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 290C42001D4; Thu, 7 Jun 2018 05:24:42 +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 B21A12001DD; Thu, 7 Jun 2018 05:24:41 +0200 (CEST) Received: from az84smr01.freescale.net (az84smr01.freescale.net [10.64.34.197]) by inv1260.na-rdc02.nxp.com (Postfix) with ESMTP id 68B0E40A70; Wed, 6 Jun 2018 20:24:41 -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 w573OSwQ023286; Wed, 6 Jun 2018 20:24:38 -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: [v2, 03/10] dt-binding: ptp_qoriq: add DPAA FMan support Date: Thu, 7 Jun 2018 11:22:49 +0800 Message-Id: <20180607032256.39802-4-yangbo.lu@nxp.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180607032256.39802-1-yangbo.lu@nxp.com> References: <20180607032256.39802-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. --- 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