<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/soc/samsung, branch linux-5.16.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.16.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.16.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2021-10-26T07:16:53Z</updated>
<entry>
<title>soc: samsung: exynos-chipid: add exynosautov9 SoC support</title>
<updated>2021-10-26T07:16:53Z</updated>
<author>
<name>Chanho Park</name>
</author>
<published>2021-10-21T01:20:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b417d1e88f32645ed62a00d43c347b4386a0a021'/>
<id>urn:sha1:b417d1e88f32645ed62a00d43c347b4386a0a021</id>
<content type='text'>
The product id of Exynos Auto v9 is "0xAAA8_0000". Add this id and its
name.

Cc: Sam Protsenko &lt;semen.protsenko@linaro.org&gt;
Signed-off-by: Chanho Park &lt;chanho61.park@samsung.com&gt;
Link: https://lore.kernel.org/r/20211021012017.158919-2-chanho61.park@samsung.com
Signed-off-by: Krzysztof Kozlowski &lt;krzysztof.kozlowski@canonical.com&gt;
</content>
</entry>
<entry>
<title>soc: samsung: exynos-chipid: Add Exynos850 support</title>
<updated>2021-10-15T07:48:52Z</updated>
<author>
<name>Sam Protsenko</name>
</author>
<published>2021-10-14T13:35:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=81a51eb6be3dbb76790b7353ec8dfaadfc751782'/>
<id>urn:sha1:81a51eb6be3dbb76790b7353ec8dfaadfc751782</id>
<content type='text'>
Add chip-id support for Exynos850 SoC. Despite its "E3830" ID, the
actual SoC name is Exynos850 (Exynos3830 name is internal and outdated).

Format of Product_ID register in Exynos850 (offset 0x0):

     [31:0] Product ID (identification)

Format of CHIPID_REV register in Exynos850 (offset 0x10):

    [23:20] Main revision
    [19:16] Sub revision

Signed-off-by: Sam Protsenko &lt;semen.protsenko@linaro.org&gt;
Link: https://lore.kernel.org/r/20211014133508.1210-3-semen.protsenko@linaro.org
Signed-off-by: Krzysztof Kozlowski &lt;krzysztof.kozlowski@canonical.com&gt;
</content>
</entry>
<entry>
<title>soc: samsung: exynos-chipid: Pass revision reg offsets</title>
<updated>2021-10-15T07:48:40Z</updated>
<author>
<name>Sam Protsenko</name>
</author>
<published>2021-10-14T13:35:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c072c4ef7ef09e1d6470c48cf52570487589b76a'/>
<id>urn:sha1:c072c4ef7ef09e1d6470c48cf52570487589b76a</id>
<content type='text'>
Old Exynos SoCs have both Product ID and Revision ID in one single
register, while new SoCs tend to have two separate registers for those
IDs. Implement handling of both cases by passing Revision ID register
offsets in driver data.

Previously existing macros for Exynos4210 (removed in this patch) were
incorrect:

    #define EXYNOS_SUBREV_MASK         (0xf &lt;&lt; 4)
    #define EXYNOS_MAINREV_MASK        (0xf &lt;&lt; 0)

Actual format of PRO_ID register in Exynos4210 (offset 0x0):

    [31:12] Product ID
      [9:8] Package information
      [7:4] Main Revision Number
      [3:0] Sub Revision Number

This patch doesn't change the behavior on existing platforms, so
'/sys/devices/soc0/revision' will show the same string as before.

Signed-off-by: Sam Protsenko &lt;semen.protsenko@linaro.org&gt;
Tested-by: Henrik Grimler &lt;henrik@grimler.se&gt;
Link: https://lore.kernel.org/r/20211014133508.1210-1-semen.protsenko@linaro.org
Signed-off-by: Krzysztof Kozlowski &lt;krzysztof.kozlowski@canonical.com&gt;
</content>
</entry>
<entry>
<title>soc: samsung: pm_domains: drop unused is_off field</title>
<updated>2021-10-10T17:18:03Z</updated>
<author>
<name>Krzysztof Kozlowski</name>
</author>
<published>2021-10-08T07:52:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=178d6c1b83e5244b866d90071246b3b0135c3f7d'/>
<id>urn:sha1:178d6c1b83e5244b866d90071246b3b0135c3f7d</id>
<content type='text'>
The 'is_off' member of internal state structure 'exynos_pm_domain' is
not used anymore.

