<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/drivers/pinctrl/uniphier, branch v2016.11</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/drivers/pinctrl/uniphier?h=v2016.11</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/drivers/pinctrl/uniphier?h=v2016.11'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2016-10-18T05:06:46Z</updated>
<entry>
<title>pinctrl: uniphier: fix unused-const-variable warnings for GCC 6.x</title>
<updated>2016-10-18T05:06:46Z</updated>
<author>
<name>Masahiro Yamada</name>
<email>yamada.masahiro@socionext.com</email>
</author>
<published>2016-10-09T14:52:57Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=935e09cdcb6d6dfa41f4cd8c8a69da52ef6850ed'/>
<id>urn:sha1:935e09cdcb6d6dfa41f4cd8c8a69da52ef6850ed</id>
<content type='text'>
Marek reports warnings in UniPhier pinctrl drivers when compiled by
GCC 6.x, like:

  drivers/pinctrl/uniphier/pinctrl-uniphier-ld20.c:58:18: warning:
  'usb3_muxvals' defined but not used [-Wunused-const-variable=]
   static const int usb3_muxvals[] = {0, 0};
                    ^~~~~~~~~~~~

My intention here is to compile minimum set of pin data for SPL to
save memory footprint, but GCC these days is clever enough to notice
unused data arrays.

We can fix it by sprinkling around __maybe_unused on those arrays,
but I did not do that because they are counterparts of the pinctrl
drivers in Linux.  All the pin data were just copy-pasted from Linux
and are kept in sync for maintainability.

I chose a bit tricky way to fix the issue; calculate ARRAY_SIZE of
*_pins and *_muxvals and set their sum to an unused struct member.
This trick will satisfy GCC because the data arrays are used anyway,
but such data arrays will be dropped from the final binary because
the pointers to them are not used.

Signed-off-by: Masahiro Yamada &lt;yamada.masahiro@socionext.com&gt;
Reported-by: Marek Vasut &lt;marex@denx.de&gt;
</content>
</entry>
<entry>
<title>pinctrl: uniphier: add UniPhier sLD3 pinctrl driver</title>
<updated>2016-09-18T14:10:17Z</updated>
<author>
<name>Masahiro Yamada</name>
<email>yamada.masahiro@socionext.com</email>
</author>
<published>2016-09-16T18:32:59Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=24572db90964fa93b721343ac405ee87f2c5ce2b'/>
<id>urn:sha1:24572db90964fa93b721343ac405ee87f2c5ce2b</id>
<content type='text'>
Add pin-mux support for UniPhier sLD3 SoC.

Signed-off-by: Masahiro Yamada &lt;yamada.masahiro@socionext.com&gt;
</content>
</entry>
<entry>
<title>pinctrl: uniphier: support 4bit-width pin-mux register capability</title>
<updated>2016-09-18T14:10:11Z</updated>
<author>
<name>Masahiro Yamada</name>
<email>yamada.masahiro@socionext.com</email>
</author>
<published>2016-09-16T18:32:58Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=bbb119800f5ce8a291d707fd1a8e753959a93fd1'/>
<id>urn:sha1:bbb119800f5ce8a291d707fd1a8e753959a93fd1</id>
<content type='text'>
On LD4 SoC or later, the pin-mux registers are 8bit wide, while 4bit
wide on sLD3 SoC.  Support it for the sLD3 pinctrl driver.

Signed-off-by: Masahiro Yamada &lt;yamada.masahiro@socionext.com&gt;
</content>
</entry>
<entry>
<title>pinctrl: uniphier: move register base macros from header to .c file</title>
<updated>2016-09-14T13:54:19Z</updated>
<author>
<name>Masahiro Yamada</name>
<email>yamada.masahiro@socionext.com</email>
</author>
<published>2016-09-13T16:06:05Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=cdc7e3cb32d5117f775268f8e9fd99d7855e70af'/>
<id>urn:sha1:cdc7e3cb32d5117f775268f8e9fd99d7855e70af</id>
<content type='text'>
These macros are only referenced in pinctrl-uniphier-core.c, so
they need not reside in a header file.

Signed-off-by: Masahiro Yamada &lt;yamada.masahiro@socionext.com&gt;
</content>
</entry>
<entry>
<title>pinctrl: uniphier: add System Bus pin-mux settings</title>
<updated>2016-09-14T13:54:19Z</updated>
<author>
<name>Masahiro Yamada</name>
<email>yamada.masahiro@socionext.com</email>
</author>
<published>2016-09-13T16:06:04Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=865a39a23f4ffba036336bb84a3c30c6fb25d89f'/>
<id>urn:sha1:865a39a23f4ffba036336bb84a3c30c6fb25d89f</id>
<content type='text'>
This is needed to get access to UniPhier System Bus (external bus).

