<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/drivers/pinctrl/exynos, branch v2024.04</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/drivers/pinctrl/exynos?h=v2024.04</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/drivers/pinctrl/exynos?h=v2024.04'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2024-01-24T02:23:20Z</updated>
<entry>
<title>pinctrl: exynos: Add pinctrl support for Exynos850</title>
<updated>2024-01-24T02:23:20Z</updated>
<author>
<name>Sam Protsenko</name>
<email>semen.protsenko@linaro.org</email>
</author>
<published>2024-01-11T03:09:05Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=f09a355d178af276a7c914dec12ce0485de124ae'/>
<id>urn:sha1:f09a355d178af276a7c914dec12ce0485de124ae</id>
<content type='text'>
Add pinctrl support for Exynos850 SoC. It was mostly extracted from
corresponding Linux kernel code [1]. Power down modes and external
interrupt data were removed while converting the code for U-Boot, but
everything else was kept almost unchanged.

[1] drivers/pinctrl/samsung/pinctrl-exynos-arm64.c

Signed-off-by: Sam Protsenko &lt;semen.protsenko@linaro.org&gt;
Reviewed-by: Chanho Park &lt;chanho61.park@samsung.com&gt;
Signed-off-by: Minkyu Kang &lt;mk7.kang@samsung.com&gt;
</content>
</entry>
<entry>
<title>pinctrl: exynos: Convert to use livetree API for fdt access</title>
<updated>2024-01-09T15:59:28Z</updated>
<author>
<name>Sam Protsenko</name>
<email>semen.protsenko@linaro.org</email>
</author>
<published>2023-11-30T20:13:52Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=5bf111b77c8d819fd5e30734b72c5f70518d690d'/>
<id>urn:sha1:5bf111b77c8d819fd5e30734b72c5f70518d690d</id>
<content type='text'>
Use counterpart dev_read_* functions instead of fdt* ones. It fixes
checkpatch warnings like this:

    WARNING: Use the livetree API (dev_read_...)
    #54: FILE: drivers/pinctrl/exynos/pinctrl-exynos.c:137:
        pinvals[idx] = fdtdec_get_int(fdt, node,

and also makes it possible to avoid using the global data pointer in the
driver.

No functional change.

Signed-off-by: Sam Protsenko &lt;semen.protsenko@linaro.org&gt;
Signed-off-by: Minkyu Kang &lt;mk7.kang@samsung.com&gt;
</content>
</entry>
<entry>
<title>pinctrl: exynos: Reduce variables scope</title>
<updated>2024-01-09T15:59:28Z</updated>
<author>
<name>Sam Protsenko</name>
<email>semen.protsenko@linaro.org</email>
</author>
<published>2023-11-30T20:13:51Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=da06fefcef7bf1d985338f08810e90c7f504bfad'/>
<id>urn:sha1:da06fefcef7bf1d985338f08810e90c7f504bfad</id>
<content type='text'>
Pull some variables declared in exynos_pinctrl_set_state() into its
loop, to reduce their scope. Style commit, no functional change.

Signed-off-by: Sam Protsenko &lt;semen.protsenko@linaro.org&gt;
Signed-off-by: Minkyu Kang &lt;mk7.kang@samsung.com&gt;
</content>
</entry>
<entry>
<title>pinctrl: exynos: Refactor handling the pin related dt properties</title>
<updated>2024-01-09T15:59:28Z</updated>
<author>
<name>Sam Protsenko</name>
<email>semen.protsenko@linaro.org</email>
</author>
<published>2023-11-30T20:13:50Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=aad0f6abf113a691b0c0472a26fef6b560d30abf'/>
<id>urn:sha1:aad0f6abf113a691b0c0472a26fef6b560d30abf</id>
<content type='text'>
All pin related dt properties (pin-function, pin-pud and pin-drv) are
handled in a very similar way. Get rid of that code duplication by
extracting the corresponding data knowledge into an actual data
structure (array), and then just iterating over it.

No functional change, it's a refactoring commit.

Signed-off-by: Sam Protsenko &lt;semen.protsenko@linaro.org&gt;
Signed-off-by: Minkyu Kang &lt;mk7.kang@samsung.com&gt;
</content>
</entry>
<entry>
<title>pinctrl: exynos: Support different register types in pin banks</title>
<updated>2024-01-09T15:59:28Z</updated>
<author>
<name>Sam Protsenko</name>
<email>semen.protsenko@linaro.org</email>
</author>
<published>2023-11-30T20:13:49Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=2ed4ba83fb8a1e32a91f4d289069a33d390f532b'/>
<id>urn:sha1:2ed4ba83fb8a1e32a91f4d289069a33d390f532b</id>
<content type='text'>
Get rid of hard-coded register offsets and widths. Instead provide a way
for pinctrl drivers to specify different pin bank register offsets and
widths. This in turn makes it possible to add support for new SoCs that
have registers with offset/width values different than generic ones
already available in pinctrl-exynos driver.

Offset constants (now unused in pinctrl-exynos.c) are moved to
pinctrl-exynos7420 driver, which is the single user of those constants.

The design of this patch follows Linux kernel pinctrl-exynos driver
design, in terms of added data structures and types. This patch doesn't
add support for any new SoCs and shouldn't introduce any functional
changes.

Signed-off-by: Sam Protsenko &lt;semen.protsenko@linaro.org&gt;
Signed-off-by: Minkyu Kang &lt;mk7.kang@samsung.com&gt;
</content>
</entry>
<entry>
<title>pinctrl: exynos: Rework pin_to_bank_base() to obtain data by name</title>
<updated>2024-01-09T15:59:28Z</updated>
<author>
<name>Sam Protsenko</name>
<email>semen.protsenko@linaro.org</email>
</author>
<published>2023-11-30T20:13:48Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=2dfcb250d03a1014ce6a2648985b8216bd1d5207'/>
<id>urn:sha1:2dfcb250d03a1014ce6a2648985b8216bd1d5207</id>
<content type='text'>
Rework pin_to_bank_base() function to obtain bank data structure by bank
name instead of getting bank base address by pin name, and rename it to
get_bank() to reflect this change. This in turn leads to the extraction
of parse_pin(), so the caller has to use it before calling get_bank().

No functional change. This is a refactoring commit which prepares
pinctrl driver code for handling different sizes of register fields,
which will be added next.

Signed-off-by: Sam Protsenko &lt;semen.protsenko@linaro.org&gt;
Signed-off-by: Minkyu Kang &lt;mk7.kang@samsung.com&gt;
</content>
</entry>
<entry>
<title>pinctrl: exynos: Extract pin parsing code into a separate function</title>
<updated>2024-01-09T15:59:28Z</updated>
<author>
<name>Sam Protsenko</name>
<email>semen.protsenko@linaro.org</email>
</author>
<published>2023-11-30T20:13:47Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=58e84bf3d7fac6300790940176c6edf457c8fd88'/>
<id>urn:sha1:58e84bf3d7fac6300790940176c6edf457c8fd88</id>
<content type='text'>
Next commits are going to re-design the pin_to_bank_base() function and
its usage in a way that the pin parsing code will be called separately.
Extract it into a separate function first, as a refactoring commit.

No functional change.

Signed-off-by: Sam Protsenko &lt;semen.protsenko@linaro.org&gt;
Signed-off-by: Minkyu Kang &lt;mk7.kang@samsung.com&gt;
</content>
</entry>
<entry>
<title>pinctrl: exynos: Improve coding style</title>
<updated>2024-01-09T15:59:28Z</updated>
<author>
<name>Sam Protsenko</name>
<email>semen.protsenko@linaro.org</email>
</author>
<published>2023-11-30T20:13:46Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=7b34206e3fada9c86c5737955f9af9699f34c2b4'/>
<id>urn:sha1:7b34206e3fada9c86c5737955f9af9699f34c2b4</id>
<content type='text'>
Style commit, no functional change.

Signed-off-by: Sam Protsenko &lt;semen.protsenko@linaro.org&gt;
Signed-off-by: Minkyu Kang &lt;mk7.kang@samsung.com&gt;
</content>
</entry>
<entry>
<title>exynos: fix header inclusion guard</title>
<updated>2023-05-31T16:31:47Z</updated>
<author>
<name>Andre Przywara</name>
<email>andre.przywara@arm.com</email>
</author>
<published>2023-05-15T13:52:13Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=081b160aa399f78e2bee54e4b59bd62862b22b68'/>
<id>urn:sha1:081b160aa399f78e2bee54e4b59bd62862b22b68</id>
<content type='text'>
It seems like the header inclusion guard for the Exynos pinctrl header
was misspelled.

Make the preprocessor symbol for the #ifndef and #define lines the
same, so that the double inclusion protection works as expected.

Signed-off-by: Andre Przywara &lt;andre.przywara@arm.com&gt;
Reviewed-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
</entry>
<entry>
<title>exynos78x0: pinctrl: set const to structs</title>
<updated>2021-11-09T05:07:46Z</updated>
<author>
<name>Minkyu Kang</name>
<email>mk7.kang@samsung.com</email>
</author>
<published>2021-11-04T07:13:15Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=2b77d9a3ee92604bc5ec98f95c6d453dd4e1493a'/>
<id>urn:sha1:2b77d9a3ee92604bc5ec98f95c6d453dd4e1493a</id>
<content type='text'>
to fix following checkpatch warings.
WARNING: struct  should normally be const

Signed-off-by: Minkyu Kang &lt;mk7.kang@samsung.com&gt;
Cc: Dzmitry Sankouski &lt;dsankouski@gmail.com&gt;
Reviewed-by: Jaehoon Chung &lt;jh80.chung@samsung.com&gt;
</content>
</entry>
</feed>
