<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/linux.git/drivers/soc/amlogic, branch v5.7.4</title>
<subtitle>Linux kernel stable tree (mirror)</subtitle>
<id>https://git.radix-linux.su/kernel/linux.git/atom?h=v5.7.4</id>
<link rel='self' href='https://git.radix-linux.su/kernel/linux.git/atom?h=v5.7.4'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/'/>
<updated>2020-02-29T16:53:43+00:00</updated>
<entry>
<title>soc: amlogic: fix compile failure with MESON_SECURE_PM_DOMAINS &amp; !MESON_SM</title>
<updated>2020-02-29T16:53:43+00:00</updated>
<author>
<name>Jianxin Pan</name>
<email>jianxin.pan@amlogic.com</email>
</author>
<published>2020-02-17T16:12:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=9ef7a7920678b10431d88635f9a4a49bd23ca3a7'/>
<id>urn:sha1:9ef7a7920678b10431d88635f9a4a49bd23ca3a7</id>
<content type='text'>
When MESON_SECURE_PM_DOMAINS &amp; !MESON_SM, there will be compile failure:
.../meson-secure-pwrc.o: In function `meson_secure_pwrc_on':
.../meson-secure-pwrc.c:76: undefined reference to `meson_sm_call'

Fix this by adding depends on MESON_SM for MESON_SECURE_PM_DOMAINS.

Fixes: b3dde5013e13 ("soc: amlogic: Add support for Secure power domains controller")
Reported-by: Stephen Rothwell&lt;sfr@canb.auug.org.au&gt;
Reported-by: patchwork-bot+linux-amlogic&lt;patchwork-bot+linux-amlogic@kernel.org&gt;
Reported-by: kbuild test robot &lt;lkp@intel.com&gt;
Signed-off-by: Jianxin Pan &lt;jianxin.pan@amlogic.com&gt;
Signed-off-by: Kevin Hilman &lt;khilman@baylibre.com&gt;
Tested-by: Stephen Rothwell&lt;sfr@canb.auug.org.au&gt;
Link: https://lore.kernel.org/r/1581955933-69832-1-git-send-email-jianxin.pan@amlogic.com
</content>
</entry>
<entry>
<title>soc: amlogic: Add support for Secure power domains controller</title>
<updated>2020-02-14T19:37:34+00:00</updated>
<author>
<name>Jianxin Pan</name>
<email>jianxin.pan@amlogic.com</email>
</author>
<published>2020-01-15T11:30:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=b3dde5013e13d44799b3477cd0bf0c9ad34fe5e9'/>
<id>urn:sha1:b3dde5013e13d44799b3477cd0bf0c9ad34fe5e9</id>
<content type='text'>
Add support for the Amlogic Secure Power controller. In A1/C1 series, power
control registers are in secure domain, and should be accessed by smc.

Signed-off-by: Jianxin Pan &lt;jianxin.pan@amlogic.com&gt;
Signed-off-by: Kevin Hilman &lt;khilman@baylibre.com&gt;
Link: https://lore.kernel.org/r/1579087831-94965-4-git-send-email-jianxin.pan@amlogic.com
</content>
</entry>
<entry>
<title>soc: amlogic: meson-ee-pwrc: propagate errors from pm_genpd_init()</title>
<updated>2019-12-09T23:21:20+00:00</updated>
<author>
<name>Martin Blumenstingl</name>
<email>martin.blumenstingl@googlemail.com</email>
</author>
<published>2019-11-30T14:58:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=c67aafd60d7e323fe74bf45fab60148f84cf9b95'/>
<id>urn:sha1:c67aafd60d7e323fe74bf45fab60148f84cf9b95</id>
<content type='text'>
pm_genpd_init() can return an error. Propagate the error code to prevent
the driver from indicating that it successfully probed while there were
errors during pm_genpd_init().

Fixes: eef3c2ba0a42a6 ("soc: amlogic: Add support for Everything-Else power domains controller")
Signed-off-by: Martin Blumenstingl &lt;martin.blumenstingl@googlemail.com&gt;
Signed-off-by: Kevin Hilman &lt;khilman@baylibre.com&gt;
</content>
</entry>
<entry>
<title>soc: amlogic: meson-ee-pwrc: propagate PD provider registration errors</title>
<updated>2019-12-09T23:21:20+00:00</updated>
<author>
<name>Martin Blumenstingl</name>
<email>martin.blumenstingl@googlemail.com</email>
</author>
<published>2019-11-30T14:58:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=0766d65e6afaea8b80205a468207de9f18cd7ec8'/>
<id>urn:sha1:0766d65e6afaea8b80205a468207de9f18cd7ec8</id>
<content type='text'>
of_genpd_add_provider_onecell() can return an error. Propagate the error
so the driver registration fails when of_genpd_add_provider_onecell()
did not work.

Fixes: eef3c2ba0a42a6 ("soc: amlogic: Add support for Everything-Else power domains controller")
Signed-off-by: Martin Blumenstingl &lt;martin.blumenstingl@googlemail.com&gt;
Signed-off-by: Kevin Hilman &lt;khilman@baylibre.com&gt;
</content>
</entry>
<entry>
<title>soc: amlogic: meson-gx-socinfo: Fix S905D3 ID for VIM3L</title>
<updated>2019-11-06T19:12:58+00:00</updated>
<author>
<name>Christian Hewitt</name>
<email>christianshewitt@gmail.com</email>
</author>
<published>2019-10-21T08:20:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=fdfc6997bd083acd066db99792694fa8a31a6cac'/>
<id>urn:sha1:fdfc6997bd083acd066db99792694fa8a31a6cac</id>
<content type='text'>
Chip on the board is S905D3 not S905X3:

