[linux-sunxi] Re: [PATCH 3/3] net: allwinner: sun4i-emac: fix emac SRAM mapping

2015-01-27 Thread Maxime Ripard
Hi, On Mon, Jan 26, 2015 at 03:34:49PM +0100, Jens Kuske wrote: Hi, On 25/01/15 17:25, Maxime Ripard wrote: Hi Jens, On Sun, Jan 25, 2015 at 04:49:19PM +0100, Jens Kuske wrote: The EMAC needs SRAM block A3_A4 being mapped to EMAC peripheral to work. This is done by the bootloader most

[linux-sunxi] [PATCH v3 08/10] ARM: dts: sun9i: Enable USB support on A80 Optimus board

2015-01-27 Thread Chen-Yu Tsai
Signed-off-by: Chen-Yu Tsai w...@csie.org --- arch/arm/boot/dts/sun9i-a80-optimus.dts | 60 + 1 file changed, 60 insertions(+) diff --git a/arch/arm/boot/dts/sun9i-a80-optimus.dts b/arch/arm/boot/dts/sun9i-a80-optimus.dts index c4de9cb9a5f6..16d30bb3a872 100644

[linux-sunxi] [PATCH v3 07/10] ARM: dts: sunxi: Add usb3_vbus regulator to common regulators dtsi

2015-01-27 Thread Chen-Yu Tsai
Some SoCs have a total of 4 possible USB controllers. One such example is the A80, which has one USB3 dual role device and 3 EHCI/OHCI pairs. Add a common VBUS regulator for the last host controller. Signed-off-by: Chen-Yu Tsai w...@csie.org --- arch/arm/boot/dts/sunxi-common-regulators.dtsi |

[linux-sunxi] [PATCH v3 04/10] phy: Add driver to support individual USB PHYs on sun9i

2015-01-27 Thread Chen-Yu Tsai
Unlike previous Allwinner SoCs, there is no central PHY control block on the A80. Also, OTG support is completely split off into a different controller. This adds a new driver to support the regular USB PHYs. Signed-off-by: Chen-Yu Tsai w...@csie.org ---

[linux-sunxi] [PATCH v3 02/10] clk: sunxi: Add support for sun9i A80 USB clocks and resets

2015-01-27 Thread Chen-Yu Tsai
The USB controller/phy clocks and reset controls are in a separate address block, unlike previous SoCs where they were in the clock controller. Also, access to the address block is controlled by a clock gate to AHB. Add support for resets requiring a clock to be enabled when asserting/deasserting

[linux-sunxi] [PATCH v3 01/10] clk: sunxi: Move USB clocks to separate file

2015-01-27 Thread Chen-Yu Tsai
The USB clocks originally shared code with the gates clocks, but had additional reset controllers. Move these to a separate file. This will allow us to add new support for slightly different USB clocks, such as on the A80, without affecting gates clocks, and also facilitate the migration of gates

[linux-sunxi] [PATCH v3 03/10] ARM: dts: sun9i: Add usb clock nodes to a80 dtsi

2015-01-27 Thread Chen-Yu Tsai
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 w...@csie.org --- arch/arm/boot/dts/sun9i-a80.dtsi | 22 ++ 1 file changed, 22 insertions(+) diff --git

[linux-sunxi] [PATCH v3 10/10] ARM: multi_v7_defconfig: Enable CONFIG_PHY_SUN9I_USB

2015-01-27 Thread Chen-Yu Tsai
On sun9i we have a new PHY driver for USB. Signed-off-by: Chen-Yu Tsai w...@csie.org --- arch/arm/configs/multi_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig index eec304487e6d..63fcc5522393 100644 ---

[linux-sunxi] [PATCH v3 09/10] ARM: sunxi_defconfig: Enable CONFIG_PHY_SUN9I_USB

2015-01-27 Thread Chen-Yu Tsai
On sun9i we have a new PHY driver for USB. Signed-off-by: Chen-Yu Tsai w...@csie.org --- arch/arm/configs/sunxi_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/sunxi_defconfig b/arch/arm/configs/sunxi_defconfig index 38840a812924..6b271645eb43 100644 ---

[linux-sunxi] [PATCH v3 00/10] ARM: sun9i: Add USB host controller support for A80

2015-01-27 Thread Chen-Yu Tsai
Hi everyone, This is v3 of the sun9i A80 USB host support series. This series adds USB host controller (EHCI/OHCI) support for the Allwinner A80 SoC. The A80 has 3 pairs of host controllers and USB PHYs. The PHYs, unlike in previous SoCs, do not have low level control registers anymore. As

[linux-sunxi] [PATCH v3 05/10] ARM: dts: sun9i: Add usb phy nodes to a80 dtsi

2015-01-27 Thread Chen-Yu Tsai
On sun9i, there are 3 independent usb phys for EHCI/OHCI. Add device nodes for them. Signed-off-by: Chen-Yu Tsai w...@csie.org --- arch/arm/boot/dts/sun9i-a80.dtsi | 37 + 1 file changed, 37 insertions(+) diff --git a/arch/arm/boot/dts/sun9i-a80.dtsi

