[linux-sunxi] [PATCH v4 1/4] power: Add an axp20x-ac-power driver

2016-05-05 Thread Michael Haas
This adds a driver for the ac power_supply bits of the axp20x PMICs. This submission is taken directly from Bruno Prémonts 2015 RFC [0]. The original RFC contains drivers for AC, battery and backup battery. This commit only adds the AC driver for now. [0]

[linux-sunxi] [PATCH v4 3/4] ARM: dts: Add binding documentation for AXP20x pmic ac power supply

2016-05-05 Thread Michael Haas
Add binding documentation for the ac power supply part of the AXP20x pmic. Signed-off-by: Michael Haas Acked-by: Rob Herring --- .../bindings/power_supply/axp20x_ac_power.txt | 17 + 1 file changed, 17 insertions(+) create

[linux-sunxi] [PATCH v4 2/4] mfd: axp20x: Add a cell for the ac power_supply part of the axp20x PMICs

2016-05-05 Thread Michael Haas
As a counterpart to the usb power_supply cell, this commit adds an AC power_supply cell to the axp20x driver. Still missing are the RTC backup battery and the main battery charger cells. Signed-off-by: Michael Haas Acked-by: Chen-Yu Tsai ---

[linux-sunxi] [PATCH v4 4/4] ARM: dts: axp209: Add ac_power_supply child node to the ax209 node

2016-05-05 Thread Michael Haas
Add a node representing the ac power supply part of the axp209 pmic. Signed-off-by: Michael Haas --- arch/arm/boot/dts/axp209.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/axp209.dtsi b/arch/arm/boot/dts/axp209.dtsi index

[linux-sunxi] [PATCH v4 0/4]

2016-05-05 Thread Michael Haas
Changes in v4: * Mark AC power driver as disabled by default in axp209.dtsi * Drop patch enabling USB power driver by default * Add Acked-By Rob Herring and Chen-Yu Tsai Changes in v3: * Move register definitions back from MFD header to driver itself * Globally enable AC power supply driver in

Re: [linux-sunxi] Re: [PATCH v3 5/5] ARM: dts: axp209: Enable usb_power_supply by default

2016-05-05 Thread Chen-Yu Tsai
On Fri, May 6, 2016 at 1:24 AM, Hans de Goede wrote: > Hi, > > On 05-05-16 12:46, Michael Haas wrote: >> >> Hi Hans, >> >> On 05/05/2016 12:39 PM, Hans de Goede wrote: >>> >>> Hi, >>> >>> On 05-05-16 12:35, Michael Haas wrote: This node should be enabled by default.

[linux-sunxi] Re: [PATCH v3 2/5] mfd: axp20x: Add a cell for the ac power_supply part of the axp20x PMICs

2016-05-05 Thread Chen-Yu Tsai
On Thu, May 5, 2016 at 6:35 PM, Michael Haas wrote: > As a counterpart to the usb power_supply cell, this commit adds an AC > power_supply cell to the axp20x driver. > > Still missing are the RTC backup battery and the main battery charger > cells. > > Signed-off-by:

[linux-sunxi] Re: [PATCH v3 3/5] ARM: dts: Add binding documentation for AXP20x pmic ac power supply

2016-05-05 Thread Chen-Yu Tsai
On Fri, May 6, 2016 at 6:30 AM, Rob Herring wrote: > On Thu, May 05, 2016 at 12:35:06PM +0200, Michael Haas wrote: >> Add binding documentation for the ac power supply part of the AXP20x >> pmic. >> >> Signed-off-by: Michael Haas >> --- >>

Re: [linux-sunxi] [sunxi-tools PATCH 5/5] fel: Add fel spl command support for Allwinner A64

2016-05-05 Thread Andre Przywara
On Thu, 5 May 2016 20:49:49 +0200 Bernhard Nortmann wrote: Hi, > From: Siarhei Siamashka > > The SCTLR bits are somewhat different because the V bit is set > to 0 on A64 (Low exception vectors, base address 0x) and > the UNK bit

[linux-sunxi] Re: [PATCH v3 3/5] ARM: dts: Add binding documentation for AXP20x pmic ac power supply

2016-05-05 Thread Rob Herring
On Thu, May 05, 2016 at 12:35:06PM +0200, Michael Haas wrote: > Add binding documentation for the ac power supply part of the AXP20x > pmic. > > Signed-off-by: Michael Haas > --- > .../bindings/power_supply/axp20x_ac_power.txt | 17 > + > 1

[linux-sunxi] [sunxi-tools PATCH 5/5] fel: Add fel spl command support for Allwinner A64

2016-05-05 Thread Bernhard Nortmann
From: Siarhei Siamashka The SCTLR bits are somewhat different because the V bit is set to 0 on A64 (Low exception vectors, base address 0x) and the UNK bit (Reads of this bit return an UNKNOWN value) is also not the same as on the other SoCs. So the SCTLR

