<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/pinctrl/renesas, branch linux-5.18.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.18.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.18.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2022-06-09T08:30:29Z</updated>
<entry>
<title>pinctrl: renesas: core: Fix possible null-ptr-deref in sh_pfc_map_resources()</title>
<updated>2022-06-09T08:30:29Z</updated>
<author>
<name>Yang Yingliang</name>
</author>
<published>2022-04-29T08:26:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fb4f022b3ad1f3ff3cafdbc7d51896090ae17701'/>
<id>urn:sha1:fb4f022b3ad1f3ff3cafdbc7d51896090ae17701</id>
<content type='text'>
[ Upstream commit 5376e3d904532e657fd7ca1a9b1ff3d351527b90 ]

It will cause null-ptr-deref when using 'res', if platform_get_resource()
returns NULL, so move using 'res' after devm_ioremap_resource() that
will check it to avoid null-ptr-deref.
And use devm_platform_get_and_ioremap_resource() to simplify code.

Fixes: c7977ec4a336 ("pinctrl: sh-pfc: Convert to platform_get_*()")
Signed-off-by: Yang Yingliang &lt;yangyingliang@huawei.com&gt;
Link: https://lore.kernel.org/r/20220429082637.1308182-1-yangyingliang@huawei.com
Signed-off-by: Geert Uytterhoeven &lt;geert+renesas@glider.be&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>pinctrl: renesas: r8a779f0: Fix GPIO function on I2C-capable pins</title>
<updated>2022-06-09T08:30:29Z</updated>
<author>
<name>Geert Uytterhoeven</name>
</author>
<published>2022-04-22T07:29:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ecc9d39a9fac0dab75e940d2929e91cab0456a8b'/>
<id>urn:sha1:ecc9d39a9fac0dab75e940d2929e91cab0456a8b</id>
<content type='text'>
[ Upstream commit 8bdd369dba7ff2f89cfd723ca3a26602aae4e498 ]

Unlike on R-Car Gen3 SoCs, setting a bit to zero in a GPIO / Peripheral
Function Select Register (GPSRn) on R-Car S4-8 is not always sufficient
to configure a pin for GPIO.  For I2C-capable pins, the I2C function
must also be explicitly disabled in the corresponding Module Select
Register (MODSELn).

Add the missing FN_SEL_I2Ci_0 function enums to the pinmux_data[] array
by temporarily overriding the GP_1_j_FN function enum to expand to two
enums: the original GP_1_j_FN enum to configure the GPSR register bits,
and the missing FN_SEL_I2Ci_0 enum to configure the MODSEL register
bits.

Fixes: 030ac6d7eeff81e3 ("pinctrl: renesas: Initial R8A779F0 PFC support")
Signed-off-by: Geert Uytterhoeven &lt;geert+renesas@glider.be&gt;
Link: https://lore.kernel.org/r/c12c60ec1058140a37f03650043ab73f730f104f.1650610471.git.geert+renesas@glider.be
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>pinctrl: renesas: r8a779a0: Fix GPIO function on I2C-capable pins</title>
<updated>2022-06-09T08:30:28Z</updated>
<author>
<name>Geert Uytterhoeven</name>
</author>
<published>2022-04-22T07:29:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0be56b99f3958cd44ccaf91ce47162bec2f3a110'/>
<id>urn:sha1:0be56b99f3958cd44ccaf91ce47162bec2f3a110</id>
<content type='text'>
[ Upstream commit 4288caed9a6319b766dc0adf605c7b401180db34 ]

Unlike on R-Car Gen3 SoCs, setting a bit to zero in a GPIO / Peripheral
Function Select Register (GPSRn) on R-Car V3U is not always sufficient
to configure a pin for GPIO.  For I2C-capable pins, the I2C function
must also be explicitly disabled in the corresponding Module Select
Register (MODSELn).

Add the missing FN_SEL_I2Ci_0 function enums to the pinmux_data[] array
by temporarily overriding the GP_2_j_FN function enum to expand to two
enums: the original GP_2_j_FN enum to configure the GSPR register bits,
and the missing FN_SEL_I2Ci_0 enum to configure the MODSEL register
bits.

