<feed xmlns='http://www.w3.org/2005/Atom'>
<title>starfive-tech/linux.git/include/soc, branch VF2_v2.4.4</title>
<subtitle>StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)</subtitle>
<id>https://git.radix-linux.su/starfive-tech/linux.git/atom?h=VF2_v2.4.4</id>
<link rel='self' href='https://git.radix-linux.su/starfive-tech/linux.git/atom?h=VF2_v2.4.4'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/linux.git/'/>
<updated>2022-07-01T07:01:36+00:00</updated>
<entry>
<title>Add a pm function for GPU</title>
<updated>2022-07-01T07:01:36+00:00</updated>
<author>
<name>Walker Chen</name>
<email>walker.chen@starfivetech.com</email>
</author>
<published>2022-07-01T06:50:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/linux.git/commit/?id=74339056fffc597f379a112a756503837ef20894'/>
<id>urn:sha1:74339056fffc597f379a112a756503837ef20894</id>
<content type='text'>
Signed-off-by: Walker Chen &lt;walker.chen@starfivetech.com&gt;
</content>
</entry>
<entry>
<title>PMU: Power Domain Controller Driver for JH7110 SOC</title>
<updated>2022-07-01T02:44:20+00:00</updated>
<author>
<name>Walker Chen</name>
<email>walker.chen@starfivetech.com</email>
</author>
<published>2022-07-01T01:49:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/linux.git/commit/?id=adc191a80f36d926d640a0fcfd9204f44b734953'/>
<id>urn:sha1:adc191a80f36d926d640a0fcfd9204f44b734953</id>
<content type='text'>
Signed-off-by: Walker Chen &lt;walker.chen@starfivetech.com&gt;
</content>
</entry>
<entry>
<title>soc: starfive: Remove pmic driver</title>
<updated>2022-06-07T10:33:10+00:00</updated>
<author>
<name>mason.huo</name>
<email>mason.huo@starfivetech.com</email>
</author>
<published>2022-06-07T03:51:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/linux.git/commit/?id=544da706959ca4cbcc38f7e2c811297e67ba9ffd'/>
<id>urn:sha1:544da706959ca4cbcc38f7e2c811297e67ba9ffd</id>
<content type='text'>
The pmic driver should employ regulator framework,
rather than a driver in soc.

Signed-off-by: mason.huo &lt;mason.huo@starfivetech.com&gt;
</content>
</entry>
<entry>
<title>pmic: modify pmic function</title>
<updated>2022-05-26T01:41:25+00:00</updated>
<author>
<name>changhuang.liang</name>
<email>changhuang.liang@starfivetech.com</email>
</author>
<published>2022-05-20T07:52:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/linux.git/commit/?id=b22c843ee441208c3d26df0835a5faccc3306f07'/>
<id>urn:sha1:b22c843ee441208c3d26df0835a5faccc3306f07</id>
<content type='text'>
Signed-off-by: changhuang.liang &lt;changhuang.liang@starfivetech.com&gt;
</content>
</entry>
<entry>
<title>soc/pmic: add pmic support</title>
<updated>2022-05-26T01:41:25+00:00</updated>
<author>
<name>changhuang.liang</name>
<email>changhuang.liang@starfivetech.com</email>
</author>
<published>2022-05-20T07:28:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/linux.git/commit/?id=79b90da6fb96935732ae4d6f9c6216de0d107275'/>
<id>urn:sha1:79b90da6fb96935732ae4d6f9c6216de0d107275</id>
<content type='text'>
Signed-off-by: changhuang.liang &lt;changhuang.liang@starfivetech.com&gt;
</content>
</entry>
<entry>
<title>pmu:starfive:jh7110: Fix some errors and standardize variable naming</title>
<updated>2022-04-29T12:05:23+00:00</updated>
<author>
<name>samin</name>
<email>samin.guo@starfivetech.com</email>
</author>
<published>2022-04-29T07:29:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/linux.git/commit/?id=c9508746d004a34e7423c144b8cab14a3fd87d65'/>
<id>urn:sha1:c9508746d004a34e7423c144b8cab14a3fd87d65</id>
<content type='text'>
Fixed interrupt enabler logic error, fixed PMU_HARD_EVENT definition
error, changed some variable names, for better code style.

Note:
This is an interim version of the pmu driver that provides the
power_domian switch function.
It can be used in modules such as VPU/JPU/GPU/ISP/VOUT.
/* do not upstram */

Signed-off-by: samin &lt;samin.guo@starfivetech.com&gt;
</content>
</entry>
<entry>
<title>driver:pmu : add turn off mask api</title>
<updated>2022-04-28T11:13:15+00:00</updated>
<author>
<name>shanlong.li</name>
<email>shanlong.li@starfivetech.com</email>
</author>
<published>2022-04-27T11:04:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/linux.git/commit/?id=f085aca00e61255741c4a285850c4dbf3d6b9a5b'/>
<id>urn:sha1:f085aca00e61255741c4a285850c4dbf3d6b9a5b</id>
<content type='text'>
add turn off mask api

Signed-off-by: shanlong.li &lt;shanlong.li@starfivetech.com&gt;
</content>
</entry>
<entry>
<title>soc:starfive: add jh7110 pmu driver.</title>
<updated>2022-01-14T07:44:44+00:00</updated>
<author>
<name>samin</name>
<email>samin.guo@starfivetech.com</email>
</author>
<published>2022-01-14T07:10:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/linux.git/commit/?id=c72851df73af67a72e72d04484aff917cb5c6c21'/>
<id>urn:sha1:c72851df73af67a72e72d04484aff917cb5c6c21</id>
<content type='text'>
The JH7110 PMU can dynamically switch on or off power domians and set
the power-on and power-off sequence.

API Instructions refer to include/soc/starfive/jh7110_pmu.h

Signed-off-by: samin &lt;samin.guo@starfivetech.com&gt;
</content>
</entry>
<entry>
<title>[board]:Init board config for JH7110</title>
<updated>2021-11-18T06:06:27+00:00</updated>
<author>
<name>yanhong.wang</name>
<email>yanhong.wang@starfivetech.com</email>
</author>
<published>2021-11-18T06:06:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/linux.git/commit/?id=be5046fcbfb555a5cdb0a81b4a4f9bcf22196b0c'/>
<id>urn:sha1:be5046fcbfb555a5cdb0a81b4a4f9bcf22196b0c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>net: dsa: tag_ocelot_8021q: break circular dependency with ocelot switch lib</title>
<updated>2021-10-13T00:35:18+00:00</updated>
<author>
<name>Vladimir Oltean</name>
<email>vladimir.oltean@nxp.com</email>
</author>
<published>2021-10-12T11:40:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/linux.git/commit/?id=49f885b2d97093451410e7279aa29d81e094e108'/>
<id>urn:sha1:49f885b2d97093451410e7279aa29d81e094e108</id>
<content type='text'>
Michael reported that when using the "ocelot-8021q" tagging protocol,
the switch driver module must be manually loaded before the tagging
protocol can be loaded/is available.

This appears to be the same problem described here:
https://lore.kernel.org/netdev/20210908220834.d7gmtnwrorhharna@skbuf/
where due to the fact that DSA tagging protocols make use of symbols
exported by the switch drivers, circular dependencies appear and this
breaks module autoloading.

The ocelot_8021q driver needs the ocelot_can_inject() and
ocelot_port_inject_frame() functions from the switch library. Previously
the wrong approach was taken to solve that dependency: shims were
provided for the case where the ocelot switch library was compiled out,
but that turns out to be insufficient, because the dependency when the
switch lib _is_ compiled is problematic too.

We cannot declare ocelot_can_inject() and ocelot_port_inject_frame() as
static inline functions, because these access I/O functions like
__ocelot_write_ix() which is called by ocelot_write_rix(). Making those
static inline basically means exposing the whole guts of the ocelot
switch library, not ideal...

We already have one tagging protocol driver which calls into the switch
driver during xmit but not using any exported symbol: sja1105_defer_xmit.
We can do the same thing here: create a kthread worker and one work item
per skb, and let the switch driver itself do the register accesses to
send the skb, and then consume it.

Fixes: 0a6f17c6ae21 ("net: dsa: tag_ocelot_8021q: add support for PTP timestamping")
Reported-by: Michael Walle &lt;michael@walle.cc&gt;
Signed-off-by: Vladimir Oltean &lt;vladimir.oltean@nxp.com&gt;
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</content>
</entry>
</feed>
