<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-dev/drivers/ptp, branch linus/master</title>
<subtitle>Linux kernel development work - see feature branches</subtitle>
<id>https://git.zx2c4.com/linux-dev/atom/drivers/ptp?h=linus%2Fmaster</id>
<link rel='self' href='https://git.zx2c4.com/linux-dev/atom/drivers/ptp?h=linus%2Fmaster'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/'/>
<updated>2022-05-26T04:51:32Z</updated>
<entry>
<title>ptp: ptp_clockmatrix: fix is_single_shot</title>
<updated>2022-05-26T04:51:32Z</updated>
<author>
<name>Min Li</name>
<email>min.li.xe@renesas.com</email>
</author>
<published>2022-05-24T14:45:01Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=d0bbe0328fe552ff3211b3cbbf6117a885a3d5b2'/>
<id>urn:sha1:d0bbe0328fe552ff3211b3cbbf6117a885a3d5b2</id>
<content type='text'>
is_single_shot should return false for the power_of_2 mask

Fixes: bec67592521e ("ptp: ptp_clockmatrix: Add PTP_CLK_REQ_EXTTS support")
Signed-off-by: Min Li &lt;min.li.xe@renesas.com&gt;
Link: https://lore.kernel.org/r/1653403501-12621-1-git-send-email-min.li.xe@renesas.com
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</content>
</entry>
<entry>
<title>ptp: ocp: Add firmware header checks</title>
<updated>2022-05-24T18:39:54Z</updated>
<author>
<name>Vadim Fedorenko</name>
<email>vadfed@fb.com</email>
</author>
<published>2022-05-19T21:21:53Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=3c3673bde50c31d1f5ab0b39e9eeb555285786bb'/>
<id>urn:sha1:3c3673bde50c31d1f5ab0b39e9eeb555285786bb</id>
<content type='text'>
Right now it's possible to flash any kind of binary via devlink and
break the card easily. This diff adds an optional header check when
installing the firmware.

Signed-off-by: Vadim Fedorenko &lt;vadfed@fb.com&gt;
Signed-off-by: Jonathan Lemon &lt;jonathan.lemon@gmail.com&gt;
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</content>
</entry>
<entry>
<title>ptp: ocp: fix PPS source selector debugfs reporting</title>
<updated>2022-05-24T18:39:54Z</updated>
<author>
<name>Jonathan Lemon</name>
<email>jonathan.lemon@gmail.com</email>
</author>
<published>2022-05-19T21:21:52Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=b88fdbba931e9c79772120cb60a6ea8adaf0b451'/>
<id>urn:sha1:b88fdbba931e9c79772120cb60a6ea8adaf0b451</id>
<content type='text'>
The NTL timecard design has a PPS1 selector which selects the
the PPS source automatically, according to Section 1.9 of the
documentation.

  If there is a SMA PPS input detected:
     - send signal to MAC and PPS slave selector.

  If there is a MAC PPS input detected:
     - send GNSS1 to the MAC
     - send MAC to the PPS slave

  If there is a GNSS1 input detected:
     - send GNSS1 to the MAC
     - send GNSS1 to the PPS slave.MAC

Change the debugfs summary so it reflects the correct mapping,
for assistance in debugging.  No functional change.

Signed-off-by: Jonathan Lemon &lt;jonathan.lemon@gmail.com&gt;
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</content>
</entry>
<entry>
<title>ptp: ocp: add .init function for sma_op vector</title>
<updated>2022-05-24T18:39:54Z</updated>
<author>
<name>Jonathan Lemon</name>
<email>jonathan.lemon@gmail.com</email>
</author>
<published>2022-05-19T21:21:51Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=ee4cd7250c8f5fd47b77b2235057f4b52c1576a6'/>
<id>urn:sha1:ee4cd7250c8f5fd47b77b2235057f4b52c1576a6</id>
<content type='text'>
Create an .init function for the op vector, and a corresponding
wrapper function, for different sma mapping setups.

Add a default_fcn to the sma information, and use it when displaying
information for pins which have fixed functions.

