[linux-sunxi] Re: [PATCH] reset: Add of_reset_control_get to reset.h

2014-04-14 Thread Philipp Zabel
Am Sonntag, den 13.04.2014, 14:09 +0200 schrieb Hans de Goede: of_reset_control_get is not declared static in drivers/reset/core.c, which is correct as we want to use it elsewhere too. But it does not have a protype declared anywhere under include/linux. Add a prototype / stub for it to

[linux-sunxi] Re: [PATCH v4 7/9] ARM: sun7i/sun4i: dt: Add AXP209 support to various boards

2014-04-14 Thread Maxime Ripard
Hi Carlo, On Fri, Apr 11, 2014 at 11:38:11AM +0200, Carlo Caione wrote: Signed-off-by: Hans de Goede hdego...@redhat.com Signed-off-by: Carlo Caione ca...@caione.org --- In all the DTs the min and max microvolt allowed for each regulator are actually the min and max voltage possible for

[linux-sunxi] Re: [PATCH 0/4] ARM: sunxi: dt: Misc. fixes

2014-04-14 Thread Maxime Ripard
Hi, On Sun, Apr 13, 2014 at 01:41:01PM +0200, Hans de Goede wrote: Hi Maxime, Here is are 4 misc. dts fixes for sunxi. Regards, Hans Applied all of them to sunxi/dt-for-3.16. Thanks! Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering

Re: [linux-sunxi] Re: [PATCH v4 7/9] ARM: sun7i/sun4i: dt: Add AXP209 support to various boards

2014-04-14 Thread Hans de Goede
Hi, On 04/14/2014 12:02 PM, Carlo Caione wrote: On Mon, Apr 14, 2014 at 11:52 AM, Maxime Ripard maxime.rip...@free-electrons.com wrote: Hi Carlo, Hi Maxime, On Fri, Apr 11, 2014 at 11:38:11AM +0200, Carlo Caione wrote: Signed-off-by: Hans de Goede hdego...@redhat.com Signed-off-by:

Re: [linux-sunxi] Re: [PATCH v4 7/9] ARM: sun7i/sun4i: dt: Add AXP209 support to various boards

2014-04-14 Thread Mark Brown
On Mon, Apr 14, 2014 at 12:20:32PM +0200, Hans de Goede wrote: Please fix your mailer to word wrap at less than 80 columns. As Mark has also mentioned we should probably pin the regulators to a certain voltage, except for those which we expect to be controlled by a driver, so basically all of

[linux-sunxi] Olimex A20 board now hangs on boot.

2014-04-14 Thread Dennis Kerrisk
My Olimex A20 board is now locking up on boot. It gets so far and just Hangs. Here is where it hangs at: [sw-ehci1]: open clock [3.187148] [sw-ehci1]: open clock [sw-ehci1]: Set USB Power ON [3.213155] [sw-ehci1]: Set USB Power ON 6sw-eh Does anyone have any ideas what my problem is?

[linux-sunxi] Re: Olimex A20 board now hangs on boot.

2014-04-14 Thread TsvetanUsunov
this usually happens when your power supply is not enough what you have connected to USB? do you have big LCD attached to LCD connector without external power supply connected to it? Tsvetan 14 април 2014, понеделник, 15:37:11 UTC+3, Dennis Kerrisk написа: My Olimex A20 board is now locking

[linux-sunxi] Re: Olimex A20 board now hangs on boot.

2014-04-14 Thread Dennis Kerrisk
There is only a USB to I2S converter connected to the USB. And it does the same thing with it removed. Dennis On Monday, April 14, 2014 6:52:54 AM UTC-6, TsvetanUsunov wrote: this usually happens when your power supply is not enough what you have connected to USB? do you have big LCD

[linux-sunxi] [RFC PATCH v2] regmap: smbus: add support for regmap over SMBus

2014-04-14 Thread Boris BREZILLON
SMBus is a subset of the I2C protocol, oftenly used to access registers on external devices. I2C adapters are able to access SMBus devices thanks to the SMBus emulation layer. In the other hand SMBus adapters may not provide regular I2C transfers, and thus you may not be able to expose a regmap

[linux-sunxi] Re: Olimex A20 board now hangs on boot.

2014-04-14 Thread Dennis Kerrisk
Thanks. I upgraded my power suply and it works now!! Dennis On Monday, April 14, 2014 6:58:33 AM UTC-6, Dennis Kerrisk wrote: There is only a USB to I2S converter connected to the USB. And it does the same thing with it removed. Dennis On Monday, April 14, 2014 6:52:54 AM UTC-6,

