Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752376Ab0HXSbB (ORCPT ); Tue, 24 Aug 2010 14:31:01 -0400 Received: from mo-p00-ob.rzone.de ([81.169.146.161]:32600 "EHLO mo-p00-ob.rzone.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751306Ab0HXSa7 (ORCPT ); Tue, 24 Aug 2010 14:30:59 -0400 X-RZG-AUTH: :P3gBZUipdd93EFhLYvtPf8I/2nqnPwH62F+dj0BM8VcpI3CUbfbcqZjLwtASXA== X-RZG-CLASS-ID: mo00 Message-ID: <4C740FC7.90106@gatzka.org> Date: Tue, 24 Aug 2010 20:30:31 +0200 From: Stephan Gatzka Reply-To: stephan@gatzka.org User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.11) Gecko/20100713 Lightning/1.0b1 Thunderbird/3.0.6 MIME-Version: 1.0 To: john stultz CC: Richard Cochran , Rodolfo Giometti , Arnd Bergmann , netdev@vger.kernel.org, devicetree-discuss@lists.ozlabs.org, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org, Krzysztof Halasa Subject: Re: [PATCH 1/5] ptp: Added a brand new class driver for ptp clocks. References: <363bd749a38d0b785d8431e591bf54c38db4c2d7.1281956490.git.richard.cochran@omicron.at> <20100817085324.GB3330@riccoc20.at.omicron.at> <1282090963.1734.97.camel@localhost> <20100818071942.GA4096@riccoc20.at.omicron.at> <1282176776.2865.100.camel@localhost.localdomain> <20100819055518.GA4084@riccoc20.at.omicron.at> <1282594125.3111.344.camel@localhost.localdomain> In-Reply-To: <1282594125.3111.344.camel@localhost.localdomain> Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha1; boundary="------------ms060008080704040805010902" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 8422 Lines: 136 This is a cryptographically signed message in MIME format. --------------ms060008080704040805010902 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Hello! > I'm curious if its possible to do the PTP hardware offset/adjustment > calculation in a module internally to the kernel? That would allow the > PPS interface to still be used to sync the system time, and not expose > additional interfaces. Just my 2 cents on this issue. PTP is very often used in embedded=20 systems, where the PTP timestamps will go into some dedicated hardware,=20 for instance an FPGA. I'm currently working on a project where it is not necessary to adjust=20 the Linux system time via PTP (although it would be a nice to have), but = we only need the timestamps from the PHY to put them into our FPGA=20 device. So we need some kind of API to access the PTP timestamp registers= =2E Kind regards, Stephan --------------ms060008080704040805010902 Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIO5jCC BEYwggOvoAMCAQICEGb9R+PCGeToms2Z3fU6yyQwDQYJKoZIhvcNAQEFBQAwXzELMAkGA1UE BhMCVVMxFzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMTcwNQYDVQQLEy5DbGFzcyAxIFB1Ymxp YyBQcmltYXJ5IENlcnRpZmljYXRpb24gQXV0aG9yaXR5MB4XDTA1MTAyODAwMDAwMFoXDTE1 MTAyNzIzNTk1OVowgd0xCzAJBgNVBAYTAlVTMRcwFQYDVQQKEw5WZXJpU2lnbiwgSW5jLjEf MB0GA1UECxMWVmVyaVNpZ24gVHJ1c3QgTmV0d29yazE7MDkGA1UECxMyVGVybXMgb2YgdXNl IGF0IGh0dHBzOi8vd3d3LnZlcmlzaWduLmNvbS9ycGEgKGMpMDUxHjAcBgNVBAsTFVBlcnNv bmEgTm90IFZhbGlkYXRlZDE3MDUGA1UEAxMuVmVyaVNpZ24gQ2xhc3MgMSBJbmRpdmlkdWFs IFN1YnNjcmliZXIgQ0EgLSBHMjCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMnf rOfq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EeMBwGA1UECxMVUGVyc29uYSBOb3QgVmFsaWRhdGVkMTcwNQYDVQQDEy5WZXJpU2lnbiBD bGFzcyAxIEluZGl2aWR1YWwgU3Vic2NyaWJlciBDQSAtIEcyAhBmHqO8UNB+S7myPW/q7t8O MIIBBQYLKoZIhvcNAQkQAgsxgfWggfIwgd0xCzAJBgNVBAYTAlVTMRcwFQYDVQQKEw5WZXJp U2lnbiwgSW5jLjEfMB0GA1UECxMWVmVyaVNpZ24gVHJ1c3QgTmV0d29yazE7MDkGA1UECxMy VGVybXMgb2YgdXNlIGF0IGh0dHBzOi8vd3d3LnZlcmlzaWduLmNvbS9ycGEgKGMpMDUxHjAc BgNVBAsTFVBlcnNvbmEgTm90IFZhbGlkYXRlZDE3MDUGA1UEAxMuVmVyaVNpZ24gQ2xhc3Mg MSBJbmRpdmlkdWFsIFN1YnNjcmliZXIgQ0EgLSBHMgIQZh6jvFDQfku5sj1v6u7fDjANBgkq hkiG9w0BAQEFAASCAQBmoolDPuz6L1zrlGx/NvkoBaA/aoV1rP69vTQ0Upj55ZSRmLRdJ5Qy TumxVggMZKNFz8yJmkCzxPwfU4NPRqhfUdXpxRtgZCPDYLDlYADaMSk8FlgKIQ9aXL266As+ I4hhat8LqSKNv9Nn2BbCHI3UiatNBUSB4bvvlIrZbvCKv0xLy2uf9lFU1aIVLBgdkNv5ZfAH MOXeyljc1jfCleT3g/bNO7Eyc+g4F+aFhji0nqld+HNHaWc3cxPwTqMhpulfIgc/nyJdth+r QMbWWwlX568QnLr7Dd3IWWFc7vSEiwd01Rb8YMVUU9JtoiglAE/VD4htLk5mFmIGH4tnBkWL AAAAAAAA --------------ms060008080704040805010902-- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/