]> git.karo-electronics.de Git - linux-beck.git/log
linux-beck.git
9 years agoARM: dts: sun8i-a33: Add dts for Sinlinx SinA33 development board.
Chen-Yu Tsai [Tue, 2 Jun 2015 10:04:03 +0000 (18:04 +0800)]
ARM: dts: sun8i-a33: Add dts for Sinlinx SinA33 development board.

The SinA33 is a core/SDK development board by Sinlinx. The core board
does not have any connectors or pads, other than the pads used to connect
it to the SDK board.

The core board only has the A33 SoC, 2 RAM chips, an eMMC flash chip,
the AXP223 PMIC, and supporting discrete components. eMMC is optional.

The SDK board has a USB host, USB OTG, volume control and home buttons,
audio input/output jacks, a micro-SD slot, camera and SDIO expansion
headers, an LCD connector, and a GPIO expansion header, which has
UARTs, MIPI DSI and I2C available. Only UART0 is enabled though.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: dts: sun8i-a33: Add pinmux setting for uart0 on PB pins
Chen-Yu Tsai [Tue, 2 Jun 2015 10:04:02 +0000 (18:04 +0800)]
ARM: dts: sun8i-a33: Add pinmux setting for uart0 on PB pins

The A33 adds an additional pinmux option for uart0 on the PB pins.
This was not present on the A23. Nor is it available on the H3,
which does not have the PB pingroup.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: dts: sun8i: Add pinmux setting for 8bit mmc2
Chen-Yu Tsai [Tue, 2 Jun 2015 10:04:01 +0000 (18:04 +0800)]
ARM: dts: sun8i: Add pinmux setting for 8bit mmc2

mmc2 is mostly used with eMMC flash chips, as an alternative to
raw NAND flash chips. 8 bit mmc is commonly used.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: dts: sun8i: Add usb_clk node for a23/a33
Hans de Goede [Mon, 1 Jun 2015 18:23:28 +0000 (20:23 +0200)]
ARM: dts: sun8i: Add usb_clk node for a23/a33

Add an usb_clk node for a23/a33.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Reviewed-by: Chen-Yu Tsai <wens@csie.org>
9 years agoARM: dts: sun8i: Add ET-Q8 A33 support
Vishnu Patekar [Sat, 30 May 2015 14:55:05 +0000 (16:55 +0200)]
ARM: dts: sun8i: Add ET-Q8 A33 support

ET-Q8_A33 is A33 based cheap tablet in common Q8 format.

It has 512MB RAM, 4GB Nand, 7" Display, RDA5900P wifi, GSL1680 touch, etc.

Signed-off-by: Vishnu Patekar <vishnupatekar0510@gmail.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Tested-by: Chen-Yu Tsai <wens@csie.org>
9 years agoARM: dts: sun8i: Add sun8i-a33 dtsi
Vishnu Patekar [Sat, 30 May 2015 14:55:04 +0000 (16:55 +0200)]
ARM: dts: sun8i: Add sun8i-a33 dtsi

Add a dtsi file for use with a33 based boards based on the new
sun8i-a23-a33.dtsi file.

Signed-off-by: Vishnu Patekar <vishnupatekar0510@gmail.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Tested-by: Chen-Yu Tsai <wens@csie.org>
9 years agoARM: dts: sun8i: Add sun8i-a23-a33 dtsi
Vishnu Patekar [Sat, 30 May 2015 14:55:03 +0000 (16:55 +0200)]
ARM: dts: sun8i: Add sun8i-a23-a33 dtsi

Rename sun8i-a23.dtsi to sun8i-a23-a33.dtsi as the base dtsi for the A33
is 99% the same and add a new sun8i-a23.dtsi including sun8i-a23-a33.dtsi
and setting the few things not shared with the A33 (mbus-clk, pio
compatible and interrupts).

Signed-off-by: Vishnu Patekar <vishnupatekar0510@gmail.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Tested-by: Chen-Yu Tsai <wens@csie.org>
9 years agoARM: dts: sun7i: Add A20 SRAM and SRAM controller
Maxime Ripard [Thu, 26 Mar 2015 14:53:44 +0000 (15:53 +0100)]
ARM: dts: sun7i: Add A20 SRAM and SRAM controller

The A20 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 <maxime.ripard@free-electrons.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Tested-by: Hans de Goede <hdegoede@redhat.com>
9 years agoARM: dts: sun5i: Add A10s and A13 SRAM and SRAM controller
Maxime Ripard [Thu, 26 Mar 2015 14:53:44 +0000 (15:53 +0100)]
ARM: dts: sun5i: Add A10s and A13 SRAM and SRAM controller

The A10s and A13 have 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 <maxime.ripard@free-electrons.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Tested-by: Hans de Goede <hdegoede@redhat.com>
9 years agoARM: dts: sun4i: Add A10 SRAM and SRAM controller
Maxime Ripard [Thu, 26 Mar 2015 14:53:44 +0000 (15:53 +0100)]
ARM: dts: sun4i: Add A10 SRAM and SRAM controller

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 <maxime.ripard@free-electrons.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Tested-by: Hans de Goede <hdegoede@redhat.com>
9 years agoARM: dts: sunxi: Revert SRAM controller drivers patches
Maxime Ripard [Mon, 1 Jun 2015 09:10:14 +0000 (11:10 +0200)]
ARM: dts: sunxi: Revert SRAM controller drivers patches