[linux-sunxi] [sunxi-tools PATCH 4/5] fel: Move the backup storage to the SRAM section A1 on H3

2016-05-05 Thread Bernhard Nortmann
From: Siarhei Siamashka This allows the SRAM section A2 to be exclusively used by the OpenRISC core. There are no substantial differences between H3 and A10/A13/A20. It just has 64 KiB of SRAM starting at the address 0x0 instead of 48 KiB. Signed-off-by: Siarhei

[linux-sunxi] [sunxi-tools PATCH 0/5] Experimental A64 support

2016-05-05 Thread Bernhard Nortmann
This patch series is based on original work by ssvb available at https://github.com/ssvb/sunxi-tools/tree/20160123-allwinner-a64-support with slight modifications to rebase it on top of current master. An experimental branch has been set up for the sunxi-tools repository at

[linux-sunxi] [sunxi-tools PATCH 1/5] fel: Move backup area to higher addresses in SRAM on A10/A13/A20

2016-05-05 Thread Bernhard Nortmann
From: Siarhei Siamashka Previously the backup area was allocated at the address 0x8000. This is not very good because it means that the U-Boot SPL can only safely use memory at addresses 0x-0x7FFF (32 KiB). But if we move the backup area to the end of the SRAM

[linux-sunxi] [sunxi-tools PATCH 2/5] fel: Rename the backup buffers which use AR100 (OpenRISC) SRAM

2016-05-05 Thread Bernhard Nortmann
From: Siarhei Siamashka That would be a more appropriate name. And A31 is going to implement this in a different way and give the SRAM back to OpenRISC. Signed-off-by: Siarhei Siamashka Acked-by: Bernhard Nortmann

[linux-sunxi] [sunxi-tools PATCH 3/5] fel: Move the backup storage to the SRAM B on A31

2016-05-05 Thread Bernhard Nortmann
From: Siarhei Siamashka This allows the SRAM section A2 to be exclusively used by the OpenRISC core. Regarding the potential U-Boot SPL size. The SRAM section A1 only has 32 KiB. But at least the stack can be set at the end of the SRAM section B. Or runtime UCL or

Re: [linux-sunxi] Re: [PATCH v3 5/5] ARM: dts: axp209: Enable usb_power_supply by default

2016-05-05 Thread Hans de Goede
Hi, On 05-05-16 12:46, Michael Haas wrote: Hi Hans, On 05/05/2016 12:39 PM, Hans de Goede wrote: Hi, On 05-05-16 12:35, Michael Haas wrote: This node should be enabled by default. A device is likely to have an USB power connection. If USB power is indeed absent, the USB power driver will

[linux-sunxi] [PATCH v4 3/3] dts: sun8i-h3: add i2c0/i2c1/i2c2 soc peripherals

2016-05-05 Thread Martin Ayotte
dts: sun8i-h3: add i2c0/i2c1/i2c2 soc peripherals Signed-off-by: Martin Ayotte --- arch/arm/boot/dts/sun8i-h3.dtsi | 33 + 1 file changed, 33 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-h3.dtsi b/arch/arm/boot/dts/sun8i-h3.dtsi

[linux-sunxi] [PATCH v4 2/3] dts: sun8i-h3: add i2c0/i2c1/i2c2 pins definitions

2016-05-05 Thread Martin Ayotte
dts: sun8i-h3: add i2c0/i2c1/i2c2 pins definitions Signed-off-by: Martin Ayotte --- arch/arm/boot/dts/sun8i-h3.dtsi | 21 + 1 file changed, 21 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-h3.dtsi b/arch/arm/boot/dts/sun8i-h3.dtsi index

[linux-sunxi] [PATCH v4 0/3] dts: sun8i-h3: add missing UARTs pins and I2C entries for AllWinner H3

