Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp3375551pxu; Mon, 19 Oct 2020 10:27:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzxyw+hdJyrlhcCyxFQMJESG1pZkfzJVaKV3BZjmfvYuPX6vpMHhtWDI73ZEW/OwH9Mz6Y6 X-Received: by 2002:a50:fd17:: with SMTP id i23mr899774eds.50.1603128454352; Mon, 19 Oct 2020 10:27:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603128454; cv=none; d=google.com; s=arc-20160816; b=qfF5KAu+V4EHalDmJydxmqVF+ecgKZXpp1c3YhfAdc6lyWRrJ5gKQsXjag/GZeUeBt m8QbqHbggbyOBQkDFgsDxqUEj07N5yCm5r0KesFodqHHTA1HOXWb0DTKuGtx9A/K/j/l PGE4L7a7SrwJNI9RjNsnXPauY8jvepdAiPzf5BVMp0mQug2gpxFFCcCUEYj4YTG3rqRU SjwHeKkCPnkoPX+iOZS6ZGjI+cUz+shzzsYXctPbN/zG968eTBipR+b0eYJ+mWr88KBa J8mA8OU172A3wc6+AKxQI41mRrmQeQBu6rTh0oVM9XY2Wv4wqWmUvNfGMMaMA80wpK3P Jz1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=sEPc1MbEQbrHpWmtqjp/OKnvdICz0w/oSIlXDP38s30=; b=acYmGY9AFpcui+lCAlDXbNb7u8sKGo6uHoplyZSg/K9gfR9KOpinHemmVVnNYi/waj i9P6Ja/vApP1F8XTGtQkvKEFjbfIv/Uzv9u6yYRYrd1dwEAdXiRT/UO9rTiPrFi70zSt hwvAnYpMe/10n+i5RI3jUmTOfCQSF8X03Wcg7fM43vbvAA4LvwJ+ZnSPBqlsjIej6u19 Ph1wQvjW8vV3e6nxJCiwW8XbAlxSigZA66wgfZxfy5GvWGUxaj5tRA9TW1iGuuqNsfIz mKLfyvvjI7HpLmI+6cc3JGq+v9Gs6Q5HPEsEohJY0x/aOtMYpcs4oi5SGBqek09r1JCZ 5HoA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m17si208262edv.250.2020.10.19.10.27.12; Mon, 19 Oct 2020 10:27:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727215AbgJSR0L (ORCPT + 99 others); Mon, 19 Oct 2020 13:26:11 -0400 Received: from mailout08.rmx.de ([94.199.90.85]:36553 "EHLO mailout08.rmx.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725952AbgJSR0L (ORCPT ); Mon, 19 Oct 2020 13:26:11 -0400 Received: from kdin01.retarus.com (kdin01.dmz1.retloc [172.19.17.48]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mailout08.rmx.de (Postfix) with ESMTPS id 4CFNvg4n4YzMvcq; Mon, 19 Oct 2020 19:26:07 +0200 (CEST) Received: from mta.arri.de (unknown [217.111.95.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by kdin01.retarus.com (Postfix) with ESMTPS id 4CFNvP0235z2xDN; Mon, 19 Oct 2020 19:25:53 +0200 (CEST) Received: from N95HX1G2.wgnetz.xx (192.168.54.91) by mta.arri.de (192.168.100.104) with Microsoft SMTP Server (TLS) id 14.3.408.0; Mon, 19 Oct 2020 19:24:51 +0200 From: Christian Eggers To: Vladimir Oltean , Florian Fainelli , Andrew Lunn , Vivien Didelot , Jakub Kicinski , Rob Herring CC: Helmut Grohne , Paul Barker , Codrin Ciubotariu , George McCollister , Marek Vasut , Tristram Ha , "David S . Miller" , Woojung Huh , "Microchip Linux Driver Support" , Christian Eggers , , , Subject: [RFC PATCH 0/9] net: dsa: microchip: PTP support for KSZ956x Date: Mon, 19 Oct 2020 19:24:26 +0200 Message-ID: <20201019172435.4416-1-ceggers@arri.de> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [192.168.54.91] X-RMX-ID: 20201019-192601-4CFNvP0235z2xDN-0@kdin01 X-RMX-SOURCE: 217.111.95.66 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series adds support for PTP to the KSZ956x and KSZ9477 devices. 1/9: Convert device tree binding from .txt to .yaml 2/9: Split ksz_common.h, so it can be included in tag_ksz.c 3/9: ksz9477.c --> ksz9477_main.c (ksz9477_ptp.c will be added soon) 4/9: Add dt-bindings for interrupts 5/9: Infrastructure for interrupts 6/9: Posix clock routines for chip PTP clock 7/9: Support for hardware time stamping 8/9: Support for PPS 9/9: Support for perout There is only little documentation for PTP available on the data sheet [1] (more or less only the register reference). Questions to the Microchip support were seldom answered comprehensively or in reasonable time. So this is more or less the result of reverse engineering. [1] http://ww1.microchip.com/downloads/en/DeviceDoc/KSZ9563R-Data-Sheet-DS00002419D.pdf