[linux-sunxi] Re: [PATCH v2] pinctrl: sunxi: Honor GPIO output initial vaules

2014-01-16 Thread Maxime Ripard
On Thu, Jan 16, 2014 at 02:34:23PM +0800, Chen-Yu Tsai wrote: Some GPIO users, such as fixed-regulator, request GPIO output with initial value of 1. This was ignored by sunxi driver. Signed-off-by: Chen-Yu Tsai w...@csie.org Acked-by: Maxime Ripard maxime.rip...@free-electrons.com Could you

[linux-sunxi] [PATCH RESEND v2] pinctrl: sunxi: Honor GPIO output initial vaules

2014-01-16 Thread Chen-Yu Tsai
Some GPIO users, such as fixed-regulator, request GPIO output with initial value of 1. This was ignored by sunxi driver. Signed-off-by: Chen-Yu Tsai w...@csie.org Acked-by: Maxime Ripard maxime.rip...@free-electrons.com Cc: sta...@vger.kernel.org --- Resend CCing stable. Changes since v2: *

Re: [linux-sunxi] Re: [PATCH] ARM: sunxi: Add driver for sunxi usb phy

2014-01-16 Thread Hans de Goede
Hi, On 01/16/2014 08:07 AM, Chen-Yu Tsai wrote: Hi Hans, On Wed, Jan 15, 2014 at 11:48 PM, Hans de Goede hdego...@redhat.com wrote: Hi, On 01/15/2014 04:00 PM, Kishon Vijay Abraham I wrote: On Wednesday 15 January 2014 04:28 AM, Hans de Goede wrote: [...] +static int

[linux-sunxi] Restore from dump

2014-01-16 Thread nikrou77
Hi all, I've got an allwinner A13 tablet : INET-86VZ-REV03 Zeng-gc 2013-07-08 (name found after open it). The tablet is an endless boot to recovery mode after installing CWM. My bad. :-( There's no more nand partitions. But I made backup before doing that stupid action. I saved all nand part

Re: [linux-sunxi] Ideas for enabling wifi module in Auxtek T004 hdmi tv stick

2014-01-16 Thread Luc Verhaegen
On Thu, Jan 16, 2014 at 02:15:55AM -0800, Daniel Mosquera wrote: Please can anybody guide me to make the wifi module in the Auxtek T004 hdmi tv stick? I've been able to get an Android dump (that is attached), and it seems it uses a bcm40181 wifi module.

[linux-sunxi] Re: A20 dram applied to A10

2014-01-16 Thread Stefan Monnier
http://en.wikipedia.org/wiki/CPU_power_dissipation says that the CPU power consumption is proportional to P = C * V^2 * f This equation is missing the leakage current, which does not depend on `f'. Stefan -- You received this message because you are subscribed to the Google

[linux-sunxi] [PATCH 4/4] ARM: sun6i: dt: Add SPI controllers to the A31 DTSI

2014-01-16 Thread Maxime Ripard
The A31 has 4 SPI controllers. Add them in the DTSI. Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com --- arch/arm/boot/dts/sun6i-a31.dtsi | 40 1 file changed, 40 insertions(+) diff --git a/arch/arm/boot/dts/sun6i-a31.dtsi

[linux-sunxi] [PATCH 3/4] spi: sunxi: Add Allwinner A31 SPI controller driver

2014-01-16 Thread Maxime Ripard
The Allwinner A31 has a new SPI controller IP compared to the older Allwinner SoCs. It supports DMA, but the driver only does PIO for now, and DMA will be supported eventually. Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com --- .../devicetree/bindings/spi/spi-sun6i.txt |

[linux-sunxi] [PATCH 2/4] ARM: sun6i: dt: Add PLL6 and SPI module clocks

2014-01-16 Thread Maxime Ripard
The module clocks in the A31 are still compatible with the A10 one. Add the SPI module clocks and the PLL6 in the device tree to allow their use by the SPI controllers. Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com --- arch/arm/boot/dts/sun6i-a31.dtsi | 48

[linux-sunxi] Re: [PATCH 3/4] spi: sunxi: Add Allwinner A31 SPI controller driver

2014-01-16 Thread Mark Brown
On Thu, Jan 16, 2014 at 06:11:24PM +0100, Maxime Ripard wrote: Looks pretty clean, a few fairly small things below. +- clocks: phandle to the clocks feeding the SPI controller. Two are + needed: + - ahb: the gated AHB parent clock + - mod: the parent module clock I guess you

Re: [linux-sunxi] Re: uboot for Mele M3 A20

2014-01-16 Thread Oliver Schinagl
On 01/16/14 21:09, Rajesh Mallah wrote: Hi , would anyone pls help. I need to make the box work on its own without the use of any external sdcard. Please note: I am trying to install the uboot on internal MMC there is no nand flash in my device. http://linux-sunxi.org/BSP start with that.

[linux-sunxi] A20 SDK 2.0

2014-01-16 Thread jonsm...@gmail.com
Is this 2.0 SDK available anywhere? http://www.allwinnertech.com/en/awt/news/2013-07-23.html The file here does not contain this SDK... http://dl.linux-sunxi.org/SDK/A20-SDK-2.0/ -- Jon Smirl jonsm...@gmail.com -- You received this message because you are subscribed to the Google Groups

