<feed xmlns='http://www.w3.org/2005/Atom'>
<title>lwn.git/drivers/ptp/ptp_clockmatrix.h, branch docs-next</title>
<subtitle>Linux kernel documentation tree maintained by Jonathan Corbet</subtitle>
<id>http://mirrors.hust.edu.cn/git/lwn.git/atom?h=docs-next</id>
<link rel='self' href='http://mirrors.hust.edu.cn/git/lwn.git/atom?h=docs-next'/>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/'/>
<updated>2023-06-20T08:02:33+00:00</updated>
<entry>
<title>ptp: ptp_clockmatrix: Add .getmaxphase ptp_clock_info callback</title>
<updated>2023-06-20T08:02:33+00:00</updated>
<author>
<name>Rahul Rameshbabu</name>
<email>rrameshbabu@nvidia.com</email>
</author>
<published>2023-06-12T21:14:58+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=c066e74f34bc464bc1a077a688d7fa31a742d2d5'/>
<id>urn:sha1:c066e74f34bc464bc1a077a688d7fa31a742d2d5</id>
<content type='text'>
Advertise the maximum offset the .adjphase callback is capable of
supporting in nanoseconds for IDT ClockMatrix devices. Depend on
ptp_clock_adjtime for handling out-of-range offsets. ptp_clock_adjtime
returns -ERANGE instead of clamping out-of-range offsets.

Cc: Richard Cochran &lt;richardcochran@gmail.com&gt;
Cc: Vincent Cheng &lt;vincent.cheng.xh@renesas.com&gt;
Signed-off-by: Rahul Rameshbabu &lt;rrameshbabu@nvidia.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>ptp: ptp_clockmatrix: return -EBUSY if phase pull-in is in progress</title>
<updated>2022-05-18T00:49:04+00:00</updated>
<author>
<name>Min Li</name>
<email>min.li.xe@renesas.com</email>
</author>
<published>2022-05-16T14:47:07+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=7c7dcd66c5e0537b33b4e217ddb347d768a4b294'/>
<id>urn:sha1:7c7dcd66c5e0537b33b4e217ddb347d768a4b294</id>
<content type='text'>
Also removes PEROUT_ENABLE_OUTPUT_MASK

Signed-off-by: Min Li &lt;min.li.xe@renesas.com&gt;
Acked-by: Richard Cochran &lt;richardcochran@gmail.com&gt;
Link: https://lore.kernel.org/r/1652712427-14703-2-git-send-email-min.li.xe@renesas.com
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</content>
</entry>
<entry>
<title>ptp: ptp_clockmatrix: Add PTP_CLK_REQ_EXTTS support</title>
<updated>2022-05-18T00:49:04+00:00</updated>
<author>
<name>Min Li</name>
<email>min.li.xe@renesas.com</email>
</author>
<published>2022-05-16T14:47:06+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=bec67592521ec816371f5f072b1a340e1c2ad434'/>
<id>urn:sha1:bec67592521ec816371f5f072b1a340e1c2ad434</id>
<content type='text'>
Use TOD_READ_SECONDARY for extts to keep TOD_READ_PRIMARY
for gettime and settime exclusively. Before this change,
TOD_READ_PRIMARY was used for both extts and gettime/settime,
which would result in changing TOD read/write triggers between
operations. Using TOD_READ_SECONDARY would make extts
independent of gettime/settime operation

Signed-off-by: Min Li &lt;min.li.xe@renesas.com&gt;
Acked-by: Richard Cochran &lt;richardcochran@gmail.com&gt;
Link: https://lore.kernel.org/r/1652712427-14703-1-git-send-email-min.li.xe@renesas.com
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</content>
</entry>
<entry>
<title>ptp: clockmatrix: use rsmu driver to access i2c/spi bus</title>
<updated>2021-09-27T11:16:48+00:00</updated>
<author>
<name>Min Li</name>
<email>min.li.xe@renesas.com</email>
</author>
<published>2021-09-24T19:01:32+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=930dfa563155179861470b2aba880eac2ae30bfb'/>
<id>urn:sha1:930dfa563155179861470b2aba880eac2ae30bfb</id>
<content type='text'>
rsmu (Renesas Synchronization Management Unit ) driver is located in
drivers/mfd and responsible for creating multiple devices including
clockmatrix phc, which will then use the exposed regmap and mutex
handle to access i2c/spi bus.