[    0.098998] soc soc0: Amlogic Meson SM1 (S905D3) Revision 2b:c (b0:2) Detected

Change from v1: use 0xf0 mask instead of 0xf2 as advised by Neil Armstrong.

Fixes: 1d7c541b8a5b ("soc: amlogic: meson-gx-socinfo: Add S905X3 ID for VIM3L")

Signed-off-by: Christian Hewitt &lt;christianshewitt@gmail.com&gt;
Acked-by: Neil Armstrong &lt;narmstrong@baylibre.com&gt;
Signed-off-by: Kevin Hilman &lt;khilman@baylibre.com&gt;
</content>
</entry>
<entry>
<title>soc: amlogic: meson-gx-socinfo: Add S905X3 ID for VIM3L</title>
<updated>2019-10-07T18:13:15+00:00</updated>
<author>
<name>Christian Hewitt</name>
<email>christianshewitt@gmail.com</email>
</author>
<published>2019-10-07T05:23:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=1d7c541b8a5b80a3252ca96a0ed22e894bcafb5d'/>
<id>urn:sha1:1d7c541b8a5b80a3252ca96a0ed22e894bcafb5d</id>
<content type='text'>
VIM3L appears to use a different ID:

[    0.086470] soc soc0: Amlogic Meson SM1 (S905X3) Revision 2b:c (b0:2) Detected

Signed-off-by: Christian Hewitt &lt;christianshewitt@gmail.com&gt;
Signed-off-by: Kevin Hilman &lt;khilman@baylibre.com&gt;
</content>
</entry>
<entry>
<title>soc: amlogic: meson-gx-socinfo: Add A1 and A113L IDs</title>
<updated>2019-10-07T18:13:06+00:00</updated>
<author>
<name>Jianxin Pan</name>
<email>jianxin.pan@amlogic.com</email>
</author>
<published>2019-09-12T08:19:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=240051cb833b5d9006ff0852ac54b2d7a657404b'/>
<id>urn:sha1:240051cb833b5d9006ff0852ac54b2d7a657404b</id>
<content type='text'>
Add the SoC IDs for the A113L Amlogic A1 SoC.

Signed-off-by: Jianxin Pan &lt;jianxin.pan@amlogic.com&gt;
Reviewed-by: Neil Armstrong &lt;narmstrong@baylibre.com&gt;
Reviewed-by: Martin Blumenstingl &lt;martin.blumenstingl@googlemail.com&gt;
Reviewed-by: Kevin Hilman &lt;khilman@baylibre.com&gt;
Signed-off-by: Kevin Hilman &lt;khilman@baylibre.com&gt;
</content>
</entry>
<entry>
<title>soc: amlogic: Add support for Everything-Else power domains controller</title>
<updated>2019-08-28T21:29:37+00:00</updated>
<author>
<name>Neil Armstrong</name>
<email>narmstrong@baylibre.com</email>
</author>
<published>2019-08-23T09:04:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=eef3c2ba0a42a6aa709828e968b64bd11f4aeb19'/>
<id>urn:sha1:eef3c2ba0a42a6aa709828e968b64bd11f4aeb19</id>
<content type='text'>
Add support for the General Purpose Amlogic Everything-Else Power controller,
with the first support for G12A and SM1 SoCs dedicated to the VPU, PCIe,
USB, NNA, GE2D and Ethernet Power Domains.

Signed-off-by: Neil Armstrong &lt;narmstrong@baylibre.com&gt;
Reviewed-by: Kevin Hilman &lt;khilman@baylibre.com&gt;
Tested-by: Kevin Hilman &lt;khilman@baylibre.com&gt;
Signed-off-by: Kevin Hilman &lt;khilman@baylibre.com&gt;
</content>
</entry>
<entry>
<title>soc: amlogic: meson-gx-socinfo: Add of_node_put() before return</title>
<updated>2019-08-20T21:53:33+00:00</updated>
<author>
<name>Nishka Dasgupta</name>
<email>nishkadg.linux@gmail.com</email>
</author>
<published>2019-08-19T07:27:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=49ed86f503be80aac158a567c4cfd31cf1cd181e'/>
<id>urn:sha1:49ed86f503be80aac158a567c4cfd31cf1cd181e</id>
<content type='text'>
The variable np in function meson_gx_socinfo_init takes the return value
of of_find_compatible_node, which gets a node but does not put it. If
this node is not put it may cause a memory leak. Hence put np after its
usefulness has been exhausted.
Issue found with Coccinelle.

Signed-off-by: Nishka Dasgupta &lt;nishkadg.linux@gmail.com&gt;
Reviewed-by: Neil Armstrong &lt;narmstrong@baylibre.com&gt;
Fixes: a9daaba2965e ("soc: Add Amlogic SoC Information driver")
Signed-off-by: Kevin Hilman &lt;khilman@baylibre.com&gt;
</content>
</entry>
<entry>
<title>soc: amlogic: clk-measure: Add support for SM1</title>
<updated>2019-08-20T19:21:13+00:00</updated>
<author>
<name>Neil Armstrong</name>
<email>narmstrong@baylibre.com</email>
</author>
<published>2019-08-20T14:40:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=623699711a39134a2b2cd6bdba81c5167deceec8'/>
<id>urn:sha1:623699711a39134a2b2cd6bdba81c5167deceec8</id>
<content type='text'>
Add the clk-measurer clocks IDs for the Amlogic SM1 SoC family.

Signed-off-by: Neil Armstrong &lt;narmstrong@baylibre.com&gt;
Signed-off-by: Kevin Hilman &lt;khilman@baylibre.com&gt;
</content>
</entry>
</feed>
