<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/ptp/ptp_sysfs.c, branch linux-4.4.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.4.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.4.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2020-05-20T06:11:40Z</updated>
<entry>
<title>ptp: create "pins" together with the rest of attributes</title>
<updated>2020-05-20T06:11:40Z</updated>
<author>
<name>Dmitry Torokhov</name>
</author>
<published>2017-02-14T18:23:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e5a654c9935cf48f6b1913e0e1aea81945e1585b'/>
<id>urn:sha1:e5a654c9935cf48f6b1913e0e1aea81945e1585b</id>
<content type='text'>
commit 85a66e55019583da1e0f18706b7a8281c9f6de5b upstream.

Let's switch to using device_create_with_groups(), which will allow us to
create "pins" attribute group together with the rest of ptp device
attributes, and before userspace gets notified about ptp device creation.

Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
[bwh: Backported to 4.9: adjust context]
Signed-off-by: Ben Hutchings &lt;ben.hutchings@codethink.co.uk&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>ptp: use is_visible method to hide unused attributes</title>
<updated>2020-05-20T06:11:39Z</updated>
<author>
<name>Dmitry Torokhov</name>
</author>
<published>2017-02-14T18:23:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e95a7fb08693fe63032bf573c30381c79cd349e1'/>
<id>urn:sha1:e95a7fb08693fe63032bf573c30381c79cd349e1</id>
<content type='text'>
commit af59e717d5ff9c8dbf9bcc581c0dfb3b2a9c9030 upstream.

Instead of creating selected attributes after the device is created (and
after userspace potentially seen uevent), lets use attribute group
is_visible() method to control which attributes are shown. This will allow
us to create all attributes (except "pins" group, which will be taken care
of later) before userspace gets notified about new ptp class device.

Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Ben Hutchings &lt;ben.hutchings@codethink.co.uk&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>ptp: expose the programmable pins via sysfs</title>
<updated>2014-03-21T18:21:14Z</updated>
<author>
<name>Richard Cochran</name>
</author>
<published>2014-03-20T21:21:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=653104d19a7d490baeb94113151e95d8c04ef01d'/>
<id>urn:sha1:653104d19a7d490baeb94113151e95d8c04ef01d</id>
<content type='text'>
This patch adds the sysfs hooks needed in order to get and set the
programmable pin settings.

Signed-off-by: Richard Cochran &lt;richardcochran@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>PTP: convert class code to use dev_groups</title>
<updated>2013-07-27T01:05:17Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
</author>
<published>2013-07-24T22:05:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3499116b915e260b275c167a471e0e05bbe3f1d6'/>
<id>urn:sha1:3499116b915e260b275c167a471e0e05bbe3f1d6</id>
<content type='text'>
The dev_attrs field of struct class is going away soon, dev_groups
should be used instead.  This converts the ptp class code to use the
correct field.

Acked-by: Richard Cochran &lt;richardcochran@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>ptp: Added a brand new class driver for ptp clocks.</title>
<updated>2011-05-23T20:01:00Z</updated>
<author>
<name>Richard Cochran</name>
</author>
<published>2011-04-22T10:03:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d94ba80ebbea17f036cecb104398fbcd788aa742'/>
<id>urn:sha1:d94ba80ebbea17f036cecb104398fbcd788aa742</id>
<content type='text'>
This patch adds an infrastructure for hardware clocks that implement
IEEE 1588, the Precision Time Protocol (PTP). A class driver offers a
registration method to particular hardware clock drivers. Each clock is
presented as a standard POSIX clock.

The ancillary clock features are exposed in two different ways, via
the sysfs and by a character device.

Signed-off-by: Richard Cochran &lt;richard.cochran@omicron.at&gt;
Acked-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
Acked-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: John Stultz &lt;john.stultz@linaro.org&gt;
</content>
</entry>
</feed>