Fixes: 741a7370fc3b8b54 ("pinctrl: renesas: Initial R8A779A0 (V3U) PFC support")
Signed-off-by: Geert Uytterhoeven &lt;geert+renesas@glider.be&gt;
Link: https://lore.kernel.org/r/4611e29e7b105513883084c1d6dc39c3ac8b525c.1650610471.git.geert+renesas@glider.be
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>pinctrl: renesas: rzn1: Fix possible null-ptr-deref in sh_pfc_map_resources()</title>
<updated>2022-06-09T08:29:50Z</updated>
<author>
<name>Yang Yingliang</name>
</author>
<published>2022-04-29T08:26:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=01f9e02e0f13df3fd291676dc80054e977be1601'/>
<id>urn:sha1:01f9e02e0f13df3fd291676dc80054e977be1601</id>
<content type='text'>
[ Upstream commit 2f661477c2bb8068194dbba9738d05219f111c6e ]

It will cause null-ptr-deref when using 'res', if platform_get_resource()
returns NULL, so move using 'res' after devm_ioremap_resource() that
will check it to avoid null-ptr-deref.
And use devm_platform_get_and_ioremap_resource() to simplify code.

Signed-off-by: Yang Yingliang &lt;yangyingliang@huawei.com&gt;
Link: https://lore.kernel.org/r/20220429082637.1308182-2-yangyingliang@huawei.com
Signed-off-by: Geert Uytterhoeven &lt;geert+renesas@glider.be&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>pinctrl: renesas: r8a779f0: Add Ethernet pins, groups, and functions</title>
<updated>2022-02-25T12:45:49Z</updated>
<author>
<name>Geert Uytterhoeven</name>
</author>
<published>2022-02-21T15:43:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=babe298e9caaa3d723f9721647eeac22309941d8'/>
<id>urn:sha1:babe298e9caaa3d723f9721647eeac22309941d8</id>
<content type='text'>
Add pins, groups, and functions for the Ethernet Time-Sensitive
Networking (TSN) interfaces on the Renesas R-Car S4-8 (R8A779F0) SoC.

Based on a larger patch in the BSP by LUU HOAI.

Signed-off-by: Geert Uytterhoeven &lt;geert+renesas@glider.be&gt;
Reviewed-by: Yoshihiro Shimoda &lt;yoshihiro.shimoda.uh@renesas.com&gt;
Link: https://lore.kernel.org/r/e0a1dc7d2435d28811e3acb361dae050eb3aabc9.1645457792.git.geert+renesas@glider.be
</content>
</entry>
<entry>
<title>pinctrl: renesas: r8a779f0: Add QSPI pins, groups, and functions</title>
<updated>2022-02-25T12:45:49Z</updated>
<author>
<name>Geert Uytterhoeven</name>
</author>
<published>2022-02-21T15:43:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2e1b4362398673607d6a86b65ddab66e6dabf721'/>
<id>urn:sha1:2e1b4362398673607d6a86b65ddab66e6dabf721</id>
<content type='text'>
Add pins, groups, and functions for the Quad SPI Controllers on the
Renesas R-Car S4-8 (R8A779F0) SoC.

Based on a larger patch in the BSP by LUU HOAI.

Signed-off-by: Geert Uytterhoeven &lt;geert+renesas@glider.be&gt;
Reviewed-by: Yoshihiro Shimoda &lt;yoshihiro.shimoda.uh@renesas.com&gt;
Link: https://lore.kernel.org/r/cd7f7feeabebf268adc9e050e348230e93b40829.1645457792.git.geert+renesas@glider.be
</content>
</entry>
<entry>
<title>pinctrl: renesas: r8a779f0: Add PCIe pins, groups, and function</title>
<updated>2022-02-25T12:45:49Z</updated>
<author>
<name>Geert Uytterhoeven</name>
</author>
<published>2022-02-21T15:43:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=384484a5091613e84e2837cc13c8c6adcdfcd01f'/>
<id>urn:sha1:384484a5091613e84e2837cc13c8c6adcdfcd01f</id>
<content type='text'>
Add pins, groups, and function for the PCIe Controllers on the Renesas
R-Car S4-8 (R8A779F0) SoC.

