<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/soc/renesas, 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-09-13T08:56:29Z</updated>
<entry>
<title>soc: renesas: Identify more R-Car Gen3e SoCs</title>
<updated>2021-09-13T08:56:29Z</updated>
<author>
<name>Geert Uytterhoeven</name>
</author>
<published>2021-08-12T11:23:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2ed1e4815922a3b22561b6e0e6f6d3d15a4e1007'/>
<id>urn:sha1:2ed1e4815922a3b22561b6e0e6f6d3d15a4e1007</id>
<content type='text'>
Add support for identifying the remaining R-Car Gen3e SoCs: R-Car H3e
(R8A779M0), M3e (R8A779M2), M3Ne (R8A779M4), M3Ne-2G (R8A779M5), E3e
(R8A779M6), D3e (R8A779M7), and H3Ne (R8A779M8).

As these are different gradings of the already supported R-Car Gen3
SoCs, support for them is enabled through the existing ARCH_R8A779*
configuration symbols.

Signed-off-by: Geert Uytterhoeven &lt;geert+renesas@glider.be&gt;
Link: https://lore.kernel.org/r/ccf2206b24147b3d977e4119bbdefaedceb28644.1628766192.git.geert+renesas@glider.be
</content>
</entry>
<entry>
<title>soc: renesas: Prefer memcpy() over strcpy()</title>
<updated>2021-08-12T10:36:57Z</updated>
<author>
<name>Len Baker</name>
</author>
<published>2021-08-08T12:50:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=148bcca9ad0488d623aa36b21ac152bb056a1ae4'/>
<id>urn:sha1:148bcca9ad0488d623aa36b21ac152bb056a1ae4</id>
<content type='text'>
strcpy() performs no bounds checking on the destination buffer. This
could result in linear overflows beyond the end of the buffer, leading
to all kinds of misbehaviors. So, use memcpy() as a safe replacement.

This is a previous step in the path to remove the strcpy() function
entirely from the kernel.

Signed-off-by: Len Baker &lt;len.baker@gmx.com&gt;
Link: https://lore.kernel.org/r/20210808125012.4715-3-len.baker@gmx.com
Signed-off-by: Geert Uytterhoeven &lt;geert+renesas@glider.be&gt;
</content>
</entry>
<entry>
<title>soc: renesas: Identify R-Car H3e-2G and M3e-2G</title>
<updated>2021-07-27T07:27:19Z</updated>
<author>
<name>Geert Uytterhoeven</name>
</author>
<published>2021-07-19T15:38:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=bfe6b5590ce6cab81b3ee51b4541bd1d0b18b3b2'/>
<id>urn:sha1:bfe6b5590ce6cab81b3ee51b4541bd1d0b18b3b2</id>
<content type='text'>
Add support for identifying the R-Car H3e-2G (R8A779M1) and R-Car M3e-2G
(R8A779M3) SoCs.

As these are different gradings of the already supported R-Car H3 ES3.0
(R8A77951) and M3-W+ (R8A77961) SoCs, support for them is enabled
through the existing ARCH_R8A77951 and ARCH_R8A77961 configuration
symbols.

Signed-off-by: Geert Uytterhoeven &lt;geert+renesas@glider.be&gt;
Reviewed-by: Laurent Pinchart &lt;laurent.pinchart@ideasonboard.com&gt;
Link: https://lore.kernel.org/r/42b4578ab4739cb48ec3aed0a447fc40c34de1e5.1626708063.git.geert+renesas@glider.be
</content>
</entry>
<entry>
<title>soc: renesas: Add support to read LSI DEVID register of RZ/G2{L,LC} SoC's</title>
<updated>2021-06-10T13:29:03Z</updated>
<author>
<name>Lad Prabhakar</name>
</author>
<published>2021-06-09T16:37:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=187cd57db09355fd169c661fa1c44bda06b013e8'/>
<id>urn:sha1:187cd57db09355fd169c661fa1c44bda06b013e8</id>
<content type='text'>
Add support for reading the LSI DEVID register which is present in
SYSC block of RZ/G2{L,LC} SoC's.

Signed-off-by: Lad Prabhakar &lt;prabhakar.mahadev-lad.rj@bp.renesas.com&gt;
Reviewed-by: Biju Das &lt;biju.das.jz@bp.renesas.com&gt;
Link: https://lore.kernel.org/r/20210609163717.3083-3-prabhakar.mahadev-lad.rj@bp.renesas.com
Signed-off-by: Geert Uytterhoeven &lt;geert+renesas@glider.be&gt;
</content>
</entry>
<entry>
<title>soc: renesas: Add ARCH_R9A07G044 for the new RZ/G2L SoC's</title>
<updated>2021-06-10T13:28:57Z</updated>
<author>
<name>Lad Prabhakar</name>
</author>
<published>2021-06-09T15:32:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f3b154529fb89e9feae18d5e9da40559172d8d19'/>
<id>urn:sha1:f3b154529fb89e9feae18d5e9da40559172d8d19</id>
<content type='text'>
Add ARCH_R9A07G044 as a configuration symbol for the new Renesas
RZ/G2L SoC variants.

Signed-off-by: Lad Prabhakar &lt;prabhakar.mahadev-lad.rj@bp.renesas.com&gt;
Reviewed-by: Biju Das &lt;biju.das.jz@bp.renesas.com&gt;
Link: https://lore.kernel.org/r/20210609153230.6967-5-prabhakar.mahadev-lad.rj@bp.renesas.com
Signed-off-by: Geert Uytterhoeven &lt;geert+renesas@glider.be&gt;
</content>
</entry>
<entry>
<title>soc: renesas: rmobile-sysc: Mark fwnode when PM domain is added</title>
<updated>2021-03-08T09:25:00Z</updated>
<author>
<name>Geert Uytterhoeven</name>
</author>
<published>2021-02-16T12:39:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1d9ffbc6b185561c65a5a599562dbb6c5d66e7d1'/>
<id>urn:sha1:1d9ffbc6b185561c65a5a599562dbb6c5d66e7d1</id>
<content type='text'>
Currently, there are two drivers binding to the R-Mobile System
Controller (SYSC):
  - The rmobile-sysc driver registers PM domains from a core_initcall(),
    and does not use a platform driver,
  - The optional rmobile-reset driver registers a reset handler, and
    does use a platform driver.

