<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/drivers/gpio, branch v2018.09</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<entry>
<title>gpio: xilinx: Add support for using label property</title>
<updated>2018-08-07T09:03:43+00:00</updated>
<author>
<name>Michal Simek</name>
<email>michal.simek@xilinx.com</email>
</author>
<published>2018-08-02T10:58:54+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=312dd1c55cbb4f090a1f3ba25709779550c0f50c'/>
<id>312dd1c55cbb4f090a1f3ba25709779550c0f50c</id>
<content type='text'>
Add support for reading label property from DT and set up bank name
based on that. If label property is not present full device node name is
used.

Signed-off-by: Michal Simek &lt;michal.simek@xilinx.com&gt;
Reviewed-by: Stefan Herbrechtsmeier &lt;stefan@herbrechtsmeier.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add support for reading label property from DT and set up bank name
based on that. If label property is not present full device node name is
used.

Signed-off-by: Michal Simek &lt;michal.simek@xilinx.com&gt;
Reviewed-by: Stefan Herbrechtsmeier &lt;stefan@herbrechtsmeier.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>gpio: xilinx: Return 0 from xilinx_gpio_set_value</title>
<updated>2018-08-07T09:03:43+00:00</updated>
<author>
<name>Michal Simek</name>
<email>michal.simek@xilinx.com</email>
</author>
<published>2018-08-06T05:42:40+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=ac7f061398ba48904e2900f1f9df93f35f5c88c8'/>
<id>ac7f061398ba48904e2900f1f9df93f35f5c88c8</id>
<content type='text'>
.set_value functions have no specified return value and gpio_uclass is
not working with it too. But this patch is returning 0 to be in sync
with others DM gpio drivers.

Reported-by: Stefan Herbrechtsmeier &lt;stefan@herbrechtsmeier.net&gt;
Signed-off-by: Michal Simek &lt;michal.simek@xilinx.com&gt;
Reviewed-by: Stefan Herbrechtsmeier &lt;stefan@herbrechtsmeier.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
.set_value functions have no specified return value and gpio_uclass is
not working with it too. But this patch is returning 0 to be in sync
with others DM gpio drivers.

Reported-by: Stefan Herbrechtsmeier &lt;stefan@herbrechtsmeier.net&gt;
Signed-off-by: Michal Simek &lt;michal.simek@xilinx.com&gt;
Reviewed-by: Stefan Herbrechtsmeier &lt;stefan@herbrechtsmeier.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>gpio: xilinx: Not read output values via regs</title>
<updated>2018-08-07T09:03:43+00:00</updated>
<author>
<name>Michal Simek</name>
<email>michal.simek@xilinx.com</email>
</author>
<published>2018-07-23T10:40:36+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=c714aeaec19559d1b05cbb7a501000c3904b1f87'/>
<id>c714aeaec19559d1b05cbb7a501000c3904b1f87</id>
<content type='text'>
Reading registers for finding out output value is not working because
input value is read instead in case of tristate.

Reported-by: Stefan Herbrechtsmeier &lt;stefan@herbrechtsmeier.net&gt;
Signed-off-by: Michal Simek &lt;michal.simek@xilinx.com&gt;
Reviewed-by: Stefan Herbrechtsmeier &lt;stefan@herbrechtsmeier.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reading registers for finding out output value is not working because
input value is read instead in case of tristate.

Reported-by: Stefan Herbrechtsmeier &lt;stefan@herbrechtsmeier.net&gt;
Signed-off-by: Michal Simek &lt;michal.simek@xilinx.com&gt;
Reviewed-by: Stefan Herbrechtsmeier &lt;stefan@herbrechtsmeier.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>gpio: xilinx: Simplify logic in xilinx_gpio_set_value</title>
<updated>2018-08-07T09:03:43+00:00</updated>
<author>
<name>Michal Simek</name>
<email>michal.simek@xilinx.com</email>
</author>
<published>2018-07-30T12:29:27+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=642a86041228974c154dc7e250f3d1e0b8adf33f'/>
<id>642a86041228974c154dc7e250f3d1e0b8adf33f</id>
<content type='text'>
There is no reason to do read/write for if/else separately.

Reported-by: Stefan Herbrechtsmeier &lt;stefan@herbrechtsmeier.net&gt;
Signed-off-by: Michal Simek &lt;michal.simek@xilinx.com&gt;
Reviewed-by: Stefan Herbrechtsmeier &lt;stefan@herbrechtsmeier.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There is no reason to do read/write for if/else separately.

Reported-by: Stefan Herbrechtsmeier &lt;stefan@herbrechtsmeier.net&gt;
Signed-off-by: Michal Simek &lt;michal.simek@xilinx.com&gt;
Reviewed-by: Stefan Herbrechtsmeier &lt;stefan@herbrechtsmeier.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>gpio: xilinx: Set value before changing direction</title>
<updated>2018-08-07T09:03:43+00:00</updated>
<author>
<name>Michal Simek</name>
<email>michal.simek@xilinx.com</email>
</author>
<published>2018-07-30T08:02:53+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=bf2a69de81908f36a5853b36cc2afbd976856e3b'/>
<id>bf2a69de81908f36a5853b36cc2afbd976856e3b</id>
<content type='text'>
Set a value before changing gpio direction. This will ensure that the
old value is not propagated when direction has changed but new value is
not written yet.

Reported-by: Stefan Herbrechtsmeier &lt;stefan@herbrechtsmeier.net&gt;
Signed-off-by: Michal Simek &lt;michal.simek@xilinx.com&gt;
Reviewed-by: Stefan Herbrechtsmeier &lt;stefan@herbrechtsmeier.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Set a value before changing gpio direction. This will ensure that the
old value is not propagated when direction has changed but new value is
not written yet.

Reported-by: Stefan Herbrechtsmeier &lt;stefan@herbrechtsmeier.net&gt;
Signed-off-by: Michal Simek &lt;michal.simek@xilinx.com&gt;
Reviewed-by: Stefan Herbrechtsmeier &lt;stefan@herbrechtsmeier.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>gpio: xilinx: Remove !DM driver</title>
<updated>2018-08-07T09:03:43+00:00</updated>
<author>
<name>Michal Simek</name>
<email>michal.simek@xilinx.com</email>
</author>
<published>2018-07-23T11:40:01+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=6f81ff04224bd25827fd74b0f0529d62b597e741'/>
<id>6f81ff04224bd25827fd74b0f0529d62b597e741</id>
<content type='text'>
There is no user for !DM driver that's why remove it.

Signed-off-by: Michal Simek &lt;michal.simek@xilinx.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There is no user for !DM driver that's why remove it.

Signed-off-by: Michal Simek &lt;michal.simek@xilinx.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>gpio: xilinx: Find out bank before use in xilinx_gpio_get_function()</title>
<updated>2018-08-07T09:03:42+00:00</updated>
<author>
<name>Michal Simek</name>
<email>michal.simek@xilinx.com</email>
</author>
<published>2018-07-23T10:08:49+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=ddd7b3fa33a01c469c920c249e97131ab8f28ada'/>
<id>ddd7b3fa33a01c469c920c249e97131ab8f28ada</id>
<content type='text'>
Call xilinx_gpio_get_bank_pin() before use.

Reported-by: Stefan Herbrechtsmeier &lt;stefan@herbrechtsmeier.net&gt;
Signed-off-by: Michal Simek &lt;michal.simek@xilinx.com&gt;
Reviewed-by: Stefan Herbrechtsmeier &lt;stefan@herbrechtsmeier.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Call xilinx_gpio_get_bank_pin() before use.