[linux-sunxi] Re: [PATCH] ARM: dts: sun7i: Add dts file for pcDuino 3 Nano board

2015-01-27 Thread Adam Sampson
On Tue, Jan 27, 2015 at 06:00:35PM +0100, Maxime Ripard wrote: How about pcduino3-nano:green:usr-led3/4? Or ...:usr1/2, and a comment in the .dts explaining how they're labelled on the board? The latter looks better yes. tx and rx would do too, if you know what tx and what rx we're talking

Re: [linux-sunxi] Re: [PATCH] arm: sunxi: input: RFC: Add sysfs voltage for sun4i-lradc driver

2015-01-27 Thread Dmitry Torokhov
On Tue, Jan 27, 2015 at 11:49:49AM +0200, Priit Laes wrote: On Tue, 2015-01-27 at 10:18 +0100, Maxime Ripard wrote: Hi, On Mon, Jan 26, 2015 at 06:58:32PM +0200, Priit Laes wrote: --- Like Hans was pointing out, commit log and signed-off-by please

Re: [linux-sunxi] Re: [PATCH] arm: sunxi: input: RFC: Add sysfs voltage for sun4i-lradc driver

2015-01-27 Thread Maxime Ripard
On Tue, Jan 27, 2015 at 11:49:49AM +0200, Priit Laes wrote: On Tue, 2015-01-27 at 10:18 +0100, Maxime Ripard wrote: Hi, On Mon, Jan 26, 2015 at 06:58:32PM +0200, Priit Laes wrote: --- Like Hans was pointing out, commit log and signed-off-by please

Re: [linux-sunxi] Re: [PATCH] arm: sunxi: input: RFC: Add sysfs voltage for sun4i-lradc driver

2015-01-27 Thread Maxime Ripard
On Tue, Jan 27, 2015 at 11:52:34AM +0100, Hans de Goede wrote: Hi, On 27-01-15 10:49, Priit Laes wrote: On Tue, 2015-01-27 at 10:18 +0100, Maxime Ripard wrote: Hi, On Mon, Jan 26, 2015 at 06:58:32PM +0200, Priit Laes wrote: --- Like Hans was pointing out, commit log and

[linux-sunxi] Re: [PATCH] arm: sunxi: input: RFC: Add sysfs voltage for sun4i-lradc driver

2015-01-27 Thread Dmitry Torokhov
On Tue, Jan 27, 2015 at 10:03:35AM +0100, Hans de Goede wrote: Hi, On 26-01-15 23:06, Dmitry Torokhov wrote: On Mon, Jan 26, 2015 at 08:28:29PM +0100, Hans de Goede wrote: Hi, On 26-01-15 17:58, Priit Laes wrote: No commit message? Please write an informative commit msg, like why we

[linux-sunxi] Re: [PATCH v5 2/4] ARM:sunxi:drivers:input Add support for A10/A20 PS2

2015-01-27 Thread Dmitry Torokhov
Hi Vishnu, On Sun, Jan 25, 2015 at 07:10:07PM +0530, Vishnu Patekar wrote: Signed-off-by: VishnuPatekar vishnupatekar0...@gmail.com --- drivers/input/serio/Kconfig | 11 ++ drivers/input/serio/Makefile|1 + drivers/input/serio/sun4i-ps2.c | 347

[linux-sunxi] Re: [PATCH] arm: sunxi: input: RFC: Add sysfs voltage for sun4i-lradc driver

2015-01-27 Thread Hans de Goede
Hi, On 26-01-15 23:06, Dmitry Torokhov wrote: On Mon, Jan 26, 2015 at 08:28:29PM +0100, Hans de Goede wrote: Hi, On 26-01-15 17:58, Priit Laes wrote: No commit message? Please write an informative commit msg, like why we want this patch, I guess it is to help figuring out the voltage levels

Re: [linux-sunxi] Re: [PATCH] arm: sunxi: input: RFC: Add sysfs voltage for sun4i-lradc driver

2015-01-27 Thread Priit Laes
On Tue, 2015-01-27 at 10:18 +0100, Maxime Ripard wrote: Hi, On Mon, Jan 26, 2015 at 06:58:32PM +0200, Priit Laes wrote: --- Like Hans was pointing out, commit log and signed-off-by please .../ABI/testing/sysfs-driver-input-sun4i-lradc | 4 ++

Re: [linux-sunxi] [RFC 0/8] Assorted mainline patches

2015-01-27 Thread Michal Suchanek
On 27 January 2015 at 09:19, Maxime Ripard maxime.rip...@free-electrons.com wrote: Hi, On Tue, Jan 27, 2015 at 12:50:09AM +0100, Michal Suchanek wrote: Hello, some of these patches are rotting here for a while already. The first four are not really dependent on sunxi code but 2 and 4 will

