<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/linux.git/drivers/soc/amlogic, branch linux-5.9.y</title>
<subtitle>Linux kernel stable tree (mirror)</subtitle>
<id>https://git.radix-linux.su/kernel/linux.git/atom?h=linux-5.9.y</id>
<link rel='self' href='https://git.radix-linux.su/kernel/linux.git/atom?h=linux-5.9.y'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/'/>
<updated>2020-06-29T23:00:53+00:00</updated>
<entry>
<title>soc: amlogic: meson-gx-socinfo: Fix S905X3 and S905D3 ID's</title>
<updated>2020-06-29T23:00:53+00:00</updated>
<author>
<name>Christian Hewitt</name>
<email>christianshewitt@gmail.com</email>
</author>
<published>2020-06-09T08:13:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=d16d0481e6bab5a916450e4ef0e1c958b550880c'/>
<id>urn:sha1:d16d0481e6bab5a916450e4ef0e1c958b550880c</id>
<content type='text'>
Correct the SoC revision and package bits/mask values for S905D3/X3 to detect
a wider range of observed SoC IDs, and tweak sort order for A311D/S922X.

S905X3 05 0000 0101  (SEI610 initial devices)
S905X3 10 0001 0000  (ODROID-C4 and recent Android boxes)
S905X3 50 0101 0000  (SEI610 later revisions)
S905D3 04 0000 0100  (VIM3L devices in kernelci)
S905D3 b0 1011 0000  (VIM3L initial production)

Fixes commit c9cc9bec36d0 ("soc: amlogic: meson-gx-socinfo: Add SM1 and S905X3 IDs")

Suggested-by: Neil Armstrong &lt;narmstrong@baylibre.com&gt;
Signed-off-by: Christian Hewitt &lt;christianshewitt@gmail.com&gt;
Signed-off-by: Kevin Hilman &lt;khilman@baylibre.com&gt;
Acked-by: Neil Armstrong &lt;narmstrong@baylibre.com&gt;
Link: https://lore.kernel.org/r/20200609081318.28023-1-christianshewitt@gmail.com
</content>
</entry>
<entry>
<title>soc: amlogic: meson-ee-pwrc: add support for the Meson GX SoCs</title>
<updated>2020-05-19T23:02:14+00:00</updated>
<author>
<name>Martin Blumenstingl</name>
<email>martin.blumenstingl@googlemail.com</email>
</author>
<published>2020-05-15T20:47:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=53773f2dfd9c847304b184d5617e36aeafdf5d87'/>
<id>urn:sha1:53773f2dfd9c847304b184d5617e36aeafdf5d87</id>
<content type='text'>
Add support for the Meson GX SoCs to the meson-ee-pwrc driver.

The power domains on the GX SoCs are very similar to G12A. The only
known differences so far are:
- The GX SoCs do not have the HHI_VPU_MEM_PD_REG2 register (for the
  VPU power-domain)
- The GX SoCs have an additional reset line called "dvin"

Signed-off-by: Martin Blumenstingl &lt;martin.blumenstingl@googlemail.com&gt;
Signed-off-by: Kevin Hilman &lt;khilman@baylibre.com&gt;
Reviewed-by: Neil Armstrong &lt;narmstrong@baylibre.com&gt;
Link: https://lore.kernel.org/r/20200515204709.1505498-5-martin.blumenstingl@googlemail.com
</content>
</entry>
<entry>
<title>soc: amlogic: meson-ee-pwrc: add support for Meson8/Meson8b/Meson8m2</title>
<updated>2020-05-19T23:02:14+00:00</updated>
<author>
<name>Martin Blumenstingl</name>
<email>martin.blumenstingl@googlemail.com</email>
</author>
<published>2020-05-15T20:47:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=34217df28db7cddb52120da57fd1d469e896af3d'/>
<id>urn:sha1:34217df28db7cddb52120da57fd1d469e896af3d</id>
<content type='text'>
This adds support for the power domains on Meson8/Meson8b/Meson8m2.
Meson8 doesn't use any reset lines while Meson8b and Meson8m2 use the
same set of reset lines (which is different from the newer SoCs).
Add dedicated compatible strings for Meson8, Meson8b and Meson8m2 to
support these differences.

Notable differences between Meson8 and G12A are:
- there is no HHI_VPU_MEM_PD_REG2 on the 32-bit SoCs
- the Meson8b datasheet describes an "audio DSP memory" power domain
  which is used for the hardware audio decoder
- the "amlogic,ao-sysctrl" only includes the power management related
  registers on the 32-bit SoCs, meaning the for example the
  AO_RTI_GEN_PWR_SLEEP0 register is at offset (0x2 &lt;&lt; 2) rather than
  (0x3a &lt;&lt; 2). As result of this (0x38 &lt;&lt; 2) is subtracted from the
  register offsets, which is the start of the power management related
  registers.

Signed-off-by: Martin Blumenstingl &lt;martin.blumenstingl@googlemail.com&gt;
Signed-off-by: Kevin Hilman &lt;khilman@baylibre.com&gt;
Link: https://lore.kernel.org/r/20200515204709.1505498-4-martin.blumenstingl@googlemail.com
</content>
</entry>
<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>
</feed>
