lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Wed, 30 Nov 2016 11:35:06 -0600 From: Grygorii Strashko <grygorii.strashko@...com> To: Richard Cochran <richardcochran@...il.com> CC: "David S. Miller" <davem@...emloft.net>, <netdev@...r.kernel.org>, Mugunthan V N <mugunthanvnm@...com>, Sekhar Nori <nsekhar@...com>, <linux-kernel@...r.kernel.org>, <linux-omap@...r.kernel.org>, Rob Herring <robh+dt@...nel.org>, <devicetree@...r.kernel.org>, Murali Karicheri <m-karicheri2@...com>, Wingman Kwok <w-kwok2@...com> Subject: Re: [PATCH 2/6] net: ethernet: ti: cpts: add support for ext rftclk selection On 11/30/2016 03:56 AM, Richard Cochran wrote: > On Mon, Nov 28, 2016 at 05:04:24PM -0600, Grygorii Strashko wrote: >> Some CPTS instances, which can be found on KeyStone 2 1/10G Ethernet >> Switch Subsystems, can control an external multiplexer that selects >> one of up to 32 clocks for time sync reference (RFTCLK). This feature >> can be configured through CPTS_RFTCLK_SEL register (offset: x08). >> >> Hence, introduce optional DT cpts_rftclk_sel poperty wich, if present, >> will specify CPTS reference clock. The cpts_rftclk_sel should be >> omitted in DT if HW doesn't support this feature. The external fixed >> rate clocks can be defined in board files as "fixed-clock". > > Can't you implement this using the clock tree, rather than an ad-hoc > DT property? > I've thought about this, but decided to move forward with this impl which is pretty simple. I will try. -- regards, -grygorii
Powered by blists - more mailing lists