Signed-off-by: Masahiro Yamada &lt;yamada.masahiro@socionext.com&gt;
</content>
</entry>
<entry>
<title>ARM: uniphier: use (devm_)ioremap() instead of map_sysmem()</title>
<updated>2016-07-23T15:13:10Z</updated>
<author>
<name>Masahiro Yamada</name>
<email>yamada.masahiro@socionext.com</email>
</author>
<published>2016-07-19T12:56:13Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=4e3d84066e09c9ab6cee2102db7a2c51090962a4'/>
<id>urn:sha1:4e3d84066e09c9ab6cee2102db7a2c51090962a4</id>
<content type='text'>
This does not have much impact on behavior, but makes code look more
more like Linux.  The use of devm_ioremap() often helps to delete
.remove callbacks entirely.

Signed-off-by: Masahiro Yamada &lt;yamada.masahiro@socionext.com&gt;
</content>
</entry>
<entry>
<title>pinctrl: uniphier: add Ethernet pin-mux settings</title>
<updated>2016-07-01T20:44:30Z</updated>
<author>
<name>Masahiro Yamada</name>
<email>yamada.masahiro@socionext.com</email>
</author>
<published>2016-06-29T10:39:01Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=fc9da85c6059fa204498c55c61b7dfa2ebf7fff8'/>
<id>urn:sha1:fc9da85c6059fa204498c55c61b7dfa2ebf7fff8</id>
<content type='text'>
Signed-off-by: Masahiro Yamada &lt;yamada.masahiro@socionext.com&gt;
</content>
</entry>
<entry>
<title>pinctrl: uniphier: avoid building unneeded pin-mux tables for SPL</title>
<updated>2016-07-01T20:44:30Z</updated>
<author>
<name>Masahiro Yamada</name>
<email>yamada.masahiro@socionext.com</email>
</author>
<published>2016-06-29T10:39:00Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=64c1cc4cc5f72f480787bf493a5ebb0696d68bc0'/>
<id>urn:sha1:64c1cc4cc5f72f480787bf493a5ebb0696d68bc0</id>
<content type='text'>
SPL does not use all of the devices, so we can save some memory
footprint.

Signed-off-by: Masahiro Yamada &lt;yamada.masahiro@socionext.com&gt;
</content>
</entry>
<entry>
<title>pinctrl: uniphier: support pin configuration for dedicated pins</title>
<updated>2016-07-01T20:44:29Z</updated>
<author>
<name>Masahiro Yamada</name>
<email>yamada.masahiro@socionext.com</email>
</author>
<published>2016-06-29T10:38:59Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=5e25b9d5d90205ce9531677e362e9dd9359963b3'/>
<id>urn:sha1:5e25b9d5d90205ce9531677e362e9dd9359963b3</id>
<content type='text'>
PH1-LD4 and PH1-sLD8 SoCs have pins that support pin configuration
(pin biasing, drive strength control), but not pin-muxing.

Allow to fill the mux value table with -1 for those pins; pins with
mux value -1 will be skipped in the pin-mux set function.  The mux
value type should be changed from "unsigned" to "int" in order to
accommodate -1 as a special case.

[ Linux commit: 363c90e743b50a432a91a211dd8b078d9df446e9 ]

Signed-off-by: Masahiro Yamada &lt;yamada.masahiro@socionext.com&gt;
</content>
</entry>
<entry>
<title>pinctrl: uniphier: split pinctrl driver for PH1-LD11 and PH1-LD20</title>
<updated>2016-07-01T20:44:29Z</updated>
<author>
<name>Masahiro Yamada</name>
<email>yamada.masahiro@socionext.com</email>
</author>
<published>2016-06-29T10:38:58Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=3379987e26956d9eab668a0811a0f0a9a056754f'/>
<id>urn:sha1:3379987e26956d9eab668a0811a0f0a9a056754f</id>
<content type='text'>
PH1-LD11 and PH1-LD20 have much pin controlling in common, so I
added a single driver shared between them in the initial commit.

However, the Ethernet pin-mux settings I am going to add are
different with each other, and they may diverge more as the
progress of development.  Split it into two dedicated drivers.

Signed-off-by: Masahiro Yamada &lt;yamada.masahiro@socionext.com&gt;
</content>
</entry>
</feed>
