sunxi-disp: restore 192 as default brightness
mach-sunxi: cpu-freq: fix kernel panic

Result of regulator_get() call is not checked properly against error causing
kernel to panic:

[...]
[    2.010000] Unable to handle kernel paging request at virtual address fffffe2b
[    2.010000] pgd = c0004000
[    2.020000] [fffffe2b] *pgd=6f7fe821, *pte=00000000, *ppte=00000000
[    2.020000] Internal error: Oops: 17 [#1] PREEMPT ARM
[    2.020000] Modules linked in:
[    2.020000] CPU: 0    Not tainted  (3.6.0-rc6+ #50)
[    2.020000] PC is at regulator_get_voltage+0xc/0x3c
[    2.020000] LR is at sun4i_cpufreq_initcall+0xd0/0x12c
[...]

Signed-off-by: Aliaksei Katovich <aliaksei.katovich@gmail.com>
sun5i: remove CONFIG_SUN5I_FPGA
sun5i: copy SUNXI_IGNORE_ATAG_MEM logic from sun4i
sun5i: don't reserve memory for mali if it's not enabled
sun5i: reserve fb and ve memory of if the modules are enabled
net: sun4i-wemac: Based on dm9000 driver, remove delays and improve nic.
net: sun4i-wemac: fix race in wemac_rx() correctly

thanks hno
wemac: Back out incorrect dm9000 register references
video: sunxi-disp: reserve memory for FB only when MALI is enabled

The driver is expected to allocate it's own memory if this option is disabled
video: sunxi: move config options to it's own Kconfig

only relevant for 3.0 because of the mess with .config compatibility
video: sunxi-disp: Removed couple magic numbers. Should also free some memory
drivers: make dependency of axp_power/* on INPUT explicit
power: axp: turn `select` INPUT into a `depends on`
sunxi: clock: guard against missing event handler

If we kexec the kernel, we are more likely to get an IRQ handle
request without a valid handler pointer set up. Make sure the
pointer is valid before running it.

This happens just one time on kexec boot, so use likely to hint
the compiler adequately.

arch/arm/mach-msm/timer.c takes the same approach.

Signed-off-by: Emilio López <turl@linux-sunxi.org>
arm: configs: sun5i nuclear (android devkit) defconfigs

imported from A13-SDK
touchscreen: import fixes from A13-SDK
touchscreen: gt818: import driver from A13-SDK
net: wemac driver style cleanup

This commit cleans up most of the wemac driver style issues,
including but not limited to C99-style comments and incorrect
spacing between operators. scripts/checkpatch.pl -f was used
to check for errors.

There are some remaining issues, mainly too long lines, but
I feel they would be better handled on a separate patch.

Signed-off-by: Emilio López <turl@linux-sunxi.org>
sunxi: clock: fix sata problem

Based on the previous patch, i have work around a version of the patch with
the A10 User Manual v1.2.

I don't know why they have previously put PLL6 to 1.2Ghz with sourcing the
apb1 to hosc.
Seems from the document it should be simply sourced to the PLL6 when set to
1.2Ghz.

This patch propagate the clock change to all IC versions like the previous
cubieteam patch and it is far more cleaner like that.
It's following the specs from the document.
Still don't know why this mess around the IC VersC / PLL4 and why not
simply let it on and keep the whole code more straightforward.

For the cedar patch, i'm using it in my test but it's around PLL4 so it
should have no link with the sata problem i think.
I should definitvely be tested on a mele a2000 with an active mali driver
to validate it. Not my case here.

This patch is working on mine. Seems finaly more a sub PLL6 clock (PLL6M)
to be the reason of the sata problem.