axp209: Fix interrupts on sun7i

The A20 has some extra control registers for the external NMI interrupt
pin, adding the need to be enable and clear it explictly on sun7i.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
sunxi-spdif: fix spdif issue for sun7i platform

The problem is that we have not request SP/DIF pin resource

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
sunxi: Fix reboot not working on sun5i

Replace our current watchdog based system reset code with code from the
allwinner sun7i 3.3 sources. This fixes reboot hanging once every 2 attempts
on sun5i (tested on A13 and various A10s based boards). Also tested on A10
and A20 based boards to avoid causing a reboot regression there.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
sun7i_defconfig: Build in i2c driver, otherwise the cpu voltage scaling won't work

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
ARM: sunxi: sound-codec, add more controls + extend sun7i controls

There where some mixer elements missing and sun7i lacked a lot of
controls. This patch tries to add more 'switches' (mute) and adds more
controls to sun7i generally.

Signed-off-by: Oliver Schinagl <oliver@schinagl.nl>
sun4i/sun7i combined cedarx driver

Modify sun4i cedarx driver to work on sun7i as well
Only tested a few video files on A10 and A20 Cubieboards

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
sunxi-hdmi: Add 1366x768 mode

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Enable the internal thermal monitoring support of AXP20X chips

Hello

The previous patch never detect the enabling of thermal monitoring, this one solve this problem.
Sorry for the resent.

Bests regards

Signed-off-by: LABBE Corentin <clabbe.montjoie@gmail.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
sunxi-code: Rename Line Volume capture control

So that it does not have the same name as the playback control, if the 2
have the same name this causes the following errors:

[    0.702160] ALSA control.c:347 control 2:0:0:Line Volume:0 is already present
[    0.709430] sunxi-codec: probe of sunxi-codec failed with error -16

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
wdt: allow sun7i build

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
gmac: add gmac support

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
rtc: enable rtc charge

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
sunxi-rtc: Be silent if there is no pmu_backupen setting in the fex file

All fex files are missing this except for the cubietruck one.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>