<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/linux.git/drivers/soc/atmel, branch v6.1.168</title>
<subtitle>Linux kernel stable tree (mirror)</subtitle>
<id>https://git.radix-linux.su/kernel/linux.git/atom?h=v6.1.168</id>
<link rel='self' href='https://git.radix-linux.su/kernel/linux.git/atom?h=v6.1.168'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/'/>
<updated>2025-02-21T12:49:09+00:00</updated>
<entry>
<title>soc: atmel: fix device_node release in atmel_soc_device_init()</title>
<updated>2025-02-21T12:49:09+00:00</updated>
<author>
<name>Javier Carrasco</name>
<email>javier.carrasco.cruz@gmail.com</email>
</author>
<published>2024-10-31T12:33:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=49ad06896c072bd0fb54cb5ac19095c830fb1b48'/>
<id>urn:sha1:49ad06896c072bd0fb54cb5ac19095c830fb1b48</id>
<content type='text'>
[ Upstream commit d3455ab798100f40af77123e7c2443ec979c546b ]

A device_node acquired via of_find_node_by_path() requires explicit
calls to of_node_put() when it is no longer needed to avoid leaking the
resource.

Instead of adding the missing calls to of_node_put() in all execution
paths, use the cleanup attribute for 'np' by means of the __free()
macro, which automatically calls of_node_put() when the variable goes
out of scope.

Fixes: 960ddf70cc11 ("drivers: soc: atmel: Avoid calling at91_soc_init on non AT91 SoCs")
Signed-off-by: Javier Carrasco &lt;javier.carrasco.cruz@gmail.com&gt;
Link: https://lore.kernel.org/r/20241031-soc-atmel-soc-cleanup-v2-1-73f2d235fd98@gmail.com
Signed-off-by: Claudiu Beznea &lt;claudiu.beznea@tuxon.dev&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>ARM: at91: fix soc detection for SAM9X60 SiPs</title>
<updated>2022-06-28T09:55:32+00:00</updated>
<author>
<name>Mihai Sain</name>
<email>mihai.sain@microchip.com</email>
</author>
<published>2022-06-16T08:13:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=35074df65a8d8c5328a83e2eea948f7bbc8e6e08'/>
<id>urn:sha1:35074df65a8d8c5328a83e2eea948f7bbc8e6e08</id>
<content type='text'>
Fix SoC detection for SAM9X60 SiPs:
SAM9X60D5M
SAM9X60D1G
SAM9X60D6K

Fixes: af3a10513cd6 ("drivers: soc: atmel: add per soc id and version match masks")
Signed-off-by: Mihai Sain &lt;mihai.sain@microchip.com&gt;
Signed-off-by: Claudiu Beznea &lt;claudiu.beznea@microchip.com&gt;
Link: https://lore.kernel.org/r/20220616081344.1978664-1-claudiu.beznea@microchip.com
</content>
</entry>
<entry>
<title>ARM: at91: add support in soc driver for new SAMA5D29</title>
<updated>2022-03-04T11:49:22+00:00</updated>
<author>
<name>Mihai Sain</name>
<email>mihai.sain@microchip.com</email>
</author>
<published>2022-03-02T15:53:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=def8abbb1464579c37f15b3d7a95e5f3bab758dc'/>
<id>urn:sha1:def8abbb1464579c37f15b3d7a95e5f3bab758dc</id>
<content type='text'>
Add detection of new SAMA5D29 by the SoC driver.

Signed-off-by: Mihai Sain &lt;mihai.sain@microchip.com&gt;
Signed-off-by: Nicolas Ferre &lt;nicolas.ferre@microchip.com&gt;
Reviewed-by: Claudiu Beznea &lt;claudiu.beznea@microchip.com&gt;
Link: https://lore.kernel.org/r/20220302155329.27668-1-nicolas.ferre@microchip.com
</content>
</entry>
<entry>
<title>drivers: soc: atmel: fix type for same7</title>
<updated>2021-02-04T20:54:31+00:00</updated>
<author>
<name>Arnd Bergmann</name>
<email>arnd@arndb.de</email>
</author>
<published>2021-02-04T15:49:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=7deff441f53cc148cbf18381bd252a754b0d7d4e'/>
<id>urn:sha1:7deff441f53cc148cbf18381bd252a754b0d7d4e</id>
<content type='text'>
A missing comma caused a build failure:

drivers/soc/atmel/soc.c:196:24: error: too few arguments provided to function-like macro invocation

Fixes: af3a10513cd6 ("drivers: soc: atmel: add per soc id and version match masks")
Signed-off-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
Acked-by: Alexandre Belloni &lt;alexandre.belloni@bootlin.com&gt;
Signed-off-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
</content>
</entry>
<entry>
<title>drivers: soc: atmel: add spdx license identifier</title>
<updated>2021-01-26T10:25:08+00:00</updated>
<author>
<name>Claudiu Beznea</name>
<email>claudiu.beznea@microchip.com</email>
</author>
<published>2021-01-26T09:29:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=cd9168b4377932a6494d464db1ddd3f63e41fce3'/>
<id>urn:sha1:cd9168b4377932a6494d464db1ddd3f63e41fce3</id>
<content type='text'>
Add SPDX-License-Identifier.

