[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230111114429.1297557-1-s-vadapalli@ti.com>
Date: Wed, 11 Jan 2023 17:14:24 +0530
From: Siddharth Vadapalli <s-vadapalli@...com>
To: <davem@...emloft.net>, <edumazet@...gle.com>, <kuba@...nel.org>,
<pabeni@...hat.com>, <robh+dt@...nel.org>,
<krzysztof.kozlowski@...aro.org>,
<krzysztof.kozlowski+dt@...aro.org>, <nm@...com>,
<kristo@...nel.org>, <vigneshr@...com>, <rogerq@...nel.org>,
<nsekhar@...com>
CC: <netdev@...r.kernel.org>, <devicetree@...r.kernel.org>,
<linux-kernel@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>, <srk@...com>,
<s-vadapalli@...com>
Subject: [PATCH net-next 0/5] Add PPS support to am65-cpts driver
The CPTS hardware doesn't support PPS signal generation. Using the GenFx
(periodic signal generator) function, it is possible to model a PPS signal
followed by routing it via the time sync router to the CPTS_HWy_TS_PUSH
(hardware time stamp) input, in order to generate timestamps at 1 second
intervals.
This series adds driver support for enabling PPS signal generation.
Additionally, the documentation for the am65-cpts driver is updated with
the bindings for the "ti,pps" property, which is used to inform the
pair [CPTS_HWy_TS_PUSH, GenFx] to the cpts driver. The PPS example is
enabled for AM625-SK board by default, by adding the timesync_router node
to the AM62x SoC, and configuring it for PPS in the AM625-SK board dts.
Grygorii Strashko (3):
dt-binding: net: ti: am65x-cpts: add 'ti,pps' property
net: ethernet: ti: am65-cpts: add pps support
net: ethernet: ti: am65-cpts: adjust pps following ptp changes
Siddharth Vadapalli (2):
arm64: dts: ti: k3-am62-main: Add timesync router node
arm64: dts: ti: k3-am625-sk: Add cpsw3g cpts PPS support
.../bindings/net/ti,k3-am654-cpts.yaml | 8 +
arch/arm64/boot/dts/ti/k3-am62-main.dtsi | 9 ++
arch/arm64/boot/dts/ti/k3-am625-sk.dts | 20 +++
drivers/net/ethernet/ti/am65-cpts.c | 144 ++++++++++++++++--
4 files changed, 166 insertions(+), 15 deletions(-)
--
2.25.1
Powered by blists - more mailing lists