From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5ECE7C282DB for ; Mon, 21 Jan 2019 10:47:28 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2EAF420663 for ; Mon, 21 Jan 2019 10:47:28 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="XkY6J6eP" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2EAF420663 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=nxp.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=WsPTfxP+5npRxO9rU8zSh63aU3+G1mlBmHpmOJmuO40=; b=XkY 6J6ePChc39OU1OWEmwBh8NZU9BFD+VwJJy89DVilkwNUKRlDxNbcY7tDLLhSmLDCXBAy76aUMSByu jTHBy/IDCY6NY3LYScp5LsoTTU28S+QzP7YLXARPg0F+cZE390rNekEotvnp1yfjs0vqk8I94aXDm wGUBCe0KaS1F4wKSeDOyt4nJs5+AHYnzNV88pPy/h5C1K8XCXCaNMFnvTC2Q1XwZdnegy9h9THgpp 29tNE/nUYy86N3fsotb3jr4jEmTI0NMDrqCRC42DBapFz6x6O039FcCGriBu2BmjxDdcgnGohohkV 2xYCsA0pS7Cp+u1KovFRcITh3a15ftQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1glX6z-00016R-VE; Mon, 21 Jan 2019 10:47:25 +0000 Received: from inva021.nxp.com ([92.121.34.21]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1glX6w-000158-Hb for linux-arm-kernel@lists.infradead.org; Mon, 21 Jan 2019 10:47:24 +0000 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 1B6C1200030; Mon, 21 Jan 2019 11:47:19 +0100 (CET) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 33CC2200184; Mon, 21 Jan 2019 11:47:15 +0100 (CET) Received: from titan.ap.freescale.net (TITAN.ap.freescale.net [10.192.208.233]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 1FFCB402C7; Mon, 21 Jan 2019 18:47:10 +0800 (SGT) From: Yangbo Lu To: netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [v3, 0/6] External trigger stamp fifo support for ptp_qoriq Date: Mon, 21 Jan 2019 18:41:37 +0800 Message-Id: <20190121104143.46782-1-yangbo.lu@nxp.com> X-Mailer: git-send-email 2.14.1 X-Virus-Scanned: ClamAV using ClamSMTP X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190121_024722_725567_0ECC82BA X-CRM114-Status: UNSURE ( 6.44 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Richard Cochran , Rob Herring , Shawn Guo , "David S . Miller" , Yangbo Lu MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org This patch-set is to add external trigger stamp fifo support by a new binding "fsl,extts-fifo", and to add fiper pulse loopback support which is very useful for validating trigger without external hardware. Also fixed issues in interrupt enabling/handling. "fsl,extts-fifo" is required to be added into 1588 timer dts node whose hardware supports it. The work will be done for some QorIQ platforms dts in the near future. Yangbo Lu (6): ptp_qoriq: fix interrupt enabling and handling ptp_qoriq: support external trigger stamp FIFO dt-binding: ptp_qoriq: document "fsl,extts-fifo" property ARM: dts: ls1021a: add 1588 external trigger stamp fifo support ptp: add debugfs support for ptp_qoriq MAINTAINERS: add drivers/ptp/ptp_qoriq_debugfs.c into QorIQ PTP list .../devicetree/bindings/ptp/ptp-qoriq.txt | 2 + MAINTAINERS | 1 + arch/arm/boot/dts/ls1021a.dtsi | 1 + drivers/ptp/Kconfig | 2 +- drivers/ptp/Makefile | 4 +- drivers/ptp/ptp_qoriq.c | 129 +++++++++++++------- drivers/ptp/ptp_qoriq_debugfs.c | 101 +++++++++++++++ include/linux/fsl/ptp_qoriq.h | 15 +++ 8 files changed, 210 insertions(+), 45 deletions(-) create mode 100644 drivers/ptp/ptp_qoriq_debugfs.c _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel