<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/linux.git/arch/arm/boot/dts/sun4i-a10-pcduino.dts, branch linux-4.4.y</title>
<subtitle>Linux kernel stable tree (mirror)</subtitle>
<id>https://git.radix-linux.su/kernel/linux.git/atom?h=linux-4.4.y</id>
<link rel='self' href='https://git.radix-linux.su/kernel/linux.git/atom?h=linux-4.4.y'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/'/>
<updated>2015-10-11T17:06:22+00:00</updated>
<entry>
<title>ARM: dts: sun4i: Enable USB DRC on pcDuino1/2</title>
<updated>2015-10-11T17:06:22+00:00</updated>
<author>
<name>Siarhei Siamashka</name>
<email>siarhei.siamashka@gmail.com</email>
</author>
<published>2015-10-09T11:09:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=5d0c8b190a109e2ef17025aa0b341787ccddfc25'/>
<id>urn:sha1:5d0c8b190a109e2ef17025aa0b341787ccddfc25</id>
<content type='text'>
Enable the otg/drc usb controller on the pcDuino1/2 board. Note
that the pcDuino1 FEX file from the vendor contains the following
information in the [usbc0] section:
    usb_id_gpio = port:PH04&lt;0&gt;&lt;1&gt;&lt;default&gt;&lt;default&gt;
    usb_det_vbus_gpio = port:PH05&lt;0&gt;&lt;0&gt;&lt;default&gt;&lt;default&gt;
    usb_drv_vbus_gpio = port:PB09&lt;1&gt;&lt;0&gt;&lt;default&gt;&lt;0&gt;
While the pcDuino2 FEX has:
    usb_id_gpio = port:PH04&lt;0&gt;&lt;1&gt;&lt;default&gt;&lt;default&gt;
    usb_det_vbus_gpio = port:PH05&lt;0&gt;&lt;0&gt;&lt;default&gt;&lt;default&gt;
    usb_drv_vbus_gpio = port:PD02&lt;1&gt;&lt;0&gt;&lt;default&gt;&lt;0&gt;

The ID pin is indeed PH4. The PD2 pin can be used to switch power
on/off for the USB Type A receptacle on pcDuino2, but it has nothing
to do with the MicroUSB OTG receptacle. The VBUS pin of the MicroUSB
receptacle is always connected to 5V according to the schematics
(both pcDuino1 and pcDuino2) and confirmed by doing some tests on
pcDuino2. The PH5 pin is just one of the pins on the J8 expansion
header and has nothing to do with USB OTG. The PB9 pin is pulled
up and connected to the N_VBUSEN pin of AXP209 PMIC, while the
VBUS pin of AXP209 only has a capacitor between it and the
ground (this pin is not used for anything else).

To sum it up. Only the ID pin (PH4) has a real use. And 5V voltage
is always served to the MicroUSB OTG receptacle no matter what is
the state of the PB9/PD2 pins.

This patch has been tested on pcDuino2 to work fine in a host role
with a USB keyboard connected via an OTG cable. It also works fine
in a device role (cdc_ether) with a regular Micro-B cable connected
to a desktop PC.

Signed-off-by: Siarhei Siamashka &lt;siarhei.siamashka@gmail.com&gt;
Signed-off-by: Maxime Ripard &lt;maxime.ripard@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>ARM: dts: sun4i: Allow to use the PH6 pin for GPIO on pcDuino1/2</title>
<updated>2015-10-11T16:47:42+00:00</updated>
<author>
<name>Siarhei Siamashka</name>
<email>siarhei.siamashka@gmail.com</email>
</author>
<published>2015-10-09T11:09:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=96521b72005feb41dfd014aced0ee6fba3ac0f58'/>
<id>urn:sha1:96521b72005feb41dfd014aced0ee6fba3ac0f58</id>
<content type='text'>
The pcDuino1 board does not use any power switches at all for its
two USB host ports and the VBUS pins are always connected to 5V.

The pcDuino2 board uses the RT9701GB power switch for its single
USB host port, but the USB_EN pin (PD2) is pulled up with a 10K
resistor. So that the USB power is still enabled by default,
resulting in the same behaviour as pcDuino1 if nobody touches
the PD2 pin. This minor difference is going to be handled in a
follow-up patch, introducing a separate dts file for pcDuino2.

The primary reason for this fix is that the current dts file
unnecessarily meddles with the PH3 and PH6 pins. But the PH6 pin
is available on the Arduino-compatible expansion header and may
have a better use for other purposes. This patch fixes the
problem and now the PH6 pin can be used with the GPIO sysfs
interface. Tested on a pcDuino2 board with a multimeter:

    echo 230 &gt; /sys/class/gpio/export
    echo "out" &gt; /sys/class/gpio/gpio230/direction
    echo 0 &gt; /sys/class/gpio/gpio230/value
    echo 1 &gt; /sys/class/gpio/gpio230/value

USB still works as expected too.

Signed-off-by: Siarhei Siamashka &lt;siarhei.siamashka@gmail.com&gt;
Signed-off-by: Maxime Ripard &lt;maxime.ripard@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>ARM: dts: sun4i: Add AXP209 PMU regulators for pcDuino1/2</title>
<updated>2015-10-05T12:56:11+00:00</updated>
<author>
<name>Siarhei Siamashka</name>
<email>siarhei.siamashka@gmail.com</email>
</author>
<published>2015-10-04T18:58:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=a2f1a680115c527972ead1b89de4a31176d3c2c6'/>
<id>urn:sha1:a2f1a680115c527972ead1b89de4a31176d3c2c6</id>
<content type='text'>
This allows voltage-scaling with cpufreq-dt. The reliability of
voltage-scaling has been checked by reducing the voltage of all
operating points by 0.025V (for extra safety headroom) and running
libjpeg-turbo decoding tests on 5 pcDuino2 boards. It means that
the standard sun4i voltages should be perfectly fine too.

