<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/soc/rockchip, branch linux-5.18.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.18.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.18.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2022-06-14T16:44:50Z</updated>
<entry>
<title>soc: rockchip: Fix refcount leak in rockchip_grf_init</title>
<updated>2022-06-14T16:44:50Z</updated>
<author>
<name>Miaoqian Lin</name>
</author>
<published>2022-05-16T07:20:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8f64e84924604bb969ee1fbc4b8d7d09b9214889'/>
<id>urn:sha1:8f64e84924604bb969ee1fbc4b8d7d09b9214889</id>
<content type='text'>
[ Upstream commit 9b59588d8be91c96bfb0371e912ceb4f16315dbf ]

of_find_matching_node_and_match returns a node pointer with refcount
incremented, we should use of_node_put() on it when done.
Add missing of_node_put() to avoid refcount leak.

Fixes: 4c58063d4258 ("soc: rockchip: add driver handling grf setup")
Signed-off-by: Miaoqian Lin &lt;linmq006@gmail.com&gt;
Link: https://lore.kernel.org/r/20220516072013.19731-1-linmq006@gmail.com
Signed-off-by: Heiko Stuebner &lt;heiko@sntech.de&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>dtpm/soc/rk3399: Add the ability to unload the module</title>
<updated>2022-02-23T18:46:29Z</updated>
<author>
<name>Daniel Lezcano</name>
</author>
<published>2022-01-30T21:02:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f1ebef9e55f3c49063b575e97d2019832b8f8ef9'/>
<id>urn:sha1:f1ebef9e55f3c49063b575e97d2019832b8f8ef9</id>
<content type='text'>
The dtpm hierarchy can now be removed with the
dtpm_destroy_hierarchy() function. Add the module_exit() callback so
the module can be unloaded by removing the previously created
hierarchy.

Signed-off-by: Daniel Lezcano &lt;daniel.lezcano@linaro.org&gt;
Reviewed-by: Ulf Hansson &lt;ulf.hansson@linaro.org&gt;
Link: https://lore.kernel.org/r/20220130210210.549877-7-daniel.lezcano@linaro.org
</content>
</entry>
<entry>
<title>rockchip/soc/drivers: Add DTPM description for rk3399</title>
<updated>2022-02-04T16:38:09Z</updated>
<author>
<name>Daniel Lezcano</name>
</author>
<published>2022-01-28T16:35:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b9d6c47a2be8d273ecc063afda6e9fd66a35116d'/>
<id>urn:sha1:b9d6c47a2be8d273ecc063afda6e9fd66a35116d</id>
<content type='text'>
The DTPM framework does support now the hierarchy description.

The platform specific code can call the hierarchy creation function
with an array of struct dtpm_node pointing to their parent.

This patch provides a description of the big / Little CPUs and the
GPU and tie them together under a virtual 'package' name. Only rk3399 is
described now.

The description could be extended in the future with the memory
controller with devfreq.

The description is always a module and it describes the soft
dependencies. The userspace has to load the softdeps module in the
right order.

Signed-off-by: Daniel Lezcano &lt;daniel.lezcano@linaro.org&gt;
Reviewed-by; Heiko Stuebner &lt;heiko@sntech.de&gt;
Link: https://lore.kernel.org/r/20220128163537.212248-6-daniel.lezcano@linaro.org
</content>
</entry>
<entry>
<title>soc: rockchip: io-domain: Remove unneeded semicolon</title>
<updated>2021-08-19T21:56:38Z</updated>
<author>
<name>Jiapeng Chong</name>
</author>
<published>2021-08-19T08:29:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9e5747c57807ad8a04c356340190cfdd0bd54111'/>
<id>urn:sha1:9e5747c57807ad8a04c356340190cfdd0bd54111</id>
<content type='text'>
Fix the following coccicheck warnings:

./drivers/soc/rockchip/io-domain.c:118:2-3: Unneeded semicolon.

Reported-by: Abaci Robot &lt;abaci@linux.alibaba.com&gt;
Signed-off-by: Jiapeng Chong &lt;jiapeng.chong@linux.alibaba.com&gt;
Link: https://lore.kernel.org/r/1629361749-97977-1-git-send-email-jiapeng.chong@linux.alibaba.com
Signed-off-by: Heiko Stuebner &lt;heiko@sntech.de&gt;
</content>
</entry>
<entry>
<title>soc: rockchip: io-domain: add rk3568 support</title>
<updated>2021-08-14T06:23:47Z</updated>
<author>
<name>Jianqun Xu</name>
</author>
<published>2021-08-05T12:01:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=28b05a64e47cbceebb8a5f3f643033148d5c06c3'/>
<id>urn:sha1:28b05a64e47cbceebb8a5f3f643033148d5c06c3</id>
<content type='text'>
The io-domain registers on RK3568 SoCs have three separated bits to
enable/disable the 1.8v/2.5v/3.3v power.

This patch make the write to be a operation, allow rk3568 uses a private
register set function.

Since the 2.5v mode hasn't been fully validated yet, the driver only sets
1.8v [enable] + 3.3v [disable] for 1.8v mode
1.8v [disable] + 3.3v [enable] for 3.3v mode

There is not register order requirement which has been cleared by our IC
team.

For future reference the full usage matrix including the 2.5V setting is:
case  V33  V25  V18  result
0     0    0    0    IO safe, but cannot work
1     0    0    1    IO require 1.8V, should &lt; 1.98V, otherwise IO may damage
2     0    1    0    IO require 2.5V, should &lt; 2.75V, otherwise IO may damage
3     0    1    1    Invalid state, should avoid
4     1    0    0    IO require 3.3V, should &lt; 3.63V, otherwise IO may damage
5     1    0    1    IO require 1.8V, should &lt; 1.98V, otherwise IO may damage
6     1    1    0    IO require 2.5V, should &lt; 2.75V, otherwise IO may damage
7     1    1    1    Invalid state, should avoid

Signed-off-by: Jianqun Xu &lt;jay.xu@rock-chips.com&gt;
Tested-by: Peter Geis &lt;pgwipeout@gmail.com&gt;
[added mode clarification from Jay]
Link: https://lore.kernel.org/r/20210805120107.27007-3-michael.riesch@wolfvision.net
Signed-off-by: Heiko Stuebner &lt;heiko@sntech.de&gt;
</content>
</entry>
<entry>
<title>soc: rockchip: ROCKCHIP_GRF should not default to y, unconditionally</title>
<updated>2021-07-12T11:29:09Z</updated>
<author>
<name>Geert Uytterhoeven</name>
</author>
<published>2021-02-08T14:38:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2a1c55d4762dd34a8b0f2e36fb01b7b16b60735b'/>
<id>urn:sha1:2a1c55d4762dd34a8b0f2e36fb01b7b16b60735b</id>
<content type='text'>
Merely enabling CONFIG_COMPILE_TEST should not enable additional code.
To fix this, restrict the automatic enabling of ROCKCHIP_GRF to
ARCH_ROCKCHIP, and ask the user in case of compile-testing.

Fixes: 4c58063d4258f6be ("soc: rockchip: add driver handling grf setup")
Signed-off-by: Geert Uytterhoeven &lt;geert+renesas@glider.be&gt;
Link: https://lore.kernel.org/r/20210208143855.418374-1-geert+renesas@glider.be
Signed-off-by: Heiko Stuebner &lt;heiko@sntech.de&gt;
</content>
</entry>
<entry>
<title>soc: rockchip: power-domain: add rk3568 powerdomains</title>
<updated>2021-05-11T10:07:04Z</updated>
<author>
<name>Elaine Zhang</name>
</author>
<published>2021-04-17T11:29:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1782c87b44a0b1a527f01a6a184677c58ccbf9c7'/>
<id>urn:sha1:1782c87b44a0b1a527f01a6a184677c58ccbf9c7</id>
<content type='text'>
Add power-domains found on rk3568 socs.

Signed-off-by: Elaine Zhang &lt;zhangqing@rock-chips.com&gt;
Signed-off-by: Johan Jonker &lt;jbx6244@gmail.com&gt;
Link: https://lore.kernel.org/r/20210417112952.8516-16-jbx6244@gmail.com
Signed-off-by: Heiko Stuebner &lt;heiko@sntech.de&gt;
</content>
</entry>
<entry>
<title>soc: rockchip: power-domain: Add a meaningful power domain name</title>
<updated>2021-05-10T07:30:12Z</updated>
<author>
<name>Elaine Zhang</name>
</author>
<published>2021-04-17T11:29:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0a69452e03564c5eaf99f729de398cd94ee90851'/>
<id>urn:sha1:0a69452e03564c5eaf99f729de398cd94ee90851</id>
<content type='text'>
Add the power domains names to the power domain info struct so we
have meaningful name for every power domain.

Signed-off-by: Elaine Zhang &lt;zhangqing@rock-chips.com&gt;
Signed-off-by: Johan Jonker &lt;jbx6244@gmail.com&gt;
Link: https://lore.kernel.org/r/20210417112952.8516-10-jbx6244@gmail.com
Signed-off-by: Heiko Stuebner &lt;heiko@sntech.de&gt;
</content>
</entry>
<entry>
<title>soc: rockchip: io-domain: Fix error return code in rockchip_iodomain_probe()</title>
<updated>2020-12-04T10:20:47Z</updated>
<author>
<name>Zhang Changzhong</name>
</author>
<published>2020-12-04T08:33:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c2867b2e710fc85bb39c6f6e5948450c48e8a33e'/>
<id>urn:sha1:c2867b2e710fc85bb39c6f6e5948450c48e8a33e</id>
<content type='text'>
Fix to return a negative error code from the error handling
case instead of 0, as done elsewhere in this function.

Fixes: e943c43b32ce ("PM: AVS: rockchip-io: Move the driver to the rockchip specific drivers")
Reported-by: Hulk Robot &lt;hulkci@huawei.com&gt;
Signed-off-by: Zhang Changzhong &lt;zhangchangzhong@huawei.com&gt;
Link: https://lore.kernel.org/r/1607070805-33038-1-git-send-email-zhangchangzhong@huawei.com
Signed-off-by: Heiko Stuebner &lt;heiko@sntech.de&gt;
</content>
</entry>
<entry>
<title>soc: rockchip: io-domain: Remove incorrect and incomplete comment header</title>
<updated>2020-11-12T11:15:06Z</updated>
<author>
<name>Lee Jones</name>
</author>
<published>2020-11-03T15:28:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a6a3a24c129d229a0eb26b329ab617e2a04245dd'/>
<id>urn:sha1:a6a3a24c129d229a0eb26b329ab617e2a04245dd</id>
<content type='text'>
Fixes the following W=1 kernel build warning(s):

 drivers/soc/rockchip/io-domain.c:57: warning: Cannot understand  * @supplies: voltage settings matching the register bits.

Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
Cc: Heiko Stuebner &lt;heiko@sntech.de&gt;
Cc: Liam Girdwood &lt;lgirdwood@gmail.com&gt;
Cc: Mark Brown &lt;broonie@kernel.org&gt;
Cc: "Rafael J. Wysocki" &lt;rafael.j.wysocki@intel.com&gt;
Cc: Doug Anderson &lt;dianders@chromium.org&gt;
Cc: linux-rockchip@lists.infradead.org
Link: https://lore.kernel.org/r/20201103152838.1290217-6-lee.jones@linaro.org
Signed-off-by: Heiko Stuebner &lt;heiko@sntech.de&gt;
</content>
</entry>
</feed>