Re: [linux-sunxi] [PATCH] sunxi: avoid sr32 for APB1 clock setup.

2014-04-14 Thread Hans de Goede
Hi, On 04/13/2014 09:56 PM, Ian Campbell wrote: In some cases we are setting all of the defined bits of the configuration register, so there is no need for a read/modify/write via either sr32 or clrsetbits, just write the value we need. Tested on Cubietruck (sun7i) and compile tested only

[linux-sunxi] Re: brcmfmac device tree support

2014-04-14 Thread Hans de Goede
Hi Arend, On 04/11/2014 12:31 PM, Arend van Spriel wrote: Hi Hans, I have put some effort in adding device tree support in brcmfmac. Unfortunately, I had no luck getting MMC up and running on pandaboard extension header. So no way to test the patches. Would/could you be willing to do

[linux-sunxi] sunxi-devel branch updated to 3.15-rc1

2014-04-14 Thread Hans de Goede
Hi All, I've just updated: https://github.com/linux-sunxi/linux-sunxi/commits/sunxi-devel to 3.15-rc1 This means that a whole lot of patches have been dropped as they have all been merged, hurray! The big next item on the to get merged list is the mmc code. Note for this to work with more then

Re: Re[2]: [linux-sunxi] Re: sun7i_tvd and cubietruck A20

2014-04-14 Thread Rosimildo DaSilva
Hi there, I am wondering if these is any progress on this. I've got a NTSC Security Camera around, and I am thinking of hooking it up to tvin line, using a 75 ohms resistor to ground. It would be nice if we had more info on the manual or even a working driver. R On Monday, January 27,

Re: [linux-sunxi] sunxi-devel branch updated to 3.15-rc1

2014-04-14 Thread Clement Wong
Hi Hans, Can A10/20 runs on mainline without hacks now? What's works and what doesn't? Cheers, Clement On Apr 14, 2014, at 5:23 PM, Hans de Goede hdego...@redhat.com wrote: Hi All, I've just updated: https://github.com/linux-sunxi/linux-sunxi/commits/sunxi-devel to 3.15-rc1 This

[linux-sunxi] Re: sunxi-devel branch updated to 3.15-rc1

2014-04-14 Thread Stefan Monnier
Can A10/20 runs on mainline without hacks now? What's works and what doesn't? Try https://duckduckgo.com/?q=sunxi+mainling+effort Apparently, if you use the bleeding edge on mainline (i.e. unreleased 3.15 rather than 3.14) you should get the following to work: - SATA - USB - Ethernet No SD, no

[linux-sunxi] [PATCH] sunxi: remove magic numbers from clock_get_pll{5,6}

2014-04-14 Thread Ian Campbell
For clock_get_pll5 just remove it since it is unused. For clock_get_pll6 introduce the necessary #defines. Signed-off-by: Ian Campbell i...@hellion.org.uk --- arch/arm/cpu/armv7/sunxi/clock.c | 18 ++ arch/arm/include/asm/arch-sunxi/clock_sun4i.h | 5 +

[linux-sunxi] cpufreq support

2014-04-14 Thread Stefan Monnier
The wiki page http://linux-sunxi.org/Linux_mainlining_effort doesn't talk about cpufreq support, so I somehow assumed this support for inherited from general ARM CPU support (for A8, A7, ...), but my sunxi-devel build doesn't seem to have cpufreq support. I don't even know where to look to find

[linux-sunxi] Re: [RFC PATCH v2] regmap: smbus: add support for regmap over SMBus

2014-04-14 Thread Mark Brown
On Mon, Apr 14, 2014 at 03:08:05PM +0200, Boris BREZILLON wrote: SMBus is a subset of the I2C protocol, oftenly used to access registers on external devices. This is basically fine. However... + switch (ctx-transfer_type) { + case REGMAP_SMBUS_BYTE_TRANSFER: + while

Re: [linux-sunxi] cpufreq support

2014-04-14 Thread Emilio López
Hi Stefan, El 14/04/14 18:00, Stefan Monnier escribió: The wiki page http://linux-sunxi.org/Linux_mainlining_effort doesn't talk about cpufreq support, so I somehow assumed this support for inherited from general ARM CPU support (for A8, A7, ...), but my sunxi-devel build doesn't seem to have

Re: [linux-sunxi] Various Hardware acceleration question

2014-04-14 Thread Corentin LABBE
Le 12/04/2014 06:25, zerat...@gmail.com a écrit : Hi, I would like to know if, for an Olimex A20, there is some specific hardware acceleration : - jpeg decoding acceleration - hash acceleration (such as sha1 or md5) And if yes, does it need some manual configuration or specific