Extracted from a larger patch in the BSP by LUU HOAI.

Signed-off-by: Geert Uytterhoeven &lt;geert+renesas@glider.be&gt;
Reviewed-by: Yoshihiro Shimoda &lt;yoshihiro.shimoda.uh@renesas.com&gt;
Link: https://lore.kernel.org/r/b2f95db490d13e8cb7d97a63d58d47933317e28a.1645457792.git.geert+renesas@glider.be
</content>
</entry>
<entry>
<title>pinctrl: renesas: r8a779f0: Add MSIOF pins, groups, and functions</title>
<updated>2022-02-25T12:45:49Z</updated>
<author>
<name>Geert Uytterhoeven</name>
</author>
<published>2022-02-21T15:43:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8aaeadb0083018710bbb0afabab31e1342085547'/>
<id>urn:sha1:8aaeadb0083018710bbb0afabab31e1342085547</id>
<content type='text'>
Add pins, groups, and function for the Clock-Synchronized Serial
Interfaces with FIFO (MSIOF) on the Renesas R-Car S4-8 (R8A779F0) SoC.

Based on a larger patch in the BSP by LUU HOAI.

Signed-off-by: Geert Uytterhoeven &lt;geert+renesas@glider.be&gt;
Reviewed-by: Yoshihiro Shimoda &lt;yoshihiro.shimoda.uh@renesas.com&gt;
Link: https://lore.kernel.org/r/c625769714b1027a756dd2ed4a017eb24708a041.1645457792.git.geert+renesas@glider.be
</content>
</entry>
<entry>
<title>pinctrl: renesas: r8a779f0: Add MMC pins, groups, and function</title>
<updated>2022-02-25T12:45:49Z</updated>
<author>
<name>Geert Uytterhoeven</name>
</author>
<published>2022-02-21T15:43:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fe8989c6725d9d8e477ff8ccd34cff154e1eef9d'/>
<id>urn:sha1:fe8989c6725d9d8e477ff8ccd34cff154e1eef9d</id>
<content type='text'>
Add pins, groups, and function for the MMC interface on the Renesas
R-Car S4-8 (R8A779F0) SoC.

Based on a larger patch in the BSP by LUU HOAI.

Signed-off-by: Geert Uytterhoeven &lt;geert+renesas@glider.be&gt;
Reviewed-by: Yoshihiro Shimoda &lt;yoshihiro.shimoda.uh@renesas.com&gt;
Link: https://lore.kernel.org/r/81a35c1fac4616d25501942848eb9662d477f9ef.1645457792.git.geert+renesas@glider.be
</content>
</entry>
<entry>
<title>pinctrl: renesas: r8a779f0: Add INTC-EX pins, groups, and function</title>
<updated>2022-02-25T12:45:49Z</updated>
<author>
<name>Geert Uytterhoeven</name>
</author>
<published>2022-02-21T15:43:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=397416d8f95fd9c6cdd5df8dea3d3cfb8f1d150d'/>
<id>urn:sha1:397416d8f95fd9c6cdd5df8dea3d3cfb8f1d150d</id>
<content type='text'>
Add pins, groups, and function for the Interrupt Controller for External
Devices (INTC-EX) on the Renesas R-Car S4-8 (R8A779F0) SoC.

Based on a larger patch in the BSP by LUU HOAI.

Signed-off-by: Geert Uytterhoeven &lt;geert+renesas@glider.be&gt;
Reviewed-by: Yoshihiro Shimoda &lt;yoshihiro.shimoda.uh@renesas.com&gt;
Link: https://lore.kernel.org/r/dc6e25da42ac4bd19ca31b5b32b43a10a0e1aa7e.1645457792.git.geert+renesas@glider.be
</content>
</entry>
</feed>