Signed-off-by: Min Li &lt;min.li.xe@renesas.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>ptp: ptp_clockmatrix: Add support for pll_mode=0 and manual ref switch of WF and WP</title>
<updated>2021-09-14T13:22:12+00:00</updated>
<author>
<name>Min Li</name>
<email>min.li.xe@renesas.com</email>
</author>
<published>2021-09-13T20:12:34+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=da9facf1c1825201956c2553e06d455dea3e0313'/>
<id>urn:sha1:da9facf1c1825201956c2553e06d455dea3e0313</id>
<content type='text'>
Also correct how initialize_dco_operating_mode is called

Signed-off-by: Min Li &lt;min.li.xe@renesas.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>ptp: ptp_clockmatrix: Add support for FW 5.2 (8A34005)</title>
<updated>2021-09-14T13:22:12+00:00</updated>
<author>
<name>Min Li</name>
<email>min.li.xe@renesas.com</email>
</author>
<published>2021-09-13T20:12:33+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=794c3dffacc166f7a8f7a555ff7e75fcdb644a51'/>
<id>urn:sha1:794c3dffacc166f7a8f7a555ff7e75fcdb644a51</id>
<content type='text'>
So far we don't need to support new 5.2 functions but different register
addresses

Signed-off-by: Min Li &lt;min.li.xe@renesas.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>ptp: ptp_clockmatrix: Remove unused header declarations.</title>
<updated>2021-02-17T21:49:25+00:00</updated>
<author>
<name>Vincent Cheng</name>
<email>vincent.cheng.xh@renesas.com</email>
</author>
<published>2021-02-17T05:42:14+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=10c270cf25bd3ebffba9c2182d0c9eccecf10d97'/>
<id>urn:sha1:10c270cf25bd3ebffba9c2182d0c9eccecf10d97</id>
<content type='text'>
Removed unused header declarations.

Signed-off-by: Vincent Cheng &lt;vincent.cheng.xh@renesas.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>ptp: ptp_clockmatrix: Add wait_for_sys_apll_dpll_lock.</title>
<updated>2021-02-17T21:49:25+00:00</updated>
<author>
<name>Vincent Cheng</name>
<email>vincent.cheng.xh@renesas.com</email>
</author>
<published>2021-02-17T05:42:12+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=797d3186544fcd5bfd7a03b9ef3e20c1db3802b8'/>
<id>urn:sha1:797d3186544fcd5bfd7a03b9ef3e20c1db3802b8</id>
<content type='text'>
Part of the device initialization aligns the rising edge of the output
clock to the internal 1 PPS clock. If the system APLL and DPLL is not
locked, then the alignment will fail and there will be a fixed offset
between the internal 1 PPS clock and the output clock.

After loading the device firmware, poll the system APLL and DPLL for
locked state prior to initialization, timing out after 2 seconds.

Signed-off-by: Vincent Cheng &lt;vincent.cheng.xh@renesas.com&gt;
Acked-by: Richard Cochran &lt;richardcochran@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>ptp: clockmatrix: deprecate firmware older than 4.8.7</title>
<updated>2020-12-09T23:00:55+00:00</updated>
<author>
<name>Min Li</name>
<email>min.li.xe@renesas.com</email>
</author>
<published>2020-12-08T15:41:57+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=da9482332d581bb8ea69eca34d7f75a3c6247475'/>
<id>urn:sha1:da9482332d581bb8ea69eca34d7f75a3c6247475</id>
<content type='text'>
Add deprecated flag to indicate &lt; v4.8.7.
Fix idtcm_enable_tod() call correct settime().

Signed-off-by: Min Li &lt;min.li.xe@renesas.com&gt;
Link: https://lore.kernel.org/r/1607442117-13661-4-git-send-email-min.li.xe@renesas.com
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</content>
</entry>
<entry>
<title>ptp: clockmatrix: Fix non-zero phase_adj is lost after snap</title>
<updated>2020-12-09T23:00:55+00:00</updated>
<author>
<name>Min Li</name>
<email>min.li.xe@renesas.com</email>
</author>
<published>2020-12-08T15:41:56+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=7260d1c8fd86672d0b5fc4b5a36e0f17c0c3c177'/>
<id>urn:sha1:7260d1c8fd86672d0b5fc4b5a36e0f17c0c3c177</id>
<content type='text'>
Fix non-zero phase_adj is lost after snap. Use ktime_sub
to do ktime_t subtraction.

Signed-off-by: Min Li &lt;min.li.xe@renesas.com&gt;
Link: https://lore.kernel.org/r/1607442117-13661-3-git-send-email-min.li.xe@renesas.com
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</content>
</entry>
</feed>