Signed-off-by: Claudiu Beznea &lt;claudiu.beznea@microchip.com&gt;
[nicolas.ferre@microhcip.com: remove license boilerplate now it's useless]
Signed-off-by: Nicolas Ferre &lt;nicolas.ferre@microchip.com&gt;
Link: https://lore.kernel.org/r/1611653376-24168-2-git-send-email-claudiu.beznea@microchip.com
</content>
</entry>
<entry>
<title>drivers: soc: atmel: add support for sama7g5</title>
<updated>2021-01-26T09:02:28+00:00</updated>
<author>
<name>Claudiu Beznea</name>
<email>claudiu.beznea@microchip.com</email>
</author>
<published>2021-01-22T12:21:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=f12a29cb566699614266471342872193db1a1f52'/>
<id>urn:sha1:f12a29cb566699614266471342872193db1a1f52</id>
<content type='text'>
Add support for SAMA7G5 SoCs.

Signed-off-by: Claudiu Beznea &lt;claudiu.beznea@microchip.com&gt;
Signed-off-by: Nicolas Ferre &lt;nicolas.ferre@microchip.com&gt;
Link: https://lore.kernel.org/r/1611318097-8970-8-git-send-email-claudiu.beznea@microchip.com
</content>
</entry>
<entry>
<title>drivers: soc: atmel: add per soc id and version match masks</title>
<updated>2021-01-26T09:02:28+00:00</updated>
<author>
<name>Claudiu Beznea</name>
<email>claudiu.beznea@microchip.com</email>
</author>
<published>2021-01-22T12:21:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=af3a10513cd628269c3207bc50b8a5886c566ec4'/>
<id>urn:sha1:af3a10513cd628269c3207bc50b8a5886c566ec4</id>
<content type='text'>
SAMA7G5 has different masks for chip ID and chip version on CIDR
register compared to previous AT91 SoCs. For this the commit adapts
the code for SAMA7G5 addition by introducing 2 new members in
struct at91_soc and fill them properly and also preparing the
parsing of proper DT binding.

Signed-off-by: Claudiu Beznea &lt;claudiu.beznea@microchip.com&gt;
Signed-off-by: Nicolas Ferre &lt;nicolas.ferre@microchip.com&gt;
Link: https://lore.kernel.org/r/1611318097-8970-6-git-send-email-claudiu.beznea@microchip.com
</content>
</entry>
<entry>
<title>drivers: soc: atmel: fix "__initconst should be placed after socs[]" warning</title>
<updated>2021-01-26T09:02:28+00:00</updated>
<author>
<name>Claudiu Beznea</name>
<email>claudiu.beznea@microchip.com</email>
</author>
<published>2021-01-22T12:21:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=11272a373c44a5bea3a1dd051a7e84e396926c14'/>
<id>urn:sha1:11272a373c44a5bea3a1dd051a7e84e396926c14</id>
<content type='text'>
Fix checkpatch.pl warning: "__initconst should be placed after socs[]".

Signed-off-by: Claudiu Beznea &lt;claudiu.beznea@microchip.com&gt;
Signed-off-by: Nicolas Ferre &lt;nicolas.ferre@microchip.com&gt;
Link: https://lore.kernel.org/r/1611318097-8970-4-git-send-email-claudiu.beznea@microchip.com
</content>
</entry>
<entry>
<title>drivers: soc: atmel: use GENMASK</title>
<updated>2021-01-26T09:02:28+00:00</updated>
<author>
<name>Claudiu Beznea</name>
<email>claudiu.beznea@microchip.com</email>
</author>
<published>2021-01-22T12:21:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=8eb2f88c6084b9dc69147abb3d24dafe36ecda8a'/>
<id>urn:sha1:8eb2f88c6084b9dc69147abb3d24dafe36ecda8a</id>
<content type='text'>
Use GENMASK() to define CIDR match mask.

Signed-off-by: Claudiu Beznea &lt;claudiu.beznea@microchip.com&gt;
Signed-off-by: Nicolas Ferre &lt;nicolas.ferre@microchip.com&gt;
Link: https://lore.kernel.org/r/1611318097-8970-3-git-send-email-claudiu.beznea@microchip.com
</content>
</entry>
<entry>
<title>drivers: soc: atmel: add null entry at the end of at91_soc_allowed_list[]</title>
<updated>2021-01-26T09:01:24+00:00</updated>
<author>
<name>Claudiu Beznea</name>
<email>claudiu.beznea@microchip.com</email>
</author>
<published>2021-01-22T12:21:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=975435132ecfef8de2118668c9f4f95086a0aae5'/>
<id>urn:sha1:975435132ecfef8de2118668c9f4f95086a0aae5</id>
<content type='text'>
of_match_node() calls __of_match_node() which loops though the entries of
matches array. It stops when condition:
(matches-&gt;name[0] || matches-&gt;type[0] || matches-&gt;compatible[0]) is
false. Thus, add a null entry at the end of at91_soc_allowed_list[]
array.

Fixes: caab13b49604 ("drivers: soc: atmel: Avoid calling at91_soc_init on non AT91 SoCs")
Cc: stable@vger.kernel.org #4.12+
Signed-off-by: Claudiu Beznea &lt;claudiu.beznea@microchip.com&gt;
Signed-off-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
Signed-off-by: Nicolas Ferre &lt;nicolas.ferre@microchip.com&gt;
</content>
</entry>
</feed>
