<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/pinctrl/samsung, 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-04-21T06:58:54Z</updated>
<entry>
<title>pinctrl: samsung: fix missing GPIOLIB on ARM64 Exynos config</title>
<updated>2022-04-21T06:58:54Z</updated>
<author>
<name>Krzysztof Kozlowski</name>
</author>
<published>2022-04-20T14:14:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ac875df4d854ab13d9c4af682a1837a1214fecec'/>
<id>urn:sha1:ac875df4d854ab13d9c4af682a1837a1214fecec</id>
<content type='text'>
The Samsung pinctrl drivers depend on OF_GPIO, which is part of GPIOLIB.
ARMv7 Exynos platform selects GPIOLIB and Samsung pinctrl drivers. ARMv8
Exynos selects only the latter leading to possible wrong configuration
on ARMv8 build:

  WARNING: unmet direct dependencies detected for PINCTRL_EXYNOS
    Depends on [n]: PINCTRL [=y] &amp;&amp; OF_GPIO [=n] &amp;&amp; (ARCH_EXYNOS [=y] || ARCH_S5PV210 || COMPILE_TEST [=y])
    Selected by [y]:
    - ARCH_EXYNOS [=y]

Always select the GPIOLIB from the Samsung pinctrl drivers to fix the
issue.  This requires removing of OF_GPIO dependency (to avoid recursive
dependency), so add dependency on OF for COMPILE_TEST cases.

Reported-by: Necip Fazil Yildiran &lt;fazilyildiran@gmail.com&gt;
Fixes: eed6b3eb20b9 ("arm64: Split out platform options to separate Kconfig")
Cc: &lt;stable@vger.kernel.org&gt;
Signed-off-by: Krzysztof Kozlowski &lt;krzysztof.kozlowski@linaro.org&gt;
Reviewed-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
Link: https://lore.kernel.org/r/20220420141407.470955-1-krzysztof.kozlowski@linaro.org
</content>
</entry>
<entry>
<title>pinctrl: samsung: staticize fsd_pin_ctrl</title>
<updated>2022-04-04T16:58:26Z</updated>
<author>
<name>Krzysztof Kozlowski</name>
</author>
<published>2022-03-31T19:45:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=abb860ac7e3f022a233f34b12d035d49abfc114d'/>
<id>urn:sha1:abb860ac7e3f022a233f34b12d035d49abfc114d</id>
<content type='text'>
struct fsd_pin_ctrl is not used outside of the file, so it can be made
static.  This fixes sparse warning:

  drivers/pinctrl/samsung/pinctrl-exynos-arm64.c:773:31: sparse:
    symbol 'fsd_pin_ctrl' was not declared. Should it be static?

Reported-by: kernel test robot &lt;lkp@intel.com&gt;
Fixes: 0d1b662c374c ("pinctrl: samsung: add FSD SoC specific data")
Signed-off-by: Krzysztof Kozlowski &lt;krzysztof.kozlowski@linaro.org&gt;
Reviewed-by: Alim Akhtar &lt;alim.akhtar@samsung.com&gt;
Link: https://lore.kernel.org/r/20220331194526.52444-1-krzysztof.kozlowski@linaro.org
</content>
</entry>
<entry>
<title>pinctrl: samsung: improve wake irq info on console</title>
<updated>2022-02-01T08:13:30Z</updated>
<author>
<name>Martin Jücker</name>
</author>
<published>2022-01-30T23:21:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3652dc070bad335d6feb31402bb4ab1ad58d5cb6'/>
<id>urn:sha1:3652dc070bad335d6feb31402bb4ab1ad58d5cb6</id>
<content type='text'>
Improve the wake irq message by also printing the bank name and hwirq
number that matches this irq number.

Signed-off-by: Martin Jücker &lt;martin.juecker@gmail.com&gt;
Link: https://lore.kernel.org/r/20220130232122.GA119248@adroid
Signed-off-by: Krzysztof Kozlowski &lt;krzysztof.kozlowski@canonical.com&gt;
</content>
</entry>
<entry>
<title>pinctrl: samsung: add FSD SoC specific data</title>
<updated>2022-01-25T17:08:57Z</updated>
<author>
<name>Alim Akhtar</name>
</author>
<published>2022-01-24T14:16:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0d1b662c374c54bcf68bbcff3b71e6d6e945a7cf'/>
<id>urn:sha1:0d1b662c374c54bcf68bbcff3b71e6d6e945a7cf</id>
<content type='text'>
Adds Tesla FSD SoC specific data to enable pinctrl.
FSD SoC has similar pinctrl controller as found in the most
Samsung/Exynos SoCs.