2016-05-05 Thread Martin Ayotte
Hi everyone, This patch is submit to provide endusers access to additional UARTs on AllWinner H3 SoC along with I2C ports. Regards, Martin. (Note: please ignore yesterday's v3, since the cover-letter had a wrong Message-Id, and the [1/3] patch wwas missing) Martin Ayotte (3): add

[linux-sunxi] [PATCH v4 1/3] dts: sun8i-h3: add uart1/uart2/uart3 pins definitions

2016-05-05 Thread Martin Ayotte
dts: sun8i-h3: add uart1/uart2/uart3 pins definitions Signed-off-by: Martin Ayotte --- arch/arm/boot/dts/sun8i-h3.dtsi | 21 + 1 file changed, 21 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-h3.dtsi b/arch/arm/boot/dts/sun8i-h3.dtsi index

[linux-sunxi] Re: [PATCH v3 5/5] ARM: dts: axp209: Enable usb_power_supply by default

2016-05-05 Thread Michael Haas
Hi Hans, On 05/05/2016 12:39 PM, Hans de Goede wrote: > Hi, > > On 05-05-16 12:35, Michael Haas wrote: >> This node should be enabled by default. A device is likely to have an >> USB power >> connection. If USB power is indeed absent, the USB power driver >> will simply report the power input as

[linux-sunxi] Re: [PATCH v3 4/5] ARM: dts: axp209: Add ac_power_supply child node to the ax209 node

2016-05-05 Thread Hans de Goede
Hi, On 05-05-16 12:35, Michael Haas wrote: Add a node representing the ac power supply part of the axp209 pmic. This node is enabled by default. A device is likely to have an AC power connection. If the AC power is indeed absent, the ac power driver will simply report the power input as

[linux-sunxi] Re: [PATCH v3 5/5] ARM: dts: axp209: Enable usb_power_supply by default

2016-05-05 Thread Hans de Goede
Hi, On 05-05-16 12:35, Michael Haas wrote: This node should be enabled by default. A device is likely to have an USB power connection. If USB power is indeed absent, the USB power driver will simply report the power input as offline. Nack, as Maxime already said we do not want to enable any

[linux-sunxi] [PATCH v3 3/5] ARM: dts: Add binding documentation for AXP20x pmic ac power supply

2016-05-05 Thread Michael Haas
Add binding documentation for the ac power supply part of the AXP20x pmic. Signed-off-by: Michael Haas --- .../bindings/power_supply/axp20x_ac_power.txt | 17 + 1 file changed, 17 insertions(+) create mode 100644

[linux-sunxi] [PATCH v3 0/6] Add axp20x-ac power driver

2016-05-05 Thread Michael Haas
This version of the axp20x-ac driver hopefully cleans up all issues found in version 1. I have enabled the AC and USB power supply drivers in axp209.dtsi as suggested by Maxime Ripard and Chen-Yu Tsai Changes in v3: * Move register definitions back from MFD header to driver itself * Globally

[linux-sunxi] [PATCH v3 4/5] ARM: dts: axp209: Add ac_power_supply child node to the ax209 node

2016-05-05 Thread Michael Haas
Add a node representing the ac power supply part of the axp209 pmic. This node is enabled by default. A device is likely to have an AC power connection. If the AC power is indeed absent, the ac power driver will simply report the power input as offline. Signed-off-by: Michael Haas

[linux-sunxi] [PATCH v3 2/5] mfd: axp20x: Add a cell for the ac power_supply part of the axp20x PMICs

2016-05-05 Thread Michael Haas
As a counterpart to the usb power_supply cell, this commit adds an AC power_supply cell to the axp20x driver. Still missing are the RTC backup battery and the main battery charger cells. Signed-off-by: Michael Haas --- drivers/mfd/axp20x.c | 11 +++ 1 file

[linux-sunxi] [PATCH v3 5/5] ARM: dts: axp209: Enable usb_power_supply by default

2016-05-05 Thread Michael Haas
This node should be enabled by default. A device is likely to have an USB power connection. If USB power is indeed absent, the USB power driver will simply report the power input as offline. Signed-off-by: Michael Haas --- arch/arm/boot/dts/axp209.dtsi | 2 +- 1 file

[linux-sunxi] [PATCHv4] ARM: dts: sunxi: Add a olinuxino-lime2-emmc

2016-05-05 Thread Olliver Schinagl
There are 3 kinds of OLinuXino Lime2 boards. One without any on board storage, one with NAND storage and one with eMMC storage. This patch adds the eMMC variant of boards. eMMC storage is different from a regular SD card in that it is soldered on the board and cannot be changed. Additionally, it

[linux-sunxi] Re: [PATCH sunxi-tools 0/5] Add continuous integration support (Travis CI), fix Mac OS X build

2016-05-05 Thread Bernhard Nortmann
FYI: After merging https://github.com/linux-sunxi/sunxi-tools/pull/40 and some additional work, we now have Travis CI doing checks on builds and pull requests - for both Linux and Mac OS X. See e.g. https://travis-ci.org/linux-sunxi/sunxi-tools/builds/127986205 Regards, B. Nortmann -- You

[linux-sunxi] Re: [PATCH 1/1] ARM: dts: sunxi: Add a olinuxino-lime2-emmc

2016-05-05 Thread Olliver Schinagl
Hey Christo, On 04-05-16 21:40, Christo Radev wrote: Hi Oliver, I start performance tests for eMMC, SD/MMC, USB, SATA SSD devices and will post the result when ready. As a beginning I can say that eMMC is accessed via 4-bit bus without matter of the patch used. There you are the content of