[linux-sunxi] Re: A20 SDK 2.0

2014-01-16 Thread jonsm...@gmail.com
Tsvetan has SDK 1.2 http://dl.linux-sunxi.org/users/tsvetan/A20-SDK-V1.2/ Is there really a SDK 2.0? On Thu, Jan 16, 2014 at 9:15 PM, jonsm...@gmail.com jonsm...@gmail.com wrote: Is this 2.0 SDK available anywhere? http://www.allwinnertech.com/en/awt/news/2013-07-23.html The file here does

[linux-sunxi] Re: [PATCH v3 2/8] clk: sunxi: update clock-output-names dt binding documentation

2014-01-16 Thread Emilio López
Hi, El 09/01/14 05:52, Chen-Yu Tsai escribió: clock-output-names is now required for most of sunxi clock nodes, to provide the name of the corresponding clock. Add the new requirements, exceptions, as well as examples. Signed-off-by: Chen-Yu Tsai w...@csie.org ---

[linux-sunxi] Re: [PATCH v2 01/16] reset: add non CONFIG_RESET_CONTROLLER routines

2014-01-16 Thread Chen-Yu Tsai
Hi, On Fri, Jan 10, 2014 at 9:30 PM, Philipp Zabel p.za...@pengutronix.de wrote: Hi, [Added Ivan, Stephen and Barry to Cc:] Am Freitag, den 10.01.2014, 15:00 +0800 schrieb Chen-Yu Tsai: Some drivers are shared between platforms that may or may not have RESET_CONTROLLER selected for them.

Re: [linux-sunxi] Re: uboot for Mele M3 A20

2014-01-16 Thread Rajesh Mallah
Dear Oliver , Thanks for the patience detailed explanation. I will see to it and report back. regds mallah. -- You received this message because you are subscribed to the Google Groups linux-sunxi group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: [linux-sunxi] Restore from dump

2014-01-16 Thread Luc Verhaegen
On Thu, Jan 16, 2014 at 01:59:51AM -0800, nikro...@gmail.com wrote: Hi all, I've got an allwinner A13 tablet : INET-86VZ-REV03 Zeng-gc 2013-07-08 (name found after open it). The tablet is an endless boot to recovery mode after installing CWM. My bad. :-( There's no more nand partitions.

[linux-sunxi] [PATCH RFC 1/6] net: rfkill: gpio: fix gpio name buffer size off by 1

2014-01-16 Thread Chen-Yu Tsai
snprintf should be passed the complete size of the buffer, including the space for '\0'. The previous code resulted in the *_reset and *_shutdown strings being truncated. Signed-off-by: Chen-Yu Tsai w...@csie.org --- net/rfkill/rfkill-gpio.c | 4 ++-- 1 file changed, 2 insertions(+), 2

[linux-sunxi] [PATCH RFC 4/6] net: rfkill: gpio: add device tree support

2014-01-16 Thread Chen-Yu Tsai
Signed-off-by: Chen-Yu Tsai w...@csie.org --- .../devicetree/bindings/rfkill/rfkill-gpio.txt | 26 ++ net/rfkill/rfkill-gpio.c | 23 +++ 2 files changed, 49 insertions(+) create mode 100644

[linux-sunxi] [PATCH RFC 6/6] ARM: sun7i: cubietruck: enable bluetooth module

2014-01-16 Thread Chen-Yu Tsai
The CubieTruck has an AMPAK AP6210 WiFi+Bluetooth module. The Bluetooth part is a BCM20710 device connected to UART2 in the A20 SoC. The IC also requires a 32.768 KHz low power clock input for proper auto-detection of the main clock, and power enable and wake signals via GPIO. Signed-off-by:

[linux-sunxi] [PATCH RFC 2/6] net: rfkill: gpio: use clk_prepare_enable/clk_disable_unprepare

2014-01-16 Thread Chen-Yu Tsai
rfkill-gpio calls clk_enable() without first calling clk_prepare(), resulting in a warning and no effect. Switch to clk_prepare_enable() and clk_disable_unprepare. Signed-off-by: Chen-Yu Tsai w...@csie.org --- net/rfkill/rfkill-gpio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)

[linux-sunxi] Re: [PATCH v7 0/2] ohci and ehci-platform clks, phy and dt support

2014-01-16 Thread Florian Fainelli
Le mercredi 15 janvier 2014, 15:26:21 Alan Stern a écrit : On Wed, 15 Jan 2014, Hans de Goede wrote: Hi All, This version of my ohci and ehci-platform clks, phy and dt support patch-set, really fixes the 2 small bugs Alan found. All okay -- this time I can't find anything to complain

[linux-sunxi] Re: How to test wifi in A20.

2014-01-16 Thread Puneet B
Hi, While tracing problem i found below issue. i am getting error in log as: [4.780261] [dhd_module_init] get wl_host_wake gpio failed The code is from here:./ vim linux-sunxi/drivers/net/wireless/bcmdhd/dhd_linux.c +4396 if (gpio_request(WL_HOST_WAKE_DEF_GPIO, wl_host_wake)) {