Cc: linux-fsd@tesla.com
Acked-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
Signed-off-by: Ajay Kumar &lt;ajaykumar.rs@samsung.com&gt;
Signed-off-by: Alim Akhtar &lt;alim.akhtar@samsung.com&gt;
Link: https://lore.kernel.org/r/20220124141644.71052-13-alim.akhtar@samsung.com
Signed-off-by: Krzysztof Kozlowski &lt;krzysztof.kozlowski@canonical.com&gt;
</content>
</entry>
<entry>
<title>pinctrl: samsung: add support for Exynos850 and ExynosAutov9 wake-ups</title>
<updated>2022-01-23T11:21:56Z</updated>
<author>
<name>Krzysztof Kozlowski</name>
</author>
<published>2022-01-11T20:17:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=832ae134ccc1c78a2f5ec81b7010dd24c3c49535'/>
<id>urn:sha1:832ae134ccc1c78a2f5ec81b7010dd24c3c49535</id>
<content type='text'>
It seems that newer ARMv8 Exynos SoC like Exynos850 and
ExynosAutov9 have differences of their pin controller node capable of
external wake-up interrupts:
1. No multiplexed external wake-up interrupt, only direct,
2. More than one pin controller capable of external wake-up interrupts.

Add support for dedicated Exynos850 and ExynosAutov9 compatibles.

Signed-off-by: Krzysztof Kozlowski &lt;krzysztof.kozlowski@canonical.com&gt;
Reviewed-by: Sam Protsenko &lt;semen.protsenko@linaro.org&gt;
Reviewed-by: Chanho Park &lt;chanho61.park@samsung.com&gt;
Tested-by: Chanho Park &lt;chanho61.park@samsung.com&gt;
Link: https://lore.kernel.org/r/20220111201722.327219-20-krzysztof.kozlowski@canonical.com
</content>
</entry>
<entry>
<title>pinctrl: samsung: accept GPIO bank nodes with a suffix</title>
<updated>2022-01-23T11:21:56Z</updated>
<author>
<name>Krzysztof Kozlowski</name>
</author>
<published>2022-01-11T20:14:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a29681b0cc3778c9ff6abdbcad579cba776dbb81'/>
<id>urn:sha1:a29681b0cc3778c9ff6abdbcad579cba776dbb81</id>
<content type='text'>
Existing dt-bindings expected that each GPIO/pin bank within pin
controller has its own node with name matching the bank (e.g. gpa0,
gpx2) and "gpio-controller" property.  The node name is then used for
matching between driver data and DTS.

Newly introduced dtschema expects to have nodes ending with "-gpio-bank"
suffix, so rewrite bank-devicetree matching to look for old and new
style of naming.

Signed-off-by: Krzysztof Kozlowski &lt;krzysztof.kozlowski@canonical.com&gt;
Reviewed-by: Sam Protsenko &lt;semen.protsenko@linaro.org&gt;
Link: https://lore.kernel.org/r/20220111201426.326777-3-krzysztof.kozlowski@canonical.com
</content>
</entry>
<entry>
<title>pinctrl: samsung: Remove EINT handler for Exynos850 ALIVE and CMGP gpios</title>
<updated>2022-01-23T11:21:56Z</updated>
<author>
<name>Sam Protsenko</name>
</author>
<published>2022-01-14T20:37:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=96f79935015cf3d7ca6fabf63cd13b8af45a7713'/>
<id>urn:sha1:96f79935015cf3d7ca6fabf63cd13b8af45a7713</id>
<content type='text'>
GPIO_ALIVE and GPIO_CMGP blocks in Exynos850 SoC don't have EINT
capabilities (like EINT_SVC register), and there are no corresponding
interrupts wired to GIC. Instead those blocks have wake-up interrupts
for each pin. The ".eint_gpio_init" callbacks were specified by mistake
for these blocks, when porting pinctrl code from downstream kernel. That
leads to error messages like this:

    samsung-pinctrl 11850000.pinctrl: irq number not available

