<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/soc/imx/soc-imx.c, branch linux-rolling-stable</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-rolling-stable</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-rolling-stable'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2022-01-28T09:46:08Z</updated>
<entry>
<title>soc: imx: Remove Layerscape check</title>
<updated>2022-01-28T09:46:08Z</updated>
<author>
<name>Fabio Estevam</name>
</author>
<published>2021-12-08T20:12:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c137fb8909c1d14f2fca43ceaaf68ba26731741d'/>
<id>urn:sha1:c137fb8909c1d14f2fca43ceaaf68ba26731741d</id>
<content type='text'>
Since commit 4ebd29f91629 ("soc: imx: Register SoC device only on i.MX
boards") the soc-imx driver is only registered on i.MX platforms as
intended.

This means that we no longer need to do a specific check for
Layerscape.

Remove the now unneeded "fsl,ls1021a" check.

Signed-off-by: Fabio Estevam &lt;festevam@gmail.com&gt;
Reviewed-by: Horia Geantă &lt;horia.geanta@nxp.com&gt;
Signed-off-by: Shawn Guo &lt;shawnguo@kernel.org&gt;
</content>
</entry>
<entry>
<title>soc: imx: Register SoC device only on i.MX boards</title>
<updated>2021-12-08T12:30:00Z</updated>
<author>
<name>Stephan Gerhold</name>
</author>
<published>2021-12-06T11:38:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4ebd29f91629e69da7d57390cdc953772eee03ab'/>
<id>urn:sha1:4ebd29f91629e69da7d57390cdc953772eee03ab</id>
<content type='text'>
At the moment, using the ARM32 multi_v7_defconfig always results in two
SoCs being exposed in sysfs. This is wrong, as far as I'm aware the
Qualcomm DragonBoard 410c does not actually make use of a i.MX SoC. :)

  qcom-db410c:/sys/devices/soc0$ grep . *
  family:Freescale i.MX
  machine:Qualcomm Technologies, Inc. APQ 8016 SBC
  revision:0.0
  serial_number:0000000000000000
  soc_id:Unknown

  qcom-db410c:/sys/devices/soc1$ grep . *
  family:Snapdragon
  machine:APQ8016
  ...

This happens because imx_soc_device_init() registers the soc device
unconditionally, even when running on devices that do not make use of i.MX.
Arnd already reported this more than a year ago and even suggested a fix
similar to this commit, but for some reason it was never submitted.

Fix it by checking if the "__mxc_cpu_type" variable was actually
initialized by earlier platform code. On devices without i.MX it will
simply stay 0.

Cc: Peng Fan &lt;peng.fan@nxp.com&gt;
Fixes: d2199b34871b ("ARM: imx: use device_initcall for imx_soc_device_init")
Reported-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
Link: https://lore.kernel.org/r/CAK8P3a0hxO1TmK6oOMQ70AHSWJnP_CAq57YMOutrxkSYNjFeuw@mail.gmail.com/
Signed-off-by: Stephan Gerhold &lt;stephan@gerhold.net&gt;
Reviewed-by: Fabio Estevam &lt;festevam@gmail.com&gt;
Reviewed-by: Peng Fan &lt;peng.fan@nxp.com&gt;
Signed-off-by: Shawn Guo &lt;shawnguo@kernel.org&gt;
</content>
</entry>
<entry>
<title>ARM: imx: Initialize SoC ID on i.MX50</title>
<updated>2021-05-13T07:42:21Z</updated>
<author>
<name>Jonathan Neuschäfer</name>
</author>
<published>2021-04-24T16:21:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=22b5059b95e4d3b50bdd3e262182864a5ad7ec12'/>
<id>urn:sha1:22b5059b95e4d3b50bdd3e262182864a5ad7ec12</id>
<content type='text'>
As on i.MX51 and i.MX53, initialize the SoC ID based on the SoC
compatible string of the board.

Signed-off-by: Jonathan Neuschäfer &lt;j.neuschaefer@gmx.net&gt;
Reviewed-by: Fabio Estevam &lt;festevam@gmail.com&gt;
Signed-off-by: Shawn Guo &lt;shawnguo@kernel.org&gt;
</content>
</entry>
<entry>
<title>soc: imx: add i.MX51/i.MX53 unique id support</title>
<updated>2021-03-15T04:21:48Z</updated>
<author>
<name>Sebastian Reichel</name>
</author>
<published>2021-01-27T17:40:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1168935b962b240aeaec844855549c2e818fd965'/>
<id>urn:sha1:1168935b962b240aeaec844855549c2e818fd965</id>
<content type='text'>
i.MX51 and i.MX53 SoCs have a 64-bit SoC unique ID stored in IIM,
which can be used as SoC serial number. The same feature is already
implemented for i.MX6/i.MX7, so this complements support to earlier
SoCs.

Signed-off-by: Sebastian Reichel &lt;sebastian.reichel@collabora.com&gt;
Signed-off-by: Shawn Guo &lt;shawnguo@kernel.org&gt;
</content>
</entry>
<entry>
<title>soc: imx: check ls1021a</title>
<updated>2020-07-13T08:28:02Z</updated>
<author>
<name>Peng Fan</name>
</author>
<published>2020-07-09T08:25:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7f6e8dffc30bd22b15ad810fb90ea741c15e6d54'/>
<id>urn:sha1:7f6e8dffc30bd22b15ad810fb90ea741c15e6d54</id>
<content type='text'>
fsl,ls1021a is a mach under arch/arm/mach-imx/, however it could
not use the soc driver which will break caam on ls1021a platform.

So directly return if it is compatible with fsl,ls1021a.

Fixes: 52102a3ba6a61 ("soc: imx: move cpu code to drivers/soc/imx")
Signed-off-by: Peng Fan &lt;peng.fan@nxp.com&gt;
Tested-by: Horia Geantă &lt;horia.geanta@nxp.com&gt;
Reviewed-by: Fabio Estevam &lt;festevam@gmail.com&gt;
Signed-off-by: Shawn Guo &lt;shawnguo@kernel.org&gt;
</content>
</entry>
<entry>
<title>soc: imx: move cpu code to drivers/soc/imx</title>
<updated>2020-05-20T15:03:50Z</updated>
<author>
<name>Peng Fan</name>
</author>
<published>2020-05-20T05:51:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=52102a3ba6a617449f4b057880d73be93310a7c7'/>
<id>urn:sha1:52102a3ba6a617449f4b057880d73be93310a7c7</id>
<content type='text'>
Move the soc device register code to drivers/soc/imx to align with
i.MX8.

Signed-off-by: Peng Fan &lt;peng.fan@nxp.com&gt;
Signed-off-by: Shawn Guo &lt;shawnguo@kernel.org&gt;
</content>
</entry>
</feed>