Re: [linux-sunxi] [RFC 0/8] Assorted mainline patches

2015-01-27 Thread Maxime Ripard
Hi, On Tue, Jan 27, 2015 at 12:50:09AM +0100, Michal Suchanek wrote: Hello, some of these patches are rotting here for a while already. The first four are not really dependent on sunxi code but 2 and 4 will only appy on sunxi tree. There is warning fix for hynix code which is probably

[linux-sunxi] Re: [PATCH] arm: sunxi: input: RFC: Add sysfs voltage for sun4i-lradc driver

2015-01-27 Thread Maxime Ripard
Hi, On Mon, Jan 26, 2015 at 06:58:32PM +0200, Priit Laes wrote: --- Like Hans was pointing out, commit log and signed-off-by please .../ABI/testing/sysfs-driver-input-sun4i-lradc | 4 ++ drivers/input/keyboard/sun4i-lradc-keys.c | 49 +- 2 files changed,

Re: [linux-sunxi] Re: [PATCH] arm: sunxi: input: RFC: Add sysfs voltage for sun4i-lradc driver

2015-01-27 Thread Dmitry Torokhov
On Tue, Jan 27, 2015 at 08:44:47PM +0100, Maxime Ripard wrote: On Tue, Jan 27, 2015 at 11:52:34AM +0100, Hans de Goede wrote: Hi, On 27-01-15 10:49, Priit Laes wrote: On Tue, 2015-01-27 at 10:18 +0100, Maxime Ripard wrote: Hi, On Mon, Jan 26, 2015 at 06:58:32PM +0200, Priit

[linux-sunxi] Re: [PATCH v3] ARM: dts: sun4i: Add initial dts for Gemei G9 tablet

2015-01-27 Thread Maxime Ripard
On Mon, Jan 26, 2015 at 08:00:06PM +0200, Priit Laes wrote: 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

Re: [linux-sunxi] OV2643 Camera on A20

2015-01-27 Thread George Ioakimedes
Actually I did luck out. I tried almost everything to get things working but in the end it was actually people from AW-SOM that had done the work. Their repo is at https://src.aw-som.com/git/awsom/linux-sunxi/tree/awsom-3.4/drivers/media/video/sunxi_csi And what I did was copy their work and paste

Re: [linux-sunxi] [RFC 0/8] Assorted mainline patches

2015-01-27 Thread Maxime Ripard
On Tue, Jan 27, 2015 at 11:09:09AM +0100, Michal Suchanek wrote: On 27 January 2015 at 09:19, Maxime Ripard maxime.rip...@free-electrons.com wrote: Hi, On Tue, Jan 27, 2015 at 12:50:09AM +0100, Michal Suchanek wrote: Hello, some of these patches are rotting here for a while already.

Re: [linux-sunxi] Re: [PATCH] arm: sunxi: input: RFC: Add sysfs voltage for sun4i-lradc driver

2015-01-27 Thread Hans de Goede
Hi, On 27-01-15 10:49, Priit Laes wrote: On Tue, 2015-01-27 at 10:18 +0100, Maxime Ripard wrote: Hi, On Mon, Jan 26, 2015 at 06:58:32PM +0200, Priit Laes wrote: --- Like Hans was pointing out, commit log and signed-off-by please .../ABI/testing/sysfs-driver-input-sun4i-lradc | 4

Re: [linux-sunxi] Sunxi FOSDEM2015 Dinner!

2015-01-27 Thread Irgendeiner
Am 21.01.2015, 22:01 Uhr, schrieb Karsten Merker mer...@debian.org: On Wed, Jan 21, 2015 at 09:14:03PM +0100, Benjamin Henrion wrote: [sunxi dinner @FOSDEM] I have booked 22 seats, same place as last year at 8pm sharp. Hello, which place is that? (I have not been there last year) I need

Re: [linux-sunxi] Sunxi FOSDEM2015 Dinner!

2015-01-27 Thread Simos Xenitellis
On Mon, Jan 26, 2015 at 3:33 PM, Benjamin Henrion zoo...@gmail.com wrote: On Mon, Jan 26, 2015 at 1:23 PM, Simos Xenitellis simos.li...@googlemail.com wrote: On Fri, Jan 23, 2015 at 9:37 PM, Benjamin Henrion zoo...@gmail.com wrote: On Wed, Jan 21, 2015 at 10:46 PM, Benjamin Henrion

[linux-sunxi] Re: [PATCH] ARM: dts: sun7i: Add dts file for pcDuino 3 Nano board

2015-01-27 Thread Maxime Ripard
On Mon, Jan 26, 2015 at 01:59:31PM +, Adam Sampson wrote: Hi Maxime, On Mon, Jan 26, 2015 at 11:09:21AM +0100, Maxime Ripard wrote: If you read Documentation/leds/leds-class.txt, the pattern to follow is: devicename:colour:function so it should rather be pcduino3-nano:green:usr1 and