Fixes: 2ed5f236716c ("ARM: EXYNOS: Detect power domain state on registration from DT")
Signed-off-by: Krzysztof Kozlowski &lt;krzysztof.kozlowski@canonical.com&gt;
Link: https://lore.kernel.org/r/20211008075253.67961-1-krzysztof.kozlowski@canonical.com
</content>
</entry>
<entry>
<title>soc: samsung: exynos-chipid: do not enforce built-in</title>
<updated>2021-09-29T13:50:34Z</updated>
<author>
<name>Krzysztof Kozlowski</name>
</author>
<published>2021-09-19T09:31:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=140bbfe7cd4be0aa6543f94d3994e4774b325abc'/>
<id>urn:sha1:140bbfe7cd4be0aa6543f94d3994e4774b325abc</id>
<content type='text'>
After converting the Exynos ChipID and ASV driver to a module, allow to
actually choose it to be a module, while being a default built-in.  The
side effect is that driver could be now entirely disabled even for
kernel with ARCH_EXYNOS, but this is not a critical issue because driver
is not necessary for the proper platform boot.

Signed-off-by: Krzysztof Kozlowski &lt;krzysztof.kozlowski@canonical.com&gt;
Reviewed-by: Sylwester Nawrocki &lt;snawrocki@kernel.org&gt;
Tested-by: Sylwester Nawrocki &lt;snawrocki@kernel.org&gt;
Reviewed-by: Alim Akhtar &lt;alim.akhtar@samsung.com&gt;
Tested-by: Alim Akhtar &lt;alim.akhtar@samsung.com&gt;
Link: https://lore.kernel.org/r/20210919093114.35987-4-krzysztof.kozlowski@canonical.com
</content>
</entry>
<entry>
<title>soc: samsung: exynos-chipid: convert to a module</title>
<updated>2021-09-29T13:50:34Z</updated>
<author>
<name>Krzysztof Kozlowski</name>
</author>
<published>2021-09-19T09:31:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1e3e559f8d4e5b4c873414078facb35273ecbf4b'/>
<id>urn:sha1:1e3e559f8d4e5b4c873414078facb35273ecbf4b</id>
<content type='text'>
Exynos ChipID and ASV (Adaptive Supply Voltage) driver is not essential
to system boot and it can successfully be built and loaded as module.

This makes core kernel image smaller and reduces the memory footprint
when multi-platform kernel is booted on non-Exynos board.  Usually it is
also distro-friendly.

Add multiple authors of the driver since its conversion from
mach-exynos, ordered alphabetically by first name.

Signed-off-by: Krzysztof Kozlowski &lt;krzysztof.kozlowski@canonical.com&gt;
Reviewed-by: Sylwester Nawrocki &lt;snawrocki@kernel.org&gt;
Tested-by: Sylwester Nawrocki &lt;snawrocki@kernel.org&gt;
Reviewed-by: Alim Akhtar &lt;alim.akhtar@samsung.com&gt;
Tested-by: Alim Akhtar &lt;alim.akhtar@samsung.com&gt;
Link: https://lore.kernel.org/r/20210919093114.35987-3-krzysztof.kozlowski@canonical.com
</content>
</entry>
<entry>
<title>soc: samsung: exynos-chipid: avoid soc_device_to_device()</title>
<updated>2021-09-29T13:50:29Z</updated>
<author>
<name>Krzysztof Kozlowski</name>
</author>
<published>2021-09-19T09:31:12Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d1141886c8d72ad77920e6e4b617d366e6e3ee8a'/>
<id>urn:sha1:d1141886c8d72ad77920e6e4b617d366e6e3ee8a</id>
<content type='text'>
soc_device_to_device() seems to be discouraged [1] so remove it in favor
of printing info message with platform device.  This will only change
the prefix in the info message from "soc soc0: " to "exynos-chipid
10000000.chipid:".

[1] https://lore.kernel.org/lkml/20191111052741.GB3176397@kroah.com/

Signed-off-by: Krzysztof Kozlowski &lt;krzysztof.kozlowski@canonical.com&gt;
Reviewed-by: Sylwester Nawrocki &lt;snawrocki@kernel.org&gt;
Tested-by: Sylwester Nawrocki &lt;snawrocki@kernel.org&gt;
Reviewed-by: Alim Akhtar &lt;alim.akhtar@samsung.com&gt;
Tested-by: Alim Akhtar &lt;alim.akhtar@samsung.com&gt;
Link: https://lore.kernel.org/r/20210919093114.35987-2-krzysztof.kozlowski@canonical.com
</content>
</entry>
<entry>
<title>soc: samsung: exynos-pmu: Fix compilation when nothing selects CONFIG_MFD_CORE</title>
<updated>2021-09-15T07:48:46Z</updated>
<author>
<name>David Virag</name>
</author>
<published>2021-09-09T22:28:12Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e37ef6dcdb1f4738b01cec7fb7be46af07816af9'/>
<id>urn:sha1:e37ef6dcdb1f4738b01cec7fb7be46af07816af9</id>
<content type='text'>
Commit 93618e344a5e ("soc: samsung: exynos-pmu: instantiate clkout
driver as MFD") adds a "devm_mfd_add_devices" call in the exynos-pmu
driver which depends on CONFIG_MFD_CORE. If no driver selects that
config, the build will fail if CONFIG_EXYNOS_PMU is enabled with the
following error:

  drivers/soc/samsung/exynos-pmu.c:137: undefined reference to `devm_mfd_add_devices'

Fix this by making CONFIG_EXYNOS_PMU select CONFIG_MFD_CORE.

Fixes: 93618e344a5e ("soc: samsung: exynos-pmu: instantiate clkout driver as MFD")
Cc: &lt;stable@vger.kernel.org&gt;
Signed-off-by: David Virag &lt;virag.david003@gmail.com&gt;
Link: https://lore.kernel.org/r/20210909222812.108614-1-virag.david003@gmail.com
Signed-off-by: Krzysztof Kozlowski &lt;krzysztof.kozlowski@canonical.com&gt;
</content>
</entry>
<entry>
<title>soc: samsung: pm_domains: Convert to regular platform driver</title>
<updated>2021-01-15T19:50:34Z</updated>
<author>
<name>Marek Szyprowski</name>
</author>
<published>2021-01-13T11:03:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c09a3e6c97f00a525e23854d63f003aba9adfa41'/>
<id>urn:sha1:c09a3e6c97f00a525e23854d63f003aba9adfa41</id>
<content type='text'>
When Exynos power domain driver was introduced, the only way to ensure
that power domains will be instantiated before the devices which belongs
to them was to initialize them early enough, before the devices are
instantiated in the system. This in turn required not to use any platform
device infrastructure at all, as there have been no way to ensure proper
probe order between devices.

This has been finally changed and upcomming patch "driver core: Set
fw_devlink=on by default" ensures that each device will be probbed only
when its resource providers are ready. This allows to convert Exynos
power domain driver to regular platform driver.

This is also required by the mentioned commit to enable probing any
device which belongs to the Exynos power domains, as otherwise the core
won't notice that the power domains are in fact available.

Signed-off-by: Marek Szyprowski &lt;m.szyprowski@samsung.com&gt;
Link: https://lore.kernel.org/r/20210113110320.13149-1-m.szyprowski@samsung.com
Signed-off-by: Krzysztof Kozlowski &lt;krzk@kernel.org&gt;
</content>
</entry>
<entry>
<title>soc: samsung: exynos-chipid: correct helpers __init annotation</title>
<updated>2021-01-08T17:10:33Z</updated>
<author>
<name>Krzysztof Kozlowski</name>
</author>
<published>2021-01-05T17:44:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6166174afc2bc74ca550af388508384b57d5163d'/>
<id>urn:sha1:6166174afc2bc74ca550af388508384b57d5163d</id>
<content type='text'>
After converting to builtin driver, the probe function should not call
__init functions anymore:

  &gt;&gt; WARNING: modpost: vmlinux.o(.text+0x8884d4):
  Section mismatch in reference from the function exynos_chipid_probe() to the function .init.text:product_id_to_soc_id()

Reported-by: kernel test robot &lt;lkp@intel.com&gt;
Fixes: 352bfbb3e023 ("soc: samsung: exynos-chipid: convert to driver and merge exynos-asv")
Signed-off-by: Krzysztof Kozlowski &lt;krzk@kernel.org&gt;
Link: https://lore.kernel.org/r/20210105174440.120041-1-krzk@kernel.org
</content>
</entry>
</feed>