Signed-off-by: Jonathan Lemon &lt;jonathan.lemon@gmail.com&gt;
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</content>
</entry>
<entry>
<title>ptp: ocp: vectorize the sma accessor functions</title>
<updated>2022-05-24T18:39:54Z</updated>
<author>
<name>Jonathan Lemon</name>
<email>jonathan.lemon@gmail.com</email>
</author>
<published>2022-05-19T21:21:50Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=caab82cdbfe449c1597ab455c09d0fa514ef6947'/>
<id>urn:sha1:caab82cdbfe449c1597ab455c09d0fa514ef6947</id>
<content type='text'>
Move the SMA get and set functions into an operations vector for
different boards.

Create wrappers for the accessor functions.

Signed-off-by: Jonathan Lemon &lt;jonathan.lemon@gmail.com&gt;
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</content>
</entry>
<entry>
<title>ptp: ocp: constify selectors</title>
<updated>2022-05-24T18:39:54Z</updated>
<author>
<name>Jonathan Lemon</name>
<email>jonathan.lemon@gmail.com</email>
</author>
<published>2022-05-19T21:21:49Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=3f3fe41c0bdfe541aa7aa9a8625efe3bd3ef60cc'/>
<id>urn:sha1:3f3fe41c0bdfe541aa7aa9a8625efe3bd3ef60cc</id>
<content type='text'>
The ocp selectors are all constant, so label them as such.

Signed-off-by: Jonathan Lemon &lt;jonathan.lemon@gmail.com&gt;
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</content>
</entry>
<entry>
<title>ptp: ocp: parameterize input/output sma selectors</title>
<updated>2022-05-24T18:39:54Z</updated>
<author>
<name>Jonathan Lemon</name>
<email>jonathan.lemon@gmail.com</email>
</author>
<published>2022-05-19T21:21:48Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=aa56a7ffc0fb9ad5f754af79ee91ebe9ec96f28d'/>
<id>urn:sha1:aa56a7ffc0fb9ad5f754af79ee91ebe9ec96f28d</id>
<content type='text'>
Group the sma input/output tables together and select the correct
group from the bp information.  This allows adding new groups with
different sma mappings.

Signed-off-by: Jonathan Lemon &lt;jonathan.lemon@gmail.com&gt;
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</content>
</entry>
<entry>
<title>ptp: ocp: revise firmware display</title>
<updated>2022-05-24T18:39:54Z</updated>
<author>
<name>Jonathan Lemon</name>
<email>jonathan.lemon@gmail.com</email>
</author>
<published>2022-05-19T21:21:47Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=5a728ac578c07f29d8b36bbd907cdea132c1607d'/>
<id>urn:sha1:5a728ac578c07f29d8b36bbd907cdea132c1607d</id>
<content type='text'>
Preparse the firmware image information into loader/tag/version,
and set the fw capabilities based on the tag/version.

Signed-off-by: Jonathan Lemon &lt;jonathan.lemon@gmail.com&gt;
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</content>
</entry>
<entry>
<title>ptp: ocp: add Celestica timecard PCI ids</title>
<updated>2022-05-24T18:39:54Z</updated>
<author>
<name>Vadim Fedorenko</name>
<email>vadfed@fb.com</email>
</author>
<published>2022-05-19T21:21:46Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=81fa652e168558fa35bd81d6c2427319b7b8589f'/>
<id>urn:sha1:81fa652e168558fa35bd81d6c2427319b7b8589f</id>
<content type='text'>
Celestica is producing card with their own vendor id and device id.
Add these ids to driver to support this card.

Signed-off-by: Vadim Fedorenko &lt;vadfed@fb.com&gt;
Signed-off-by: Jonathan Lemon &lt;jonathan.lemon@gmail.com&gt;
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</content>
</entry>
<entry>
<title>ptp: ocp: Remove #ifdefs around PCI IDs</title>
<updated>2022-05-24T18:39:53Z</updated>
<author>
<name>Jonathan Lemon</name>
<email>jonathan.lemon@gmail.com</email>
</author>
<published>2022-05-19T21:21:45Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=3a35e53a11bcde88ea89cbf839771e6af4681daf'/>
<id>urn:sha1:3a35e53a11bcde88ea89cbf839771e6af4681daf</id>
<content type='text'>
These #ifdefs are not required, so remove them.

Suggested-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
Signed-off-by: Jonathan Lemon &lt;jonathan.lemon@gmail.com&gt;
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</content>
</entry>
</feed>