This patch reverts commit ccb4ada2f193 ("ARM: dts: sun7i: Add A20 SRAM and
SRAM controller"), commit e6f51e4bd2a5 ("ARM: dts: sun5i: Add A13 and A10s
SRAM and SRAM controller") and commit 6d92b80f356f ("ARM: dts: sun4i: Add
A10 SRAM and SRAM controller").

The bindings have been changed in the SRAM driver, and we need to
change the DT accordingly.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: dts: sun9i: Add device node for watchdog
Chen-Yu Tsai [Tue, 26 May 2015 16:54:16 +0000 (00:54 +0800)]
ARM: dts: sun9i: Add device node for watchdog

On A80 there are 2 watchdogs, one in the main block, and one in the
R (special) block. We do not have information on the R block watchdog,
other than the register layout is the same, and the interrupt number.
Both are able to reset the whole system.

Add the main watchdog, in case the R block is used for special purposes
like running an RTOS.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: dts: sun7i: Add uart4 support for BananaPro, disable uart2
Michael Ring [Fri, 22 May 2015 14:33:04 +0000 (16:33 +0200)]
ARM: dts: sun7i: Add uart4 support for BananaPro, disable uart2

The BananaPro uses uart4 for the default rx/tx pins on the 40 pins connector,
so enable uart4.

Uart2 is also available at the bananapro io-pins, but like on the bananapi
the primary function of the pins is to act as gpios, see:
http://forum.lemaker.org/forum.php?mod=viewthread&tid=10852

Remove the uart2 node, people who want to use uart2 can do so with a
devicetree-overlay.

Signed-off-by: Michael Ring <mail@michael-ring.org>
[hdegoede@redhat.com: Remove uart2 node]
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: dts: sun7i: Add uart4_pins_b definition
Michael Ring [Thu, 21 May 2015 12:32:33 +0000 (14:32 +0200)]
ARM: dts: sun7i: Add uart4_pins_b definition

Some boards (e.g. the BananaPro) use alternative pins for uart4, add a pinmux
entry for these.

Signed-off-by: Michael Ring <mail@michael-ring.org>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: sun8i: Introduce A23 Evaluation Board Support
Maxime Ripard [Thu, 7 May 2015 20:46:53 +0000 (22:46 +0200)]
ARM: sun8i: Introduce A23 Evaluation Board Support

The A23 Evaluation Board has an MMC slot, two UARTs, NAND, a few display
connectors (RGB, MIPI, LVDS), a mini-PCIE slot, USB host and OTG and a
bunch of embedded sensors.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: sunxi: dt: Split the SPI pinctrl groups
Maxime Ripard [Sun, 3 May 2015 07:25:41 +0000 (09:25 +0200)]
ARM: sunxi: dt: Split the SPI pinctrl groups

The pinctrl groups for SPI until now were also adding the chip selects in
the SPI pinctrl group.

This was causing a few issues, since a board was forced to use a random
number of chipselects, even though it might use one of these chip selects
for another pin.

The number of chipselects defined was also not the same from one group to
another because of different needs at the time these groups have been
introduced, resulting in no clear view from the board DTS on what exactly
is being muxed, which even might change in the future.

Solve this by creating different pinctrl groups for the chipselects and the
standard SPI pins (CLK, MOSI and MISO) so that we fix both issues.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: sunxi: dt: Fix whitespace errors
Maxime Ripard [Sun, 3 May 2015 09:54:35 +0000 (11:54 +0200)]
ARM: sunxi: dt: Fix whitespace errors

A few lines (probably copy pasted) have an indentation mixing tabs and
spaces that triggers a checkpatch warning.

Fix those, and while we're at it, fix the space-indented sections.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: sunxi: DT: Fix lines over 80 characters
Maxime Ripard [Sun, 3 May 2015 09:53:07 +0000 (11:53 +0200)]
ARM: sunxi: DT: Fix lines over 80 characters

A few lines in our DTSIs are over the 80 characters limit, making
checkpatch complain about that.

If possible (and relevant), wrap these lines to 80 characters.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: sunxi: dt: Remove the FSF address
Maxime Ripard [Sun, 3 May 2015 08:01:45 +0000 (10:01 +0200)]
ARM: sunxi: dt: Remove the FSF address

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 <maxime.ripard@free-electrons.com>
9 years agoARM: sunxi: dts: split IR pins for A10 and A20
Marcus Cooper [Sat, 2 May 2015 11:36:20 +0000 (13:36 +0200)]
ARM: sunxi: dts: split IR pins for A10 and A20

Currently none of the target boards nor the driver supports
IR TX. However this pin is used in a few instances as a GPIO.
Split the pin ctrl descriptions so that only the IR RX is
configured to be used.

Signed-off-by: Marcus Cooper <codekipper@gmail.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: sun7i: dt: Add new MK808C device
Marcus Cooper [Tue, 28 Apr 2015 18:01:06 +0000 (20:01 +0200)]
ARM: sun7i: dt: Add new MK808C device

The MK808C is an A20 based android stick, with 1G RAM, 8G NAND flash,
a RTL8723au wifi + bt combo chip, a USB host ports using USB-A receptacles,
a mini USB-B receptacle for USB OTG, mini HDMI and a TRS connector for AV.

This patch adds basic support for the device, more information can be found
here (http://linux-sunxi.org/MK808C).

Signed-off-by: Marcus Cooper <codekipper@gmail.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: dts: sun6i: Set PLL6 as parent to AHB1 clock in AHB1 clock node
Chen-Yu Tsai [Wed, 25 Mar 2015 21:04:47 +0000 (05:04 +0800)]
ARM: dts: sun6i: Set PLL6 as parent to AHB1 clock in AHB1 clock node

On sun6i we already have PLL6 as AHB1 clock's parent. However this was
previously set in the dma controller node, which takes effect when the
dma controller is probed.

We want this to take effect as soon as possible, so hrtimer rate
calculation is correct, and to be sure the AHB1 clock rate remains as
stable as possible.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: dts: sunxi: Update ahb clocks for sun5i and sun7i
Chen-Yu Tsai [Tue, 24 Mar 2015 17:22:09 +0000 (01:22 +0800)]
ARM: dts: sunxi: Update ahb clocks for sun5i and sun7i

The clock driver now supports a muxable ahb clock. Update the dtsi
with the proper compatible and add the new parent clocks.

This also adds the new pll6/4 output for pll6 on sun7i-a20. The
output is not used on sun4/5i.

Also use assigned-clocks to reparent ahb to pll6. We want ahb to
have a stable, non-changing clock rate. cpu/axi clock rate changes
as a result of newly added cpufreq support.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: dts: sun7i: Add dts file for the Jesurun Q5 top set box
Hans de Goede [Thu, 23 Apr 2015 12:26:50 +0000 (14:26 +0200)]
ARM: dts: sun7i: Add dts file for the Jesurun Q5 top set box

The Jesurun Q5 has a black plastic casing with the approximate dimensions
of 100mm x 100mm x 24mm with rounded edges. In terms of hardware it
features an Allwinner A10 SoC with 1GB RAM and 8GB of NAND flash. The
external connectors are: 2x USB-A female supporting USB2.0, 3.5mm female
jack for audio, HDMI female, SPDIF, RJ45 LAN and Power. In addition the
device has 1x red LED (hard wired to power) and an programmable green led.
On the board there is also an unpopulated IR receiver and the UART.
The devices is equipped with an AXP209 PMU.

For more details see: http://linux-sunxi.org/Jesurun_Q5

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: dts: sun5i: Enable touchscreen on Utoo P66
Hans de Goede [Wed, 1 Apr 2015 15:29:37 +0000 (17:29 +0200)]
ARM: dts: sun5i: Enable touchscreen on Utoo P66

Add a node for the chipone-icn8318 touchscreen found on the Utoo P66 tablet.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: dts: sun7i: Add dts file for the Orangepi mini SBC
Hans de Goede [Sat, 4 Apr 2015 08:59:54 +0000 (10:59 +0200)]
ARM: dts: sun7i: Add dts file for the Orangepi mini SBC

The Orangepi mini is a development board using the Allwinner A20 SoC,
with 1G RAM, 2 microsd slots (use the top side one for booting), HDMI,
1Gbit ethernet, USB wifi, Micro USB (otg), sata, 4 USB A ports,
ir receiver and a headphones jack.

Also see:
http://linux-sunxi.org/Xunlong_Orange_Pi_Mini
http://www.orangepi.org/

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
[maxime: Added /chosen/stdout-path]
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: dts: sun7i: Add dts file for the Orangepi SBC
Hans de Goede [Sat, 4 Apr 2015 08:59:53 +0000 (10:59 +0200)]
ARM: dts: sun7i: Add dts file for the Orangepi SBC

The Orangepi is a development board using the Allwinner A20 SoC, with 1G RAM,
microsd slot, HDMI, 1Gbit ethernet, USB wifi, Micro USB (otg), sata, 4 USB A
ports, ir receiver and a headphones jack.

Also see:
http://linux-sunxi.org/Xunlong_Orange_Pi
http://www.orangepi.org/

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
[maxime: Added /chosen/stdout-path]
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: dts: sun7i: Add A20 SRAM and SRAM controller
Maxime Ripard [Thu, 26 Mar 2015 14:53:44 +0000 (15:53 +0100)]
ARM: dts: sun7i: Add A20 SRAM and SRAM controller

The A20 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.

Since most of the time these SRAM won't be accessible by the CPU,
we can't use the mmio-sram driver and compatible.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
[hdegoede@redhat.com: Do not change soc node name, change compatible to
 sun4i-a10-sram-controller to match the driver change]
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: dts: sun5i: Add A13 and A10s SRAM and SRAM controller
Hans de Goede [Thu, 26 Mar 2015 14:53:43 +0000 (15:53 +0100)]
ARM: dts: sun5i: Add A13 and A10s SRAM and SRAM controller

The A13 / A10s 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.

Since most of the time these SRAM won't be accessible by the CPU,
we can't use the mmio-sram driver and compatible.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: dts: sun4i: Add A10 SRAM and SRAM controller
Hans de Goede [Thu, 26 Mar 2015 14:53:42 +0000 (15:53 +0100)]
ARM: dts: sun4i: Add A10 SRAM and SRAM controller

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.

Since most of the time these SRAM won't be accessible by the CPU,
we can't use the mmio-sram driver and compatible.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: dts: sun5i: Add broken-hpi property for Utoo-P66 eMMC
Hans de Goede [Wed, 1 Apr 2015 15:26:24 +0000 (17:26 +0200)]
ARM: dts: sun5i: Add broken-hpi property for Utoo-P66 eMMC

The eMMC on the A13 based Utoo-P66 tablet does not properly support hpi,
and trying to enable it results in the eMMC not working, so add a child-node
describing the eMMC, and set the broken-hpi property on it.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: sun8i: dt: Enable A23 SMP support
Chen-Yu Tsai [Wed, 18 Mar 2015 03:24:02 +0000 (11:24 +0800)]
ARM: sun8i: dt: Enable A23 SMP support

Add enable-method property to enable SMP support.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: dts: sun6i: Add cpu thermal zones to dtsi
Chen-Yu Tsai [Wed, 25 Mar 2015 21:04:49 +0000 (05:04 +0800)]
ARM: dts: sun6i: Add cpu thermal zones to dtsi

The core temperature sensor now supports thermal zones. Add a thermal
zone mapping for the cpus with passive cooling (cpufreq throttling).

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: dts: sun6i: Add cpu clock reference and operating points to dtsi
Chen-Yu Tsai [Wed, 25 Mar 2015 21:04:48 +0000 (05:04 +0800)]
ARM: dts: sun6i: Add cpu clock reference and operating points to dtsi

The cpu core is clocked from the "cpu" clock. Add a reference to it
in the first cpu node. Also add "cpu0" label to the node.

The operating points were taken from the a list compiled by Maxime Ripard,
which is based on A31 FEX files from the sunxi-boards repository. Not all
boards have the same settings. The settings in this patch are the ones
shared by A/B/C revisions, plus the default clock setting from u-boot.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: sunxi: DT: Add stdout-path property
Maxime Ripard [Sun, 15 Mar 2015 19:47:31 +0000 (20:47 +0100)]
ARM: sunxi: DT: Add stdout-path property

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 <maxime.ripard@free-electrons.com>
9 years agoARM: dts: sun6i: csq cs908 dts cleanup
Hans de Goede [Sat, 21 Mar 2015 13:23:01 +0000 (14:23 +0100)]
ARM: dts: sun6i: csq cs908 dts cleanup

Remove the unused usb1_vbus_pin_csq908 node (vbus is always on on the cs908),
and sort the remaining nodes alphabetically.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: dts: sun9i: optimus: Switch to phy core regulator bindings for usb phys
Chen-Yu Tsai [Sat, 14 Mar 2015 03:57:17 +0000 (11:57 +0800)]
ARM: dts: sun9i: optimus: Switch to phy core regulator bindings for usb phys

Since the phy core already supports specifying a regulator to handle
during power up/down, it was decided to drop the regulator support
in the sun9i usb phy driver.

This patch switches the DT to the core bindings. This and the phy driver
would be in the same release and should not be a problem as far as DT
stability goes.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Acked-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: dts: sun9i: Enable ARM architected timer on A80
Chen-Yu Tsai [Wed, 18 Mar 2015 08:00:28 +0000 (16:00 +0800)]
ARM: dts: sun9i: Enable ARM architected timer on A80

The A80 SoC has the architected timer, but the existing firmware from
Allwinner does not set CNTFRQ at all.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: dts: sun8i: Enable ARM architected timer on A23
Chen-Yu Tsai [Wed, 18 Mar 2015 03:24:00 +0000 (11:24 +0800)]
ARM: dts: sun8i: Enable ARM architected timer on A23

The A23 SoC has the architected timer, but the existing firmware from
Allwinner does not set CNTFRQ at all.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: dts: sun6i: hummingbird: Enable the onboard WiFi module
Chen-Yu Tsai [Tue, 10 Mar 2015 11:59:24 +0000 (19:59 +0800)]
ARM: dts: sun6i: hummingbird: Enable the onboard WiFi module

The Hummingbird A31 has an AMPAK AP6210 WiFi+Bluetooth module. The
WiFi part is a BCM43362 IC connected to MMC1 in the A31 SoC via SDIO.
The IC also takes a power enable signal via GPIO. This is supported
with the new power sequencing bindings.

The WiFi module supports out-of-band interrupt signaling via GPIO,
but this is not enabled yet.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: dts: sun6i: Add pinmux settings for mmc1 to dtsi
Chen-Yu Tsai [Tue, 10 Mar 2015 11:59:22 +0000 (19:59 +0800)]
ARM: dts: sun6i: Add pinmux settings for mmc1 to dtsi

mmc1 is used to connect to the WiFi chip on the Hummingbird A31.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
[maxime: Changed the drive and pull values for their defines]
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: dts: sun7i: Add OOB irq support to boards with broadcom sdio wifi
Hans de Goede [Tue, 10 Mar 2015 15:27:10 +0000 (16:27 +0100)]
ARM: dts: sun7i: Add OOB irq support to boards with broadcom sdio wifi

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: dts: sunxi: Add address- and size-cells properties to the mmc ctrl nodes
Hans de Goede [Tue, 10 Mar 2015 15:27:09 +0000 (16:27 +0100)]
ARM: dts: sunxi: Add address- and size-cells properties to the mmc ctrl nodes

Sometimes we need to specify non-probably information for sdio devices in the
devicetree, this is done through child nodes addressed by the reg property,
whereby the reg property refers to the sdio function number, see;
Documentation/devicetree/bindings/mmc/mmc.txt

This commit adds the necessary address- and size-cells properties to the mmc
controller nodes in the dtsi files, so that dts files needing such a child
node do not need to specify these themselves.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: dts: sun6i: hummingbird: Add AXP221 regulator nodes
Chen-Yu Tsai [Tue, 10 Mar 2015 11:59:21 +0000 (19:59 +0800)]
ARM: dts: sun6i: hummingbird: Add AXP221 regulator nodes

This patch adds the AXP221 regulators. Only the ones directly used
on the board are added.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: dts: sun6i: hummingbird: Add AXP221 PMIC device node
Chen-Yu Tsai [Tue, 10 Mar 2015 11:59:16 +0000 (19:59 +0800)]
ARM: dts: sun6i: hummingbird: Add AXP221 PMIC device node

The Hummingbird A31 has an AXP221 PMIC hooked up to the
P2WI controller.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: dts: sun6i: hummingbird: Enable P2WI controller
Chen-Yu Tsai [Tue, 10 Mar 2015 11:59:13 +0000 (19:59 +0800)]
ARM: dts: sun6i: hummingbird: Enable P2WI controller

The Hummingbird A31 has an AXP221 PMIC hooked up to the P2WI controller.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: dts: sun6i: add p2wi controller node to dtsi
Boris BREZILLON [Tue, 10 Mar 2015 11:59:12 +0000 (19:59 +0800)]
ARM: dts: sun6i: add p2wi controller node to dtsi

The p2wi controller has only one possible pinmux setting. Use it by
default in the dtsi, instead of having to set it in each board's dts.

Signed-off-by: Boris BREZILLON <boris.brezillon@free-electrons.com>
[wens@csie.org: reformat commit title; rename p2wi pins and use as default]
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: dts: add cubietech cubieboard4
Tyler Baker [Mon, 9 Mar 2015 20:19:57 +0000 (13:19 -0700)]
ARM: dts: add cubietech cubieboard4

Add a Cubietech Cubieboard4 device tree and instruct make to build it. This
device tree has been derived from the sun9i-a80-optimus.dts as they are very
similar in design[1]. Notably, I2C3 is not used on Cubieboard4 and the LED/PWM
definitions will need to be updated in the future.

[1] http://dl.cubieboard.org/model/cc-a80/Hardware/CC-A80-HW-V1.1.pdf

Signed-off-by: Tyler Baker <tyler.baker@linaro.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agodt-bindings: Add vendor-prefix for Wexler
Aleksei Mamlin [Sun, 8 Mar 2015 11:58:16 +0000 (14:58 +0300)]
dt-bindings: Add vendor-prefix for Wexler

This patch adds vendor-prefix for Wexler.

WEXLER trademark owned by AVIRSA Electronics, a member of the
diversified holding AVIRSA.

Signed-off-by: Aleksei Mamlin <mamlinav@gmail.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: dts: sun7i: Add dts file for Wexler TAB7200
Aleksei Mamlin [Sun, 8 Mar 2015 11:57:33 +0000 (14:57 +0300)]
ARM: dts: sun7i: Add dts file for Wexler TAB7200

This patch add support for Wexler TAB7200 tablet.

The Wexler TAB7200 is a A20 based tablet with 7 inch display(800x480),
capacitive touchscreen(5 fingers), 1G RAM, 4G NAND, micro SD card slot,
mini HDMI port, 3.5mm audio plug, 1 USB OTG port and 1 USB 2.0 port.

Signed-off-by: Aleksei Mamlin <mamlinav@gmail.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: dts: sunxi: Adjust touchscreen compatible for sun5i and later
Hans de Goede [Sun, 8 Mar 2015 20:53:42 +0000 (21:53 +0100)]
ARM: dts: sunxi: Adjust touchscreen compatible for sun5i and later

The touchscreen controller in the A13 and later has a different temperature
curve than the one in the original A10, change the compatible for the A13 and
later so that the kernel will use the correct curve.

Reported-by: Tong Zhang <lovewilliam@gmail.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: dts: add vendor prefix for cubietech
Tyler Baker [Fri, 6 Mar 2015 23:35:05 +0000 (15:35 -0800)]
ARM: dts: add vendor prefix for cubietech

Add a cubietech vendor prefix, as it is missing. The cubietruck, cubieboard2,
and cubieboard all already reference this prefix.

Signed-off-by: Tyler Baker <tyler.baker@linaro.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: dts: sun5i: Add new Utoo P66 board
Hans de Goede [Sat, 7 Mar 2015 19:01:22 +0000 (20:01 +0100)]
ARM: dts: sun5i: Add new Utoo P66 board

The UTOO P66 is a 6" A13 tablet / lcd ereader. It features a 6" 480x800 ips
lcd screen, 512MB RAM & 4GB emmc.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: dts: sun5i: Add new Auxtek-t004 board
Hans de Goede [Sat, 7 Mar 2015 19:01:21 +0000 (20:01 +0100)]
ARM: dts: sun5i: Add new Auxtek-t004 board

The auxtek-t004:
http://www.fasttech.com/products/1110/10004200/1318603-auxtek-t004-allwinner-a10s-single-core-android-ics

Is an Allwinner A10s based hdmi tv stick with with 512M RAM, 4G nand flash,
toc9002 (bcm43362) sdio wifi, 1 USB host ports using an USB-A receptacle and
a 2 micro-usb receptacles, one for power and one for USB OTG.

The sdio wifi appears to not have an oob irq hooked up, so we rely on sdio-irq
support for it.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: dts: sun5i: Add mmc2 pinmux settings
Hans de Goede [Sat, 7 Mar 2015 19:01:20 +0000 (20:01 +0100)]
ARM: dts: sun5i: Add mmc2 pinmux settings

Add A13 mmc2 pinmux settings, note these are for a 8bit bus.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: dts: sun5i: Stop using different compatibles for ehci/ohci on a13 vs a10s
Hans de Goede [Sat, 7 Mar 2015 19:01:19 +0000 (20:01 +0100)]
ARM: dts: sun5i: Stop using different compatibles for ehci/ohci on a13 vs a10s

The A13 and the A10s use the same die (this has been confirmed by Allwinner),
as such there is no need to differentiate between the ehci/ohci parts of both,
the only reasons there were different allwinner,sun5i-a*-foo compatible
between these 2 parts is costemetically and because we could when we still
had 2 completely different dtsi files.

The allwinner,sun5i-a*-foo compatible strings are not used for binding at all,
the actual driver binds to the generic-?hci compatible, so we can safely remove
this cosmetical difference and simplify the dtsi files.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: dts: sun4i: Enable tablet keys on Chuwi V7 CW0825
Hans de Goede [Sat, 7 Mar 2015 19:01:18 +0000 (20:01 +0100)]
ARM: dts: sun4i: Enable tablet keys on Chuwi V7 CW0825

Enable the lradc controlled tablet keys on the Chuwi V7 CW0825 tablet.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: dts: sun6i: hummingbird: Enable IR receiver
Chen-Yu Tsai [Tue, 3 Mar 2015 03:52:01 +0000 (11:52 +0800)]
ARM: dts: sun6i: hummingbird: Enable IR receiver

The A31 Hummingbird has an IR receiver.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: sun6i: dt: Add new Mele I7 device
Marcus Cooper [Sat, 28 Feb 2015 13:48:05 +0000 (14:48 +0100)]
ARM: sun6i: dt: Add new Mele I7 device

The Mele I7 is a Allwinner A31 based Android TV box, with 1G RAM,
8GB NAND flash, a RTL8188etv wifi chip, 3 USB Host ports using
USB-A receptacles, a micro USB-B receptacle for USB OTG, HDMI out,
a TRS connector for A/V, SPDIF and IrDA.

This patch adds basic support for the device, more information can
be found here (http://linux-sunxi.org/Mele_I7).

Signed-off-by: Marcus Cooper <codekipper@gmail.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: sun8i: ippo q8h v5: Convert to DT label based syntax
Maxime Ripard [Sat, 31 Jan 2015 11:11:54 +0000 (12:11 +0100)]
ARM: sun8i: ippo q8h v5: Convert to DT label based syntax

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 <maxime.ripard@free-electrons.com>
9 years agoARM: sun7i: pcduino3: Convert to DT label based syntax
Maxime Ripard [Sat, 31 Jan 2015 11:11:54 +0000 (12:11 +0100)]
ARM: sun7i: pcduino3: Convert to DT label based syntax

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 <maxime.ripard@free-electrons.com>
9 years agoARM: sun7i: olinuxino micro: Convert to DT label based syntax
Maxime Ripard [Sat, 31 Jan 2015 11:11:54 +0000 (12:11 +0100)]
ARM: sun7i: olinuxino micro: Convert to DT label based syntax

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 <maxime.ripard@free-electrons.com>
9 years agoARM: sun7i: olinuxino lime2: Convert to DT label based syntax
Maxime Ripard [Sat, 31 Jan 2015 11:11:54 +0000 (12:11 +0100)]
ARM: sun7i: olinuxino lime2: Convert to DT label based syntax

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 <maxime.ripard@free-electrons.com>
9 years agoARM: sun7i: olinuxino lime: Convert to DT label based syntax
Maxime Ripard [Sat, 31 Jan 2015 11:11:54 +0000 (12:11 +0100)]
ARM: sun7i: olinuxino lime: Convert to DT label based syntax

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 <maxime.ripard@free-electrons.com>
9 years agoARM: sun7i: m3: Convert to DT label based syntax
Maxime Ripard [Sat, 31 Jan 2015 11:11:54 +0000 (12:11 +0100)]
ARM: sun7i: m3: Convert to DT label based syntax

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 <maxime.ripard@free-electrons.com>
9 years agoARM: sun7i: i12 tvbox: Convert to DT label based syntax
Maxime Ripard [Sat, 31 Jan 2015 11:11:54 +0000 (12:11 +0100)]
ARM: sun7i: i12 tvbox: Convert to DT label based syntax

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 <maxime.ripard@free-electrons.com>
9 years agoARM: sun7i: hummingbird: Convert to DT label based syntax
Maxime Ripard [Sat, 31 Jan 2015 11:11:54 +0000 (12:11 +0100)]
ARM: sun7i: hummingbird: Convert to DT label based syntax

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 <maxime.ripard@free-electrons.com>
9 years agoARM: sun7i: cubietruck: Convert to DT label based syntax
Maxime Ripard [Sat, 31 Jan 2015 11:11:54 +0000 (12:11 +0100)]
ARM: sun7i: cubietruck: Convert to DT label based syntax

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 <maxime.ripard@free-electrons.com>
9 years agoARM: sun7i: cubieboard2: Convert to DT label based syntax
Maxime Ripard [Sat, 31 Jan 2015 11:11:54 +0000 (12:11 +0100)]
ARM: sun7i: cubieboard2: Convert to DT label based syntax

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 <maxime.ripard@free-electrons.com>
9 years agoARM: sun7i: bananapi: Convert to DT label based syntax
Maxime Ripard [Sat, 31 Jan 2015 11:11:54 +0000 (12:11 +0100)]
ARM: sun7i: bananapi: Convert to DT label based syntax

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 <maxime.ripard@free-electrons.com>
9 years agoARM: sun6i: m9: Convert to DT label based syntax
Maxime Ripard [Sat, 31 Jan 2015 11:11:54 +0000 (12:11 +0100)]
ARM: sun6i: m9: Convert to DT label based syntax

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 <maxime.ripard@free-electrons.com>
9 years agoARM: sun6i: colombus: Convert to DT label based syntax
Maxime Ripard [Sat, 31 Jan 2015 11:11:54 +0000 (12:11 +0100)]
ARM: sun6i: colombus: Convert to DT label based syntax

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 <maxime.ripard@free-electrons.com>
9 years agoARM: sun6i: app4 evb1: Convert to DT label based syntax
Maxime Ripard [Sat, 31 Jan 2015 11:11:54 +0000 (12:11 +0100)]
ARM: sun6i: app4 evb1: Convert to DT label based syntax

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 <maxime.ripard@free-electrons.com>
9 years agoARM: sun5i: a13: olinuxino: Convert to DT label based syntax
Maxime Ripard [Sat, 31 Jan 2015 11:11:54 +0000 (12:11 +0100)]
ARM: sun5i: a13: olinuxino: Convert to DT label based syntax

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 <maxime.ripard@free-electrons.com>
9 years agoARM: sun5i: a13: olinuxino micro: Convert to DT label based syntax
Maxime Ripard [Sat, 31 Jan 2015 11:04:17 +0000 (12:04 +0100)]
ARM: sun5i: a13: olinuxino micro: Convert to DT label based syntax

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 <maxime.ripard@free-electrons.com>
9 years agoARM: sun5i: a13: hsg h702: Convert to DT label based syntax
Maxime Ripard [Sat, 31 Jan 2015 10:59:48 +0000 (11:59 +0100)]
ARM: sun5i: a13: hsg h702: Convert to DT label based syntax

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 <maxime.ripard@free-electrons.com>
9 years agoARM: sun5i: a10s: r7 tv dongle: Convert to DT label based syntax
Maxime Ripard [Fri, 30 Jan 2015 15:58:45 +0000 (16:58 +0100)]
ARM: sun5i: a10s: r7 tv dongle: Convert to DT label based syntax

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 <maxime.ripard@free-electrons.com>
9 years agoARM: sun5i: a10s: olinuxino micro: Convert to DT label based syntax
Maxime Ripard [Fri, 30 Jan 2015 15:51:03 +0000 (16:51 +0100)]
ARM: sun5i: a10s: olinuxino micro: Convert to DT label based syntax

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 <maxime.ripard@free-electrons.com>
9 years agoARM: sun4i: pcduino: Convert to DT label based syntax
Maxime Ripard [Sat, 31 Jan 2015 11:11:54 +0000 (12:11 +0100)]
ARM: sun4i: pcduino: Convert to DT label based syntax

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 <maxime.ripard@free-electrons.com>
9 years agoARM: sun4i: olinuxino lime: Convert to DT label based syntax
Maxime Ripard [Sat, 31 Jan 2015 11:11:54 +0000 (12:11 +0100)]
ARM: sun4i: olinuxino lime: Convert to DT label based syntax

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 <maxime.ripard@free-electrons.com>
9 years agoARM: sun4i: mini xplus: Convert to DT label based syntax
Maxime Ripard [Sat, 31 Jan 2015 11:11:54 +0000 (12:11 +0100)]
ARM: sun4i: mini xplus: Convert to DT label based syntax

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 <maxime.ripard@free-electrons.com>
9 years agoARM: sun4i: inet97fv2: Convert to DT label based syntax
Maxime Ripard [Sat, 31 Jan 2015 11:11:54 +0000 (12:11 +0100)]
ARM: sun4i: inet97fv2: Convert to DT label based syntax

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 <maxime.ripard@free-electrons.com>
9 years agoARM: sun4i: hackberry: Convert to DT label based syntax
Maxime Ripard [Sat, 31 Jan 2015 11:11:54 +0000 (12:11 +0100)]
ARM: sun4i: hackberry: Convert to DT label based syntax

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 <maxime.ripard@free-electrons.com>
9 years agoARM: sun4i: cubieboard: Convert to DT label based syntax
Maxime Ripard [Sat, 31 Jan 2015 11:11:54 +0000 (12:11 +0100)]
ARM: sun4i: cubieboard: Convert to DT label based syntax

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 <maxime.ripard@free-electrons.com>
9 years agoARM: sun4i: ba10 tvbox: Convert to DT label based syntax
Maxime Ripard [Sat, 31 Jan 2015 11:11:54 +0000 (12:11 +0100)]
ARM: sun4i: ba10 tvbox: Convert to DT label based syntax

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 <maxime.ripard@free-electrons.com>
9 years agoARM: sun4i: a1000: Convert to DT label based syntax
Maxime Ripard [Sat, 31 Jan 2015 11:11:54 +0000 (12:11 +0100)]
ARM: sun4i: a1000: Convert to DT label based syntax

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 <maxime.ripard@free-electrons.com>
9 years agoARM: sun5i: a10s: Move to the common sun5i DTSI
Maxime Ripard [Fri, 30 Jan 2015 15:42:13 +0000 (16:42 +0100)]
ARM: sun5i: a10s: Move to the common sun5i DTSI

Now that we have a common DTSI for the sun5i family, move the A10s to use it.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: sun5i: a13: Move to the common sun5i DTSI
Maxime Ripard [Fri, 30 Jan 2015 15:31:19 +0000 (16:31 +0100)]
ARM: sun5i: a13: Move to the common sun5i DTSI

Now that we have a common DTSI for the sun5i family, move the A13 to use it.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: sun5i: Add a DTSI common to A10s and A13
Maxime Ripard [Fri, 30 Jan 2015 15:30:48 +0000 (16:30 +0100)]
ARM: sun5i: Add a DTSI common to A10s and A13

The A10s and the A13 are very similar SoCs, the only difference being the
number of pins and the number of devices available (number of UARTs, EMAC only
in the A10s, etc.), and the clocks and pinctrl functions obviously.

Create a common DTSI that will be included by the A10s and A13 DTSI, that will
add their SoC differences in there.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: dts: sun9i: Enable USB support on A80 Optimus board
Chen-Yu Tsai [Mon, 2 Feb 2015 22:22:03 +0000 (06:22 +0800)]
ARM: dts: sun9i: Enable USB support on A80 Optimus board

On the Optimus board, all three USB hosts can be used.
HCI0 and HCI2 are available through the USB connector.
HCI1 is available with HSIC through 2 pins on the GPIO
expansion header.

This patch also adds a regulator for HCI2/USB3's VBUS.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: dts: sun9i: Add USB host controller nodes to a80 dtsi
Chen-Yu Tsai [Mon, 2 Feb 2015 22:22:02 +0000 (06:22 +0800)]
ARM: dts: sun9i: Add USB host controller nodes to a80 dtsi

The A80 has 3 EHCI/OHCI USB controllers.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: sun7i: olinuxino micro: Relicense the device tree under GPLv2/X11
Maxime Ripard [Tue, 2 Sep 2014 17:25:26 +0000 (19:25 +0200)]
ARM: sun7i: olinuxino micro: Relicense the device tree under GPLv2/X11

The current GPL only licensing on the DTSI makes it very impractical for other
software components licensed under another license.

In order to make it easier for them to reuse our device trees, relicense our
device trees under a GPL/X11 dual-license.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Carlo Caione <carlo@caione.org>
Acked-by: Chen-Yu Tsai <wens@csie.org>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Zalan Blenessy <zalan.blenessy@gmail.com>
9 years agoARM: dts: sun9i: Add usb phy nodes to a80 dtsi
Chen-Yu Tsai [Tue, 27 Jan 2015 19:54:10 +0000 (03:54 +0800)]
ARM: dts: sun9i: Add usb phy nodes to a80 dtsi

On sun9i, there are 3 independent usb phys for EHCI/OHCI.
Add device nodes for them.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: dts: sun9i: Add usb clock nodes to a80 dtsi
Chen-Yu Tsai [Tue, 27 Jan 2015 19:54:08 +0000 (03:54 +0800)]
ARM: dts: sun9i: Add usb clock nodes to a80 dtsi

The USB controller and phy clocks and resets have a separate address
block and driver. Add the nodes to represent them.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: sun7i: hummingbird: Relicense the device tree under GPLv2/X11
Maxime Ripard [Tue, 2 Sep 2014 17:25:26 +0000 (19:25 +0200)]
ARM: sun7i: hummingbird: Relicense the device tree under GPLv2/X11

The current GPL only licensing on the DTSI makes it very impractical for other
software components licensed under another license.

In order to make it easier for them to reuse our device trees, relicense our
device trees under a GPL/X11 dual-license.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Wills Wang <wills.wang.open@gmail.com>
9 years agoARM: dts: sun7i: Add dts file for pcDuino 3 Nano board
Adam Sampson [Tue, 27 Jan 2015 18:27:45 +0000 (18:27 +0000)]
ARM: dts: sun7i: Add dts file for pcDuino 3 Nano board

Add support for the LinkSprite pcDuino 3 Nano board. This is a low-cost
Allwinner A20 board with Arduino-style GPIO headers; it features 1G RAM,
4G NAND flash, 1 micro-SD, 2 USB sockets, 1 micro USB socket for OTG and
another for power in, HDMI, SATA, 5V power for SATA devices, gigabit
Ethernet, an IR receiver, 3.5mm audio out and a MIPI camera connector.

For more details, see: http://linux-sunxi.org/LinkSprite_pcDuino3_Nano

Changes in v3:
- rename LEDs to pcduino3-nano:green:usr[12]
- remove optional features on Arduino headers (i2c2, spi0, uart2)

Signed-off-by: Adam Sampson <ats@offog.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: dts: sun4i: Add initial dts for Gemei G9 tablet
Priit Laes [Mon, 26 Jan 2015 18:00:06 +0000 (20:00 +0200)]
ARM: dts: sun4i: Add initial dts for Gemei G9 tablet

Gemei G9 is an A10 based tablet, with 1G RAM, 16G NAND, 1024x768
IPS LCD display, stereo speakers, 1.3MP front camera and 5 MP
rear camera, 8000mAh battery, GT901 2+1 touchscreen, Bosch BMA250
accelerometer and RTL8188CUS USB wifi. It also has MicroSD slot,
miniHDMI, 1 x MicroUSB OTG port and 1 x MicroUSB host port and
3.5mm headphone jack.

Changes since v2:
 * Fix syntax error (brown paper bag release)

Changes since v1:
 * Added sun4i-lradc keymap
 * Added TODO note about missing IRQ pins for bma250
 * Fixed formatting issues and removed external URLs

Signed-off-by: Priit Laes <plaes@plaes.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: sun5i: Relicense the A10s/A13 DTSI under GPLv2/X11
Maxime Ripard [Tue, 2 Sep 2014 17:25:26 +0000 (19:25 +0200)]
ARM: sun5i: Relicense the A10s/A13 DTSI under GPLv2/X11

The current GPL only licensing on the DTSI makes it very impractical for other
software components licensed under another license.

In order to make it easier for them to reuse our device trees, relicense our
DTSI first under a GPL/X11 dual-license. Hopefully, the DTS will follow soon.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Chen-Yu Tsai <wens@csie.org>
Acked-by: David Lanzendörfer <david.lanzendoerfer@o2s.ch>
Acked-by: Emilio López <emilio@elopez.com.ar>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Acked-by: Oliver Schinagl <oliver@schinagl.nl>
Acked-by: Roman Byshko <rbyshko@gmail.com>
9 years agoARM: sun4i: Relicense the A10 DTSI under GPLv2/X11
Maxime Ripard [Tue, 2 Sep 2014 17:25:26 +0000 (19:25 +0200)]
ARM: sun4i: Relicense the A10 DTSI under GPLv2/X11

The current GPL only licensing on the DTSI makes it very impractical for other
software components licensed under another license.

In order to make it easier for them to reuse our device trees, relicense our
DTSI first under a GPL/X11 dual-license. Hopefully, the DTS will follow soon.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Carlo Caione <carlo@caione.org>
Acked-by: Chen-Yu Tsai <wens@csie.org>
Acked-by: David Lanzendörfer <david.lanzendoerfer@o2s.ch>
Acked-by: Emilio López <emilio@elopez.com.ar>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Acked-by: Oliver Schinagl <oliver@schinagl.nl>
Acked-by: Roman Byshko <rbyshko@gmail.com>
Acked-by: Stefan Roese <sr@denx.de>
9 years agoLinux 4.1-rc1
Linus Torvalds [Mon, 27 Apr 2015 00:59:10 +0000 (17:59 -0700)]
Linux 4.1-rc1