As fw_devlink only considers devices, commit bab2d712eeaf9d60 ("PM:
domains: Mark fwnodes when their powerdomain is added/removed") works
only for PM Domain drivers where the DT node is a real device node, and
not for PM Domain drivers using a hierarchical representation inside a
subnode.  Hence if fw_devlink is enabled, probing of on-chip devices
that are part of the SYSC PM domain is deferred until the optional
rmobile-reset driver has been bound.   If the rmobile-reset driver is
not available, this will never happen, and thus lead to complete system
boot failures.

Fix this by explicitly marking the fwnode initialized.

Suggested-by: Saravana Kannan &lt;saravanak@google.com&gt;
Signed-off-by: Geert Uytterhoeven &lt;geert+renesas@glider.be&gt;
Acked-by: Saravana Kannan &lt;saravanak@google.com&gt;
Link: https://lore.kernel.org/r/20210216123958.3180014-1-geert+renesas@glider.be
</content>
</entry>
<entry>
<title>soc: renesas: rmobile-sysc: Remove unneeded platform includes</title>
<updated>2021-03-08T09:25:00Z</updated>
<author>
<name>Geert Uytterhoeven</name>
</author>
<published>2021-02-05T13:21:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2fb72440b697e1f2cb12790873df159160c22bcf'/>
<id>urn:sha1:2fb72440b697e1f2cb12790873df159160c22bcf</id>
<content type='text'>
As of commit b587288001f05c0e ("ARM: shmobile: R-Mobile: Remove legacy
PM Domain code"), the R-Mobile System Controller driver no longer
handles the adding of platform devices to PM Domains, but delegates that
to the PM Domain core code.

Signed-off-by: Geert Uytterhoeven &lt;geert+renesas@glider.be&gt;
Link: https://lore.kernel.org/r/20210205132141.1920137-1-geert+renesas@glider.be
</content>
</entry>
<entry>
<title>soc: renesas: rcar-sysc: Mark device node OF_POPULATED after init</title>
<updated>2021-01-29T08:10:25Z</updated>
<author>
<name>Geert Uytterhoeven</name>
</author>
<published>2021-01-28T08:28:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2dfc564bda4a31bc4439315448bd4da5182cb397'/>
<id>urn:sha1:2dfc564bda4a31bc4439315448bd4da5182cb397</id>
<content type='text'>
The R-Car System Controller (SYSC) driver registers PM domains from an
early_initcall().  It does not use a platform driver, as secondary CPU
startup on R-Car H1 needs to control the CPU power domains, before
initialization of the driver framework.

As fw_devlink only considers devices, it does not know that the System
Controller is ready.  Hence probing of on-chip devices that are part of
the SYSC PM domain fails if fw_devlink is enabled:

    probe deferral - supplier e6180000.system-controller not ready

Fix this by setting the OF_POPULATED flag for the SYSC device node after
successful initialization.  This will make of_link_to_phandle() ignore
the SYSC device node as a dependency, and consumer devices will be
probed again.

Signed-off-by: Geert Uytterhoeven &lt;geert+renesas@glider.be&gt;
Reviewed-by: Saravana Kannan &lt;saravanak@google.com&gt;
Link: https://lore.kernel.org/r/20210128082847.2205950-1-geert+renesas@glider.be
</content>
</entry>
<entry>
<title>soc: renesas: rcar-sysc: Use readl_poll_timeout_atomic()</title>
<updated>2021-01-26T09:40:14Z</updated>
<author>
<name>Geert Uytterhoeven</name>
</author>
<published>2021-01-25T14:26:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=56d6fb12e64be09924a7140c43279583d49c4625'/>
<id>urn:sha1:56d6fb12e64be09924a7140c43279583d49c4625</id>
<content type='text'>
Replace the open-coded polling loops by calls to the
readl_poll_timeout_atomic() helper macro.

Signed-off-by: Geert Uytterhoeven &lt;geert+renesas@glider.be&gt;
Reviewed-by: Niklas Söderlund &lt;niklas.soderlund+renesas@ragnatech.se&gt;
Link: https://lore.kernel.org/r/20210125142606.1050130-1-geert+renesas@glider.be
</content>
</entry>
<entry>
<title>soc: renesas: rmobile-sysc: Stop using __raw_*() I/O accessors</title>
<updated>2020-11-27T13:09:37Z</updated>
<author>
<name>Geert Uytterhoeven</name>
</author>
<published>2020-11-19T12:52:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8b6bed678428b6df66741cb0956e076d579e3891'/>
<id>urn:sha1:8b6bed678428b6df66741cb0956e076d579e3891</id>
<content type='text'>
There is no reason to keep on using the __raw_{read,write}l() I/O
accessors in Renesas ARM driver code.  Switch to using the plain
{read,write}l() I/O accessors, to have a chance that this works on
big-endian.

Suggested-by: Arnd Bergmann &lt;arnd@kernel.org&gt;
Signed-off-by: Geert Uytterhoeven &lt;geert+renesas@glider.be&gt;
Link: https://lore.kernel.org/r/20201119125214.4065925-1-geert+renesas@glider.be
</content>
</entry>
</feed>