Reported-by: Stefan Herbrechtsmeier &lt;stefan@herbrechtsmeier.net&gt;
Signed-off-by: Michal Simek &lt;michal.simek@xilinx.com&gt;
Reviewed-by: Stefan Herbrechtsmeier &lt;stefan@herbrechtsmeier.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>gpio: zynq: Used platdata structure for storing static data instead of priv</title>
<updated>2018-08-06T06:44:35+00:00</updated>
<author>
<name>Vipul Kumar</name>
<email>vipul.kumar@xilinx.com</email>
</author>
<published>2018-07-20T09:06:49+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=0f07257345b83c0db2c39d663458e380f48e7df0'/>
<id>0f07257345b83c0db2c39d663458e380f48e7df0</id>
<content type='text'>
This patch used platdata structure instead of priv for storing static
information read from DT.

Signed-off-by: Vipul Kumar &lt;vipul.kumar@xilinx.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
Signed-off-by: Michal Simek &lt;michal.simek@xilinx.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch used platdata structure instead of priv for storing static
information read from DT.

Signed-off-by: Vipul Kumar &lt;vipul.kumar@xilinx.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
Signed-off-by: Michal Simek &lt;michal.simek@xilinx.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>GPIO: CREG: improve flexibility of hsdk-creg-gpio driver</title>
<updated>2018-07-31T04:49:47+00:00</updated>
<author>
<name>Eugeniy Paltsev</name>
<email>Eugeniy.Paltsev@synopsys.com</email>
</author>
<published>2018-06-08T14:58:23+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=fe3eb7a88720fc33d92ed712c56c62cfcdffc0ca'/>
<id>fe3eb7a88720fc33d92ed712c56c62cfcdffc0ca</id>
<content type='text'>
CREG GPIO is a driver for weird soc-specific output ports, which are
controlled by some fields in memory mapped register.

Example:

31                 9        7        5           0   &lt; bit number
|                  |        |        |           |
[     not used     | gpio-1 | gpio-0 | &lt;-shift-&gt; ]   &lt; 32 bit register
                       ^        ^
                       |        |
                write 0x2 == set output to "1" (activate)
                write 0x3 == set output to "0" (deactivate)

As of tooday we only support fixed (hardcoded) bit per gpio line,
activate / deactivatei and shift values. Fix that by read them from
device tree to be able to use this driver for other boards.

Remove "hsdk" prefix from compatible string as this driver can be
used with different boards like HSDK, AXS101, AXS103, etc.

Signed-off-by: Eugeniy Paltsev &lt;Eugeniy.Paltsev@synopsys.com&gt;
Signed-off-by: Alexey Brodkin &lt;abrodkin@synopsys.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
CREG GPIO is a driver for weird soc-specific output ports, which are
controlled by some fields in memory mapped register.

Example:

31                 9        7        5           0   &lt; bit number
|                  |        |        |           |
[     not used     | gpio-1 | gpio-0 | &lt;-shift-&gt; ]   &lt; 32 bit register
                       ^        ^
                       |        |
                write 0x2 == set output to "1" (activate)
                write 0x3 == set output to "0" (deactivate)

As of tooday we only support fixed (hardcoded) bit per gpio line,
activate / deactivatei and shift values. Fix that by read them from
device tree to be able to use this driver for other boards.

Remove "hsdk" prefix from compatible string as this driver can be
used with different boards like HSDK, AXS101, AXS103, etc.

Signed-off-by: Eugeniy Paltsev &lt;Eugeniy.Paltsev@synopsys.com&gt;
Signed-off-by: Alexey Brodkin &lt;abrodkin@synopsys.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Convert CONFIG_DA8XX_GPIO to Kconfig</title>
<updated>2018-07-23T18:33:21+00:00</updated>
<author>
<name>Adam Ford</name>
<email>aford173@gmail.com</email>
</author>
<published>2018-07-10T12:01:20+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=5d653afc177f1e260c311b821801a8b6eb609c02'/>
<id>5d653afc177f1e260c311b821801a8b6eb609c02</id>
<content type='text'>
This converts the following to Kconfig:
   CONFIG_DA8XX_GPIO

Signed-off-by: Adam Ford &lt;aford173@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This converts the following to Kconfig:
   CONFIG_DA8XX_GPIO

Signed-off-by: Adam Ford &lt;aford173@gmail.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