Remove ".eint_gpio_init" for pinctrl_alive and pinctrl_gpmc to fix this
error. This change doesn't affect proper interrupt handling for related
pins, as all those pins are handled in ".eint_wkup_init".

Fixes: cdd3d945dcec ("pinctrl: samsung: Add Exynos850 SoC specific data")
Signed-off-by: Sam Protsenko &lt;semen.protsenko@linaro.org&gt;
Link: https://lore.kernel.org/r/20220114203757.4860-1-semen.protsenko@linaro.org
Signed-off-by: Krzysztof Kozlowski &lt;krzysztof.kozlowski@canonical.com&gt;
</content>
</entry>
<entry>
<title>pinctrl: samsung: drop pin banks references on error paths</title>
<updated>2022-01-23T11:21:56Z</updated>
<author>
<name>Krzysztof Kozlowski</name>
</author>
<published>2022-01-11T20:13:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=50ebd19e3585b9792e994cfa8cbee8947fe06371'/>
<id>urn:sha1:50ebd19e3585b9792e994cfa8cbee8947fe06371</id>
<content type='text'>
The driver iterates over its devicetree children with
for_each_child_of_node() and stores for later found node pointer.  This
has to be put in error paths to avoid leak during re-probing.

Fixes: ab663789d697 ("pinctrl: samsung: Match pin banks with their device nodes")
Cc: &lt;stable@vger.kernel.org&gt;
Signed-off-by: Krzysztof Kozlowski &lt;krzysztof.kozlowski@canonical.com&gt;
Reviewed-by: Sam Protsenko &lt;semen.protsenko@linaro.org&gt;
Reviewed-by: Chanho Park &lt;chanho61.park@samsung.com&gt;
Link: https://lore.kernel.org/r/20220111201426.326777-2-krzysztof.kozlowski@canonical.com
</content>
</entry>
<entry>
<title>pinctrl: samsung: Use platform_get_irq_optional() to get the interrupt</title>
<updated>2021-12-25T10:18:06Z</updated>
<author>
<name>Lad Prabhakar</name>
</author>
<published>2021-12-24T14:57:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a382d568f144b9e533ad210117c6c50d8dbdcaf1'/>
<id>urn:sha1:a382d568f144b9e533ad210117c6c50d8dbdcaf1</id>
<content type='text'>
platform_get_resource(pdev, IORESOURCE_IRQ, ..) relies on static
allocation of IRQ resources in DT core code, this causes an issue
when using hierarchical interrupt domains using "interrupts" property
in the node as this bypasses the hierarchical setup and messes up the
irq chaining.

In preparation for removal of static setup of IRQ resource from DT core
code use platform_get_irq_optional().

Signed-off-by: Lad Prabhakar &lt;prabhakar.mahadev-lad.rj@bp.renesas.com&gt;
Link: https://lore.kernel.org/r/20211224145748.18754-2-prabhakar.mahadev-lad.rj@bp.renesas.com
Signed-off-by: Krzysztof Kozlowski &lt;krzysztof.kozlowski@canonical.com&gt;
</content>
</entry>
<entry>
<title>pinctrl: samsung: Make symbol 'exynos7885_pin_ctrl' static</title>
<updated>2021-11-23T08:36:26Z</updated>
<author>
<name>Wei Yongjun</name>
</author>
<published>2021-11-23T08:36:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=16dd3bb5c190654854c0846ee433076139f71c6a'/>
<id>urn:sha1:16dd3bb5c190654854c0846ee433076139f71c6a</id>
<content type='text'>
The sparse tool complains as follows:

drivers/pinctrl/samsung/pinctrl-exynos-arm64.c:490:31: warning:
 symbol 'exynos7885_pin_ctrl' was not declared. Should it be static?

This symbol is not used outside of pinctrl-exynos-arm64.c, so marks
it static.

Fixes: b0ef7b1a7a07 ("pinctrl: samsung: Add Exynos7885 SoC specific data")
Signed-off-by: Wei Yongjun &lt;weiyongjun1@huawei.com&gt;
Link: https://lore.kernel.org/r/20211123083617.2366756-1-weiyongjun1@huawei.com
Signed-off-by: Krzysztof Kozlowski &lt;krzysztof.kozlowski@canonical.com&gt;
</content>
</entry>
</feed>