Signed-off-by: Siarhei Siamashka &lt;siarhei.siamashka@gmail.com&gt;
Signed-off-by: Maxime Ripard &lt;maxime.ripard@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>ARM: dts: sun4i: Add A10 SRAM and SRAM controller</title>
<updated>2015-06-01T09:13:26+00:00</updated>
<author>
<name>Maxime Ripard</name>
<email>maxime.ripard@free-electrons.com</email>
</author>
<published>2015-03-26T14:53:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=1fbc15175df040884cb58d73a8e4198f00891cd4'/>
<id>urn:sha1:1fbc15175df040884cb58d73a8e4198f00891cd4</id>
<content type='text'>
The A10 has a few SRAM that can be mapped either to a device or to the CPU,
with the mapping being controlled by a SRAM controller.

Add the SRAM controller, the SRAM that it drives and the section that can
be used by the various devices.

Signed-off-by: Maxime Ripard &lt;maxime.ripard@free-electrons.com&gt;
Acked-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
Acked-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
Tested-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
</content>
</entry>
<entry>
<title>ARM: sunxi: dt: Remove the FSF address</title>
<updated>2015-05-10T08:22:23+00:00</updated>
<author>
<name>Maxime Ripard</name>
<email>maxime.ripard@free-electrons.com</email>
</author>
<published>2015-05-03T08:01:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=c0c2eb247606d8b43386af55b4744fed3f2c0a7b'/>
<id>urn:sha1:c0c2eb247606d8b43386af55b4744fed3f2c0a7b</id>
<content type='text'>
The FSF address triggers a warning on checkpatch, saying that the FSF
license is already present in the Linux source code, and that it has
already changed in the past.

Remove it from our DT, as suggested.

Signed-off-by: Maxime Ripard &lt;maxime.ripard@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>ARM: sunxi: DT: Add stdout-path property</title>
<updated>2015-04-27T06:20:30+00:00</updated>
<author>
<name>Maxime Ripard</name>
<email>maxime.ripard@free-electrons.com</email>
</author>
<published>2015-03-15T19:47:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=59ebbe88a6431d0bd99c792f413ecf69273f2e9d'/>
<id>urn:sha1:59ebbe88a6431d0bd99c792f413ecf69273f2e9d</id>
<content type='text'>
Add UART aliases and stdout-path property for all the Allwinner boards so that
we won't have to rely on the bootargs' console= value, while working with
legacy bootloaders.

While we're at it, also remove the mentions of earlyprintk in the bootargs,
that will remove our default bootargs entirely, and allow the kernel to boot on
a system even if DEBUG_LL is configured for another system.

Signed-off-by: Maxime Ripard &lt;maxime.ripard@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>ARM: sun4i: pcduino: Convert to DT label based syntax</title>
<updated>2015-04-27T06:20:20+00:00</updated>
<author>
<name>Maxime Ripard</name>
<email>maxime.ripard@free-electrons.com</email>
</author>
<published>2015-01-31T11:11:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=5e8773694937784003216bd147d5dd969e2cd091'/>
<id>urn:sha1:5e8773694937784003216bd147d5dd969e2cd091</id>
<content type='text'>
In order to lessen the amount of duplication of the DT tree, ease the
new and follow the trend that prefers to use label based references
when overriding DTSI nodes, convert the board to this syntax

Signed-off-by: Maxime Ripard &lt;maxime.ripard@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>ARM: dts: pcduino: Enable user LED and button support for pcDuino</title>
<updated>2015-01-21T08:59:08+00:00</updated>
<author>
<name>Zoltan HERPAI</name>
<email>wigyori@uid0.hu</email>
</author>
<published>2015-01-08T09:34:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=e721a2871620735922c2dd6cfe4c6b1b1d4ed81f'/>
<id>urn:sha1:e721a2871620735922c2dd6cfe4c6b1b1d4ed81f</id>
<content type='text'>
The pcDuino board has LEDs connected to PH15/PH16, and back/home/menu
buttons to PH17/18/19 respectively. Enable these via gpio-leds and
gpio-keys. This is shared across the v1 and v2 versions of the board.

Tested on a v2 and verified against the schematics of a v1.

Signed-off-by: Zoltan HERPAI &lt;wigyori@uid0.hu&gt;
Acked-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
[Maxime: Added some newlines between the button nodes]
Signed-off-by: Maxime Ripard &lt;maxime.ripard@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>ARM: sunxi: DT: convert DTs to use common GPIOs includes</title>
<updated>2015-01-21T08:58:56+00:00</updated>
<author>
<name>Maxime Ripard</name>
<email>maxime.ripard@free-electrons.com</email>
</author>
<published>2014-12-16T21:59:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=bca12924f09dc03f2bda3b3e39408fee920a343b'/>
<id>urn:sha1:bca12924f09dc03f2bda3b3e39408fee920a343b</id>
<content type='text'>
Replace the various raw GPIO flags by their definition in the common
dt-bindings header.

Signed-off-by: Maxime Ripard &lt;maxime.ripard@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>ARM: sunxi: DT: Convert to device tree includes</title>
<updated>2015-01-21T08:58:55+00:00</updated>
<author>
<name>Maxime Ripard</name>
<email>maxime.ripard@free-electrons.com</email>
</author>
<published>2014-12-16T21:59:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=7145570159fb20654b507026a8e388f739fffa5c'/>
<id>urn:sha1:7145570159fb20654b507026a8e388f739fffa5c</id>
<content type='text'>
Prepare the device trees to use the C preprocessor.

Signed-off-by: Maxime Ripard &lt;maxime.ripard@free-electrons.com&gt;
</content>
</entry>